/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
body{
    font-family:Inter, Arial, sans-serif;
    background:#f3f4f6;
    min-height:100vh;
    color:#111827;
    padding-top:65px;
    position:relative;
}

/* =========================
   LOGIN WRAPPER
========================= */

.login-container{
    width:100%;
    min-height:calc(100vh - 72px);

    display:flex;
    justify-content:center;
    align-items:center;

    padding:40px 20px;
}

/* =========================
   LOGIN CARD
========================= */

.login-box{
    width:100%;
    max-width:460px;

    background:white;

    border-radius:24px;

    padding:40px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08),
        0 2px 10px rgba(0,0,0,0.04);

    animation:fadeIn 0.4s ease;
}

/* =========================
   HEADER
========================= */

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

.login-header h2{
    font-size:34px;
    margin-bottom:10px;
    font-weight:800;
}

.login-header p{
    color:#6b7280;
    font-size:15px;
}

/* =========================
   INPUT GROUP
========================= */

.input-group{
    margin-bottom:22px;
}

.input-group label{
    display:block;
    margin-bottom:8px;

    font-size:14px;
    font-weight:600;
}

/* =========================
   INPUT
========================= */

.input-group input{
    width:100%;

    padding:15px;

    border:1px solid #d1d5db;
    border-radius:12px;

    font-size:15px;

    outline:none;

    transition:0.3s ease;
}

.input-group input:focus{
    border-color:#f59e0b;
    box-shadow:0 0 0 4px rgba(245,158,11,0.15);
}

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

.password-wrapper{
    position:relative;
}

.toggle-password{
    position:absolute;
    right:15px;
    top:50%;

    transform:translateY(-50%);

    cursor:pointer;
    user-select:none;
    font-size:18px;
}

/* =========================
   ERROR
========================= */

.error{
    display:block;
    margin-top:6px;

    color:#dc2626;
    font-size:13px;
}

/* =========================
   FORGOT
========================= */

.forgot-password{
    margin-top:10px;
    text-align:right;
}

.forgot-password a{
    text-decoration:none;
    color:#f59e0b;
    font-size:14px;
    font-weight:600;
}

.forgot-password a:hover{
    text-decoration:underline;
}

/* =========================
   REMEMBER
========================= */

.remember-box{
    margin-bottom:20px;
}

.remember-label{
    display:flex;
    align-items:center;
    gap:8px;

    font-size:14px;
    color:#374151;
}

/* =========================
   BUTTON
========================= */

button{
    width:100%;
    border:none;

    padding:15px;

    border-radius:12px;

    background:#f59e0b;
    color:white;

    font-size:16px;
    font-weight:700;

    cursor:pointer;

    transition:0.3s ease;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

button:hover{
    background:#d97706;
}

button:disabled{
    opacity:0.7;
    cursor:not-allowed;
}

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

.loader{
    width:18px;
    height:18px;

    border:2px solid rgba(255,255,255,0.4);
    border-top:2px solid white;

    border-radius:50%;

    animation:spin 0.7s linear infinite;
}

.hidden{
    display:none;
}

/* =========================
   BOTTOM
========================= */

.bottom{
    margin-top:25px;
    text-align:center;
    font-size:14px;
    color:#6b7280;
}

.bottom a{
    text-decoration:none;
    color:#f59e0b;
    font-weight:700;
}

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

#toast-container{
    position:fixed;

    top:80px;
    right:20px;

    z-index:999999;

    display:flex;
    flex-direction:column;
    gap:12px;

    align-items:flex-end;

    pointer-events:none;
}

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

.toast{
    width:320px;
    max-width:100%;

    padding:14px 18px;

    border-radius:12px;

    color:#fff;
    font-size:14px;
    font-weight:500;

    box-shadow:0 10px 30px rgba(0,0,0,0.15);

    animation:toastSlide 0.35s ease;

    pointer-events:auto;
}

/* =========================
   TYPES
========================= */

.toast.success{
    background:#16a34a;
}

.toast.error{
    background:#dc2626;
}

.toast.info{
    background:#2563eb;
}

/* =========================
   DESKTOP
========================= */

@media(min-width:769px){

    #toast-container{
        top:90px;
        right:20px;
        left:auto;

        transform:none;

        align-items:flex-end;
    }
}

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

@media(max-width:768px){

    #toast-container{
        top:75px;

        left:70%;
        right:auto;

        transform:translateX(-50%);

        width:50%;

        align-items:center;
    }

    .toast{
        width:100%;
    }
}

/* =========================
   ANIMATION
========================= */

@keyframes toastSlide{
    from{
        opacity:0;
        transform:translateX(120%);
    }

    to{
        opacity:1;
        transform:translateX(0);
    }
}