:root {
    --primary: #059669;
    --primary-dark: #047857;
    --bg: #f0fdf4;
    --line: #e5e7eb;
    --ink: #0f172a;
    --muted: #6b7280;
}
.auth-shell {
    max-width: 880px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.auth-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.grid {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 992px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
}
.side {
    display: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 2rem;
    align-items: center;
    justify-content: center;
}
@media (min-width: 992px) {
    .side {
        display: flex;
    }
}
.side h3 {
    color: #fff;
    font-weight: 900;
}
.form {
    padding: clamp(1.25rem, 3vw, 2rem);
}
.h1 {
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 0.25rem;
}
.sub {
    color: var(--muted);
    margin-bottom: 1rem;
}
.form-floating {
    margin-bottom: 1rem;
}
.form-control {
    border: 2px solid var(--line);
    border-radius: 12px;
    padding: 1rem;
    height: calc(3.2rem + 2px);
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(5, 150, 105, 0.15);
}
.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.25rem 0 1rem;
}
.btn-brand {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: 0;
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    font-weight: 800;
    color: #fff;
}
.btn-brand:hover {
    filter: brightness(1.02);
}
.link {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}
.link:hover {
    text-decoration: underline;
}
.btn-loading .btn-text {
    visibility: hidden;
}
.btn-loading .spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.small-muted {
    color: var(--muted);
    font-size: 0.92rem;
}
