*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}


body{

    background:#f5f5f5;

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

}


/* main wrapper */
.page-wrapper{

    width:auto;

}


/* hide old image panel */
.hero-panel{

    display:none;

}


.form-panel{

    width:100%;

}



/* CARD */
.form-container{

    width:460px;

    background:#fff;

    padding:10px 40px 25px 40px;

    border-radius:14px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

}



/* LOGO */
.logo{

    width:200px;

    display:block;

    margin:0 auto 10px;

}




/* HEADER */
.form-intro{

    text-align:center;

}


.form-title{

    font-size:22px;

    letter-spacing:2px;

    margin-bottom:8px;

}


.form-subtitle{

    color:#666;

    margin-bottom:25px;

}



/* FORM */
.form-group{

    margin-bottom:18px;

}



.field-label{

    display:block;

    margin-bottom:8px;

    font-size:12px;

    font-weight:700;

    letter-spacing:.8px;

    color:#555;

}



/* INPUTS */
.input-control{

    width:100%;

    height:52px;

    border:none;

    outline:none;

    background:#eeeeee;

    border-radius:8px;

    padding:0 16px;

    font-size:15px;

}


.input-control::placeholder{

    color:#777;

}



/* PASSWORD */
.password-field{

    position:relative;

}


.eye-icon{

    width:20px;

    position:absolute;

    right:15px;

    top:16px;

    cursor:pointer;

}



/* forgot */
.forgot-password{

    text-align:right;

    margin-bottom:15px;

}


.forgot-password a{

    color:#00599d;

    text-decoration:none;

    font-size:13px;

}




/* BUTTON */
.btn-submit{

    width:100%;

    height:52px;

    border:none;

    border-radius:8px;

    background:#00599d;

    color:white;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    margin-top:10px;

}


.btn-submit:hover{

    opacity:.9;

}



/* bottom text */
.terms-text{

    margin-top:25px;

    text-align:center;

    font-size:12px;

    color:#777;

}


.terms-text a{

    color:#00599d;

    text-decoration:none;

}



/* messages */

#msg{

    text-align:center;

    margin-top:10px;

    font-size:13px;

}


.success{

    color:green;

}


.error{

    color:red;

}



/* session expired */
.session-msg{

    position:absolute;

    top:20px;

    left:50%;

    transform:translateX(-50%);

    background:#fee2e2;

    color:#b91c1c;

    padding:10px 20px;

    border-radius:8px;

    font-size:14px;

}





/* FORGOT PASSWORD MODAL */


.modal{

    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    align-items:center;

    justify-content:center;

}



.modal-box{

    background:white;

    width:380px;

    padding:30px;

    border-radius:14px;

    position:relative;

    box-shadow:
    0 10px 30px rgba(0,0,0,.15);

}



.modal-box h2{

    text-align:center;

}



.modal-box input{

    width:100%;

    height:52px;

    margin-top:20px;

    border:none;

    outline:none;

    background:#eee;

    border-radius:8px;

    padding:15px;

}



.modal-box button{

    width:100%;

    height:50px;

    background:#00599d;

    color:white;

    border:0;

    border-radius:8px;

    margin-top:20px;

    cursor:pointer;

    font-weight:600;

}



.close{

    position:absolute;

    right:18px;

    top:10px;

    cursor:pointer;

    font-size:26px;

}



/* MOBILE */

@media(max-width:600px){


.form-container{

    width:90%;

    padding:20px;

}


.logo{

    width:170px;

}


}

/* FORGOT PASSWORD POPUP */

.modal{

    display:none;

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.45);

    z-index:9999;

    align-items:center;

    justify-content:center;

}



.modal-box{

    width:380px;

    background:#fff;

    padding:35px;

    border-radius:14px;

    position:relative;

    box-shadow:
    0 10px 30px rgba(0,0,0,.2);

}



.modal-box h2{

    text-align:center;

    font-size:24px;

    margin-bottom:20px;

}



.modal-box p{

    font-size:14px;

    margin-bottom:10px;

}



.modal-box input{

    width:100%;

    height:52px;

    border:none;

    outline:none;

    background:#eeeeee;

    border-radius:8px;

    padding:0 15px;

    margin-top:10px;

}



.modal-box button{

    width:100%;

    height:52px;

    border:none;

    background:#00599d;

    color:white;

    border-radius:8px;

    margin-top:20px;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

}



.close{

    position:absolute;

    right:18px;

    top:12px;

    font-size:26px;

    cursor:pointer;

}