/*=========================================
            GOOGLE FONT
=========================================*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

/*=========================================
                RESET
=========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;

    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    background:
    linear-gradient(rgba(0,0,0,.60),rgba(0,0,0,.60)),
    url("VAL LOGO.png") center center/cover no-repeat;

    padding:20px;
}

/*=========================================
            ADMIN SECTION
=========================================*/

.admin-section{

    width:100%;

    display:flex;
    justify-content:center;
    align-items:center;

}

/*=========================================
            LOGIN CARD
=========================================*/

.admin-card{

    width:100%;
    max-width:430px;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,.20);

    border-radius:20px;

    padding:40px 35px;

    box-shadow:0 20px 40px rgba(0,0,0,.35);

    text-align:center;

}

/*=========================================
                LOGO
=========================================*/

.logo-box{

    display:flex;
    justify-content:center;

    margin-bottom:20px;

}

.logo-box img{

    width:120px;
    height:120px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid #ffffff;

    box-shadow:0 10px 25px rgba(0,0,0,.35);

}

/*=========================================
                TITLE
=========================================*/

.admin-card h1{

    font-family:'Cinzel',serif;

    color:#ffffff;

    font-size:32px;

    margin-bottom:8px;

}

.admin-card p{

    color:#eeeeee;

    margin-bottom:30px;

    font-size:15px;

}

/*=========================================
            INPUT BOX
=========================================*/

.input-box{

    text-align:left;

    margin-bottom:22px;

}

.input-box label{

    display:block;

    color:#ffffff;

    margin-bottom:8px;

    font-weight:500;

}

.input-box input{

    width:100%;

    padding:14px 16px;

    border:none;

    outline:none;

    border-radius:10px;

    font-size:15px;

    background:#ffffff;

    color:#333333;

    transition:.3s;

}

.input-box input:focus{

    box-shadow:0 0 0 3px rgba(46,107,67,.40);

}

/*=========================================
            LOGIN BUTTON
=========================================*/

.login-btn{

    width:100%;

    padding:15px;

    border:none;

    border-radius:10px;

    background:#2E6B43;

    color:#ffffff;

    font-size:18px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.login-btn:hover{

    background:#1d4d2f;

    transform:translateY(-3px);

}

/*=========================================
            RESPONSIVE
=========================================*/

@media(max-width:768px){

.admin-card{

    padding:30px 25px;

}

.logo-box img{

    width:100px;
    height:100px;

}

.admin-card h1{

    font-size:28px;

}

}

@media(max-width:480px){

.admin-card{

    padding:25px 20px;

}

.logo-box img{

    width:85px;
    height:85px;

}

.admin-card h1{

    font-size:24px;

}

.admin-card p{

    font-size:14px;

}

.login-btn{

    font-size:16px;

}

}
/*=========================================
            LOGIN POPUP
=========================================*/

.popup-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    display:flex;

    justify-content:center;

    align-items:center;

    visibility:hidden;

    opacity:0;

    transition:.3s;

}

.popup-overlay.active{

    visibility:visible;

    opacity:1;

}

.popup{

    width:90%;
    max-width:350px;

    background:#fff;

    border-radius:20px;

    padding:30px;

    text-align:center;

    animation:popup .3s ease;

}

@keyframes popup{

    from{

        transform:scale(.8);

        opacity:0;

    }

    to{

        transform:scale(1);

        opacity:1;

    }

}

.popup-icon{

    width:70px;
    height:70px;

    margin:auto;

    border-radius:50%;

    background:#d9534f;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:35px;

    margin-bottom:20px;

}

.popup h2{

    color:#d9534f;

    margin-bottom:10px;

}

.popup p{

    color:#555;

}

.popup button{

    width:100%;

    margin-top:20px;

    padding:13px;

    border:none;

    border-radius:10px;

    background:#2E6B43;

    color:#fff;

    font-size:16px;

    cursor:pointer;

}