/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body {
    font-family: 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    background: linear-gradient(135deg, #19ea22, #ff1000);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* ===========================
   LOGO
=========================== */

.logo-wrapper{

    text-align:center;

    margin-bottom:25px;

}

.logo{

    width:220px;

    max-width:100%;

    height:auto;

}

.login-card h2{

    margin-top:10px;

}
/* ===========================
   LOGIN CARD
=========================== */



.login-container{

    width:100%;

    padding:20px;

    display:flex;

    justify-content:center;

    align-items:center;

}

.login-card{

    width:420px;

    background:#ffffff;

    border-radius:15px;

    padding:40px;

    box-shadow:0 20px 45px rgba(0,0,0,.25);

    animation:fadeIn .4s ease;

}

@keyframes fadeIn{

    from{

        opacity:0;
        transform:translateY(25px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

/* ===========================
   HEADER
=========================== */

.login-card h2{

    text-align:center;

    color:#222;

    margin-bottom:8px;

    font-size:28px;

}

.login-card p{

    text-align:center;

    color:#777;

    margin-bottom:35px;

    font-size:15px;

}

/* ===========================
   FORM
=========================== */

.form-group{

    margin-bottom:22px;

}

.form-group label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:#444;

}

.form-group input{

    width:100%;

    padding:14px 15px;

    border:1px solid #d5d5d5;

    border-radius:8px;

    font-size:15px;

    transition:.3s;

}

.form-group input:focus{

    border-color:#2a5298;

    outline:none;

    box-shadow:0 0 8px rgba(42,82,152,.25);

}

/* ===========================
   PASSWORD
=========================== */

.password-wrapper{

    position:relative;

}

.password-wrapper input{

    padding-right:45px;

}

#togglePassword{

    position:absolute;

    top:50%;

    right:15px;

    transform:translateY(-50%);

    cursor:pointer;

    font-size:18px;

    user-select:none;

}

/* ===========================
   BUTTON
=========================== */

button {
    width: 100%;
    padding: 15px;
    background: #b5e45d;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: .3s;
}

button:hover{

    background:#ff1000;

    transform:translateY(-2px);

}

button:active{

    transform:scale(.98);

}

/* ===========================
   ERROR
=========================== */

.error-box{

    background:#ffe8e8;

    color:#c62828;

    border-left:5px solid #e53935;

    padding:12px;

    border-radius:6px;

    margin-bottom:20px;

    font-size:14px;

}

/* ===========================
   SUCCESS
=========================== */

.success-box{

    background:#e8fff0;

    color:#2e7d32;

    border-left:5px solid #43a047;

    padding:12px;

    border-radius:6px;

    margin-bottom:20px;

    font-size:14px;

}

/* ===========================
   FOOTER
=========================== */

.footer{

    text-align:center;

    margin-top:30px;

    font-size:13px;

    color:#999;

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:500px){

    .login-card{

        width:100%;

        padding:30px 20px;

        border-radius:12px;

    }

    .login-card h2{

        font-size:24px;

    }

}