/* ============================================================
   Auth Pages — Centered Box with Background
   ============================================================ */

.auth-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    background: linear-gradient(160deg, #0A0E17 0%, #1B3A6B 50%, #2A5298 100%);
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1619642751034-765dfdf7c58e?w=1600&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.auth-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(10,14,23,0.3) 0%, rgba(10,14,23,0.7) 100%);
}

/* === AUTH BOX === */
.auth-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 18px;
    padding: 3rem;
    box-shadow:
        0 25px 50px -12px rgba(0,0,0,0.25),
        0 0 0 1px rgba(255,255,255,0.05);
}


.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}
.auth-logo img {
    height: 64px;
    width: auto;
    max-width: 100%;
}

.auth-heading {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.auth-subheading {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 2rem;
    line-height: 1.5;
    text-align: center;
}

/* Form styling */
.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form .form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 0.4rem;
    color: #374151;
}

.auth-form .form-control {
    width: 100%;
    padding: 0.7rem 0;
    border: none;
    border-bottom: 1.5px solid #E5E7EB;
    border-radius: 0;
    font-size: 0.92rem;
    font-family: inherit;
    color: #1F2937;
    background: transparent;
    transition: border-color 0.2s ease;
    outline: none;
}

.auth-form .form-control:focus {
    border-color: #1B3A6B;
    background: transparent;
    box-shadow: none;
}

.auth-form .form-control::placeholder {
    color: #9CA3AF;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.auth-form .form-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1d4ed8;
    margin-top: 1.25rem;
    margin-bottom: 0.25rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #e5e7eb;
}

.auth-form .btn-primary {
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 0.5rem;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
}

.auth-form .btn-primary:hover {
    box-shadow: 0 4px 12px rgba(27,58,107,0.35);
    transform: translateY(-1px);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #9CA3AF;
    font-size: 0.82rem;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E5E7EB;
}
.auth-divider span {
    padding: 0 1rem;
}

.auth-link {
    text-align: center;
    font-size: 0.88rem;
    color: #6B7280;
    margin-top: 1.75rem;
}
.auth-link a {
    color: #1B3A6B;
    font-weight: 600;
    transition: all 0.2s;
}
.auth-link a:hover {
    color: #3B82F6;
    text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 480px) {
    .auth-wrapper {
        padding: 1rem;
    }
    .auth-box {
        padding: 2rem 1.5rem;
        border-radius: 14px;
    }
    .auth-form .form-row {
        grid-template-columns: 1fr;
    }
}
