/* =========================================================
   LUX EMPIRE — AUTH FORMS (login.php, register_landlord.php, register_driver.php)
   SAVE AT: assets/css/auth-forms.css
   ========================================================= */

.auth-hero{
    min-height:calc(100vh - 92px);
    min-height:calc(100dvh - 92px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 20px;
}

.auth-card{
    max-width:560px;
    width:100%;
    padding:50px;
    border-radius:30px;
}

.auth-header{
    text-align:center;
    margin-bottom:30px;
}

.auth-title{
    font-family:'Cinzel', serif;
    color:var(--gold);
    font-size:2.4rem;
    margin-bottom:10px;
}

.auth-subtitle{
    color:var(--gray);
    font-size:1rem;
}

.auth-alert{
    padding:12px;
    border-radius:12px;
    margin-bottom:20px;
    text-align:center;
}

.auth-alert-error{
    background:var(--lux-danger-bg);
    border:1px solid var(--lux-danger);
    color:var(--lux-danger);
}

.auth-alert-success{
    background:var(--lux-success-bg);
    border:1px solid var(--lux-success);
    color:var(--lux-success);
}

.auth-field{
    margin-bottom:18px;
}

.auth-field label{
    color:var(--white);
    font-size:0.9rem;
    display:block;
}

.auth-field input{
    width:100%;
    padding:14px;
    margin-top:8px;
    border-radius:14px;
    border:1px solid var(--lux-card-border);
    background:var(--glass);
    color:var(--white);
    font-size:1rem;
    box-sizing:border-box;
}

.auth-field input::placeholder{
    color:var(--gray);
}

.auth-field input:focus{
    outline:none;
    border-color:rgba(212,175,55,0.5);
}

.auth-submit-btn{
    width:100%;
    padding:16px;
    font-size:1.1rem;
    border-radius:16px;
    border:none;
    cursor:pointer;
    margin-top:8px;
}

.auth-footer-link{
    text-align:center;
    margin-top:25px;
}

.auth-footer-link p{
    color:var(--gray);
}

.auth-footer-link a{
    color:var(--gold);
    text-decoration:none;
}

/*
 * This is the wrapper that gets blurred/disabled while the consent
 * modal is open — a SIBLING of the modal inside the form, never an
 * ancestor of it. See assets/js/consent-modal.js.
 */
.auth-form-fields{
    transition:filter 0.2s ease;
}

/* =========================================
   OTP STEP (shared by register_landlord.php / register_driver.php / login.php)
========================================= */

.auth-otp-title{
    font-family:'Cinzel', serif;
    color:var(--gold);
    font-size:1.4rem;
    margin-bottom:8px;
}

.auth-otp-subtitle{
    color:var(--gray);
    font-size:0.9rem;
    margin-bottom:20px;
}

.auth-resend-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:16px;
    font-size:0.85rem;
    color:var(--gray);
}

.auth-resend-row button{
    background:transparent;
    border:none;
    color:var(--gold);
    cursor:pointer;
    text-decoration:underline;
    font-size:0.85rem;
}

.auth-resend-row button:disabled{
    color:var(--gray);
    opacity:0.5;
    cursor:not-allowed;
    text-decoration:none;
}

/* =========================================
   IDENTITY TYPE RADIO (driver registration)
========================================= */

.auth-radio-row{
    display:flex;
    gap:20px;
    margin-top:8px;
}

.auth-radio-option{
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--white);
    font-weight:normal;
    cursor:pointer;
}

.auth-radio-option input{
    width:auto;
    accent-color:#d4af37;
}

@media (max-width:768px){
    .auth-card{
        padding:35px 25px;
    }

    .auth-title{
        font-size:2rem;
    }
}