body{
    background:#f5f7fb;
    overflow-x:hidden;
}

/* =========================
   AUTH CARD
========================= */

.auth-card{
    width:100%;
    max-width:550px;
    background:#fff;
    border-radius:20px;
    padding:30px;
    border:1px solid #e5e7eb;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.auth-logo{
    width:52px;
    height:52px;
    border-radius:12px;
    background:#1877F2;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:700;
    margin-bottom:20px;
}

.auth-title{
    font-size:22px;
    font-weight:700;
    color:#111827;
    margin-bottom:8px;
}

.auth-subtitle{
    font-size:14px;
    color:#6b7280;
    margin-bottom:18px;
}

/* =========================
   FORM
========================= */

.auth-label{
    display:block;
    margin-bottom:4px;
    font-size:14px;
    font-weight:600;
    color:#374151;
}

.auth-input{
    height:48px;
    border-radius:10px;
    border:1px solid #d1d5db;
    font-size:14px;
    padding:0 14px;
    padding-right:45px;
}

.auth-input:focus{
    border-color:#1877F2;
    box-shadow:none;
}

/* =========================
   BUTTONS
========================= */

.auth-btn{
    height:48px;
    border:none;
    border-radius:10px;
    background:#1877F2;
    color:#fff;
    font-weight:600;
    transition:
        background .3s ease,
        transform .2s ease;
}

.auth-btn:hover{
    background:#1667d9;
    color:#fff;
    transform:translateY(-1px);
}

/* =========================
   LINKS
========================= */

.auth-link{
    color:#1877F2;
    text-decoration:none;
    font-size:14px;
    font-weight:500;
}

.auth-link:hover{
    color:#1667d9;
}

.auth-divider{
    margin:24px 0;
    border-top:1px solid #e5e7eb;
}

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

.auth-footer-link a{
    text-decoration:none;
}

/* =========================
   PASSWORD TOGGLE
========================= */

.password-wrapper{
    position:relative;
}

.password-toggle{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    color:#6b7280;
    font-size:18px;
    line-height:1;
}

/* =========================
   ILLUSTRATION
========================= */

.auth-wrapper{
    min-height:100vh;
}

.auth-illustration{
    min-height:100vh;
    background:#fff;
    border-right:1px solid #e5e7eb;
}

.auth-illustration img{
    max-height:500px;
}

/* =========================
   TOAST
========================= */

.auth-toast{
    position:fixed;
    top:20px;
    right:20px;
    z-index:99999;
}

/* =========================
   LOADER
========================= */

#loader{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.5);
    z-index:9999;
}

#loader .spinner-wrapper{
    height:100%;
}

/* =========================
   MOBILE
========================= */

@media(max-width:991px){

    body{
        overflow:auto;
    }

    .auth-card{
        max-width:100%;
        padding:24px;
        border-radius:16px;
        box-shadow:0 4px 15px rgba(0,0,0,.06);
    }

    .auth-illustration{
        min-height:250px;
        border-right:none;
    }

    .auth-illustration img{
        max-height:220px;
    }

    .auth-title{
        font-size:24px;
    }
}
