/*=====================================
LOGIN PAGE
=====================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:#f4f6fb;
}

/*=====================================
SECTION
=====================================*/

.login-section{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px 15px;

    background:linear-gradient(135deg,#15161D 0%,#202333 50%,#D10024 100%);

}

/*=====================================
CARD
=====================================*/

.login-card{

    width:100%;

    max-width:460px;

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(15px);

    border-radius:20px;

    padding:45px;

    box-shadow:0 20px 60px rgba(0,0,0,.25);

    animation:fadeUp .6s ease;

}

/*=====================================
LOGO
=====================================*/

.login-logo{

    text-align:center;

    margin-bottom:25px;

}

.login-logo img{

    max-width:180px;

    height:auto;

}

/*=====================================
TITLE
=====================================*/

.login-card h2{

    text-align:center;

    font-size:34px;

    font-weight:800;

    color:#15161D;

    margin-bottom:10px;

}

.login-card p{

    text-align:center;

    color:#777;

    margin-bottom:30px;

    font-size:16px;

}

/*=====================================
FORM
=====================================*/

.form-group{

    margin-bottom:18px;

}

.form-group label{

    display:block;

    font-weight:600;

    margin-bottom:8px;

    color:#15161D;

}

.input-group{

    border-radius:12px;

    overflow:hidden;

}

.input-group-text{

    background:#f1f3f7;

    border:none;

    color:#555;

    width:50px;

    justify-content:center;

}

.form-control{

    border:none;

    height:52px;

    box-shadow:none !important;

    font-size:15px;

}

.form-control:focus{

    background:#fff;

}

/*=====================================
PASSWORD BUTTON
=====================================*/

#togglePassword{

    border:none;

    background:#f1f3f7;

    width:55px;

}

#togglePassword:hover{

    background:#e8eaef;

}

/*=====================================
OPTIONS
=====================================*/

.login-options{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin:20px 0;

    font-size:14px;

}

.login-options label{

    display:flex;

    align-items:center;

    gap:8px;

    cursor:pointer;

}

.login-options a{

    color:#D10024;

    text-decoration:none;

    font-weight:600;

}

.login-options a:hover{

    text-decoration:underline;

}

/*=====================================
LOGIN BUTTON
=====================================*/

.login-btn{

    width:100%;

    height:55px;

    border:none;

    border-radius:12px;

    background:#D10024;

    color:#fff;

    font-size:17px;

    font-weight:700;

    transition:.3s;

}

.login-btn:hover{

    background:#15161D;

}

/*=====================================
REGISTER
=====================================*/

.register-link{

    text-align:center;

    margin-top:25px;

    font-size:15px;

}

.register-link a{

    color:#D10024;

    font-weight:700;

    text-decoration:none;

}

.register-link a:hover{

    text-decoration:underline;

}

/*=====================================
ALERT
=====================================*/

.alert{

    border-radius:10px;

    margin-bottom:20px;

}

/*=====================================
ANIMATION
=====================================*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*=====================================
RESPONSIVE
=====================================*/

@media(max-width:768px){

.login-card{

    padding:35px 25px;

}

.login-card h2{

    font-size:28px;

}

.login-logo img{

    max-width:150px;

}

.login-options{

    flex-direction:column;

    gap:15px;

    align-items:flex-start;

}

}

@media(max-width:480px){

.login-section{

    padding:20px 10px;

}

.login-card{

    padding:30px 20px;

    border-radius:16px;

}

.login-card h2{

    font-size:24px;

}

.form-control{

    height:48px;

}

.login-btn{

    height:50px;

}

}