/* =====================================================
                    ADMIN LOGIN MODAL
===================================================== */

.login-overlay{

    position:fixed;

    inset:0;

    background:rgba(8,20,43,.45);

    backdrop-filter:blur(8px);

    -webkit-backdrop-filter:blur(8px);

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    visibility:hidden;

    transition:.35s ease;

    z-index:9999;

}

.login-overlay.active{

    opacity:1;

    visibility:visible;

}


/* =====================================================
                WEBSITE BLUR
===================================================== */

#website{

    transition:.35s ease;

}

#website.blur{

    filter:blur(8px);

    transform:scale(.985);

    pointer-events:none;

    user-select:none;

}


/* =====================================================
                LOGIN CARD
===================================================== */

.login-modal{

    position:relative;

    width:430px;

    max-width:92%;

    padding:45px;

    border-radius:22px;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(25px);

    -webkit-backdrop-filter:blur(25px);

    border:1px solid rgba(255,255,255,.18);

    box-shadow:

        0 25px 60px rgba(0,0,0,.30);

    transform:translateY(40px) scale(.92);

    opacity:0;

    transition:.35s ease;

}

.login-overlay.active .login-modal{

    transform:translateY(0) scale(1);

    opacity:1;

}


/* =====================================================
                CLOSE BUTTON
===================================================== */

.close-login{

    position:absolute;

    top:18px;

    right:18px;

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    background:rgba(255,255,255,.15);

    color:white;

    font-size:18px;

    transition:.3s;

}

.close-login:hover{

    background:#F5B400;

    color:#071F4D;

}


/* =====================================================
                HEADER
===================================================== */

.login-header{

    text-align:center;

    margin-bottom:35px;

}

.login-header img{

    width:90px;

    margin-bottom:18px;

}

.login-header h2{

    color:white;

    font-size:30px;

    font-weight:700;

}

.login-header p{

    margin-top:8px;

    color:#E8E8E8;

}


/* =====================================================
                INPUTS
===================================================== */

.input-group{

    margin-bottom:22px;

}

.input-group label{

    display:block;

    color:white;

    margin-bottom:8px;

    font-size:14px;

    font-weight:500;

}

.input-group label i{

    margin-right:8px;

    color:#F5B400;

}

.input-group input{

    width:100%;

    height:50px;

    padding:0 16px;

    border:none;

    outline:none;

    border-radius:12px;

    background:rgba(255,255,255,.12);

    color:white;

    font-size:15px;

    transition:.3s;

}

.input-group input::placeholder{

    color:#d9d9d9;

}

.input-group input:focus{

    background:rgba(255,255,255,.18);

    box-shadow:0 0 0 3px rgba(245,180,0,.25);

}


/* =====================================================
            PASSWORD FIELD
===================================================== */

.password-box{

    position:relative;

}

.password-box input{

    padding-right:55px;

}

.toggle-password{

    position:absolute;

    right:15px;

    top:50%;

    transform:translateY(-50%);

    border:none;

    background:none;

    cursor:pointer;

    color:#ffffff;

    font-size:18px;

}


/* =====================================================
                OPTIONS
===================================================== */

.login-options{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin:18px 0 30px;

    color:white;

    font-size:14px;

}

.remember-me{

    display:flex;

    align-items:center;

    gap:8px;

    cursor:pointer;

}

.forgot-password{

    color:#F5B400;

    text-decoration:none;

}

.forgot-password:hover{

    text-decoration:underline;

}


/* =====================================================
                LOGIN BUTTON
===================================================== */

.login-btn{

    width:100%;

    height:52px;

    border:none;

    border-radius:14px;

    background:linear-gradient(135deg,#FFD54A,#F5B400);

    color:#071F4D;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.login-btn i{

    margin-right:8px;

}

.login-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(245,180,0,.35);

}


/* =====================================================
                FOOTER
===================================================== */

.login-footer{

    margin-top:28px;

    text-align:center;

    color:#E8E8E8;

    font-size:13px;

}


/* =====================================================
                MOBILE
===================================================== */

@media(max-width:550px){

    .login-modal{

        width:95%;

        padding:35px 25px;

    }

    .login-header h2{

        font-size:24px;

    }

    .login-options{

        flex-direction:column;

        align-items:flex-start;

        gap:12px;

    }

}