/* =========================
   AUTH / LOGIN / REGISTER
   ========================= */
.fd-auth-page{
    min-height:100vh;
    background:
        radial-gradient(circle at top left, rgba(79,128,223,.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(39,196,106,.06), transparent 28%),
        linear-gradient(180deg,#f3f4f8 0%, #eef2f7 100%);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px 16px;
}

.fd-auth-shell{
    width:100%;
    max-width:460px;
}

.fd-auth-hero{
    margin-bottom:18px;
    padding:10px 4px;
    display:flex;
    align-items:center;
    gap:14px;
}

.fd-auth-badge{
    width:62px;
    height:62px;
    border-radius:20px;
    background:linear-gradient(135deg,#155dfc 0%, #0b1020 100%);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    font-weight:800;
    flex-shrink:0;
    box-shadow:0 14px 28px rgba(79,128,223,.18);
}

.fd-auth-copy{
    min-width:0;
}

.fd-auth-kicker{
    display:block;
    color:#7f8aa0;
    font-size:12px;
    font-weight:800;
    letter-spacing:.4px;
    text-transform:uppercase;
    margin-bottom:6px;
}

.fd-auth-copy h1{
    font-size:30px;
    line-height:1.05;
    font-weight:800;
    color:#202633;
    margin-bottom:8px;
}

.fd-auth-copy p{
    color:#7d879a;
    font-size:14px;
    line-height:1.5;
}

.fd-auth-card{
    background:#ffffff;
    border:1px solid rgba(31,36,48,.06);
    border-radius:30px;
    box-shadow:0 16px 40px rgba(20,30,55,.08);
    padding:22px;
}

.fd-auth-card-head{
    margin-bottom:18px;
}

.fd-auth-card-head h2{
    font-size:22px;
    line-height:1.1;
    font-weight:800;
    color:#202633;
    margin-bottom:6px;
}

.fd-auth-card-head p{
    color:#8f98ab;
    font-size:14px;
    line-height:1.4;
}

.fd-auth-form{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.fd-auth-field{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.fd-auth-field label{
    font-size:13px;
    font-weight:700;
    color:#7d879a;
}

.fd-auth-field input{
    width:100%;
    border:none;
    outline:none;
    border-radius:18px;
    padding:15px 16px;
    background:#f7f8fc;
    color:#232936;
    border:1px solid rgba(31,36,48,.06);
    font-size:14px;
    transition:.18s ease;
}

.fd-auth-field input::placeholder{
    color:#9aa3b4;
}

.fd-auth-field input:focus{
    border-color:rgba(79,128,223,.28);
    box-shadow:0 0 0 4px rgba(79,128,223,.08);
    background:#fff;
}

.fd-auth-submit{
    border:none;
    border-radius:18px;
    padding:15px 16px;
    font-size:15px;
    font-weight:800;
    color:#fff;
    background:linear-gradient(135deg,#155dfc 0%, #0b1020 100%);
    box-shadow:0 12px 24px rgba(79,128,223,.18);
    cursor:pointer;
    transition:.18s ease;
    margin-top:4px;
}

.fd-auth-submit:hover{
    transform:translateY(-1px);
}

.fd-auth-submit:disabled{
    opacity:.75;
    cursor:not-allowed;
    transform:none;
}

.fd-auth-message{
    display:none;
    margin-top:16px;
    border-radius:16px;
    padding:12px 14px;
    font-size:14px;
    line-height:1.45;
}

.fd-auth-message.show{
    display:block;
}

.fd-auth-message.error{
    background:rgba(240,103,120,.10);
    color:#cf4f60;
    border:1px solid rgba(240,103,120,.18);
}

.fd-auth-message.success{
    background:rgba(39,196,106,.10);
    color:#239852;
    border:1px solid rgba(39,196,106,.18);
}

.fd-auth-footer{
    margin-top:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    flex-wrap:wrap;
    color:#8f98ab;
    font-size:14px;
}

.fd-auth-footer a{
    color:#4f80df;
    font-weight:800;
    text-decoration:none;
}

.fd-auth-footer a:hover{
    text-decoration:underline;
}

@media (max-width: 480px){
    .fd-auth-page{
        padding:20px 14px;
    }

    .fd-auth-copy h1{
        font-size:26px;
    }

    .fd-auth-card{
        padding:18px;
        border-radius:26px;
    }

    .fd-auth-hero{
        align-items:flex-start;
    }
}
/* =========================
   REGISTER EXTRA
   ========================= */
.fd-auth-submit-secondary{
    background:#eef2f8;
    color:#243047;
    box-shadow:none;
}

.fd-auth-submit-secondary:hover{
    transform:translateY(-1px);
}

.fd-auth-phone-row{
    display:flex;
    gap:10px;
    align-items:center;
}

.fd-auth-select{
    min-width:145px;
    border:none;
    outline:none;
    border-radius:18px;
    padding:15px 14px;
    background:#f7f8fc;
    color:#232936;
    border:1px solid rgba(31,36,48,.06);
    font-size:14px;
}

.fd-auth-help{
    display:block;
    margin-top:6px;
    color:#8f98ab;
    font-size:12px;
    line-height:1.4;
}

.fd-auth-check{
    display:flex;
    align-items:flex-start;
    gap:10px;
    color:#667086;
    font-size:14px;
    line-height:1.45;
    margin-top:2px;
}

.fd-auth-check input{
    margin-top:2px;
    accent-color:#4f80df;
}

@media (max-width: 480px){
    .fd-auth-phone-row{
        flex-direction:column;
        align-items:stretch;
    }

    .fd-auth-select{
        min-width:100%;
    }
}
/* =========================
   FORGOT / VERIFY / RESET
   ========================= */
.fd-auth-footer + .fd-auth-footer{
    margin-top:10px;
}

.fd-auth-card .fd-auth-message{
    margin-top:16px;
}