*{
    box-sizing: border-box;
}
body{
    margin: 0;
    height: 100vh;
    width:100vw;
    overflow: hidden;
    font-family: "Lato",sans-serif;
    font-weight: 700;
    display: flex;
    align-items:center;
    justify-content: center;
    color:#555;
    background-color: #ecf0f3; 

}
.login-div{
   width:430px;
   max-width: 90vw;
   min-height: 640px;
   height: auto;
   padding: 45px 35px 35px 35px;
   border-radius:40px ; 
   background-color: #ecf0f3;
   box-shadow: 13px 13px 20px #cbced1,
   -13px -13px 20px #fff;
}
.logo{
  
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo img{
    width: 100px;
    border-radius: 50%;

}
.title{
    text-align: center;
    font-size:28px;
    padding-top: 24px;
    letter-spacing:0.5;

}
.sub-title{
    text-align: center;
    font-size:15px;
    padding-top: 7px;
    letter-spacing:3px;
}
.fields{
    width:100%;
    padding:75px 5px 5px 5px;

}


.fields input{
    border:none;
    outline:none;
    background:none ;
    font-size:18px;
    color:rgba(170, 39, 39, 0.856);
    padding:20px 10px 20px 5px;
}

.username,
.password{
    margin-bottom: 30px;
    border-radius:25px;
    box-shadow: inset 8px 8px 8px #cbced1,inset
    -8px -8px 8px #fff;
    padding-left: 10px;
}

.signin-button{
    outline:none;
    border:none;
    cursor: pointer;
    width:100%;
    height: 60px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 700;
    font-family: "Lato",sans-serif;
    color:#fff;
    text-align:center;
    background-color: #02c8c8;
    box-shadow: 3px 3px 8px #b1b1b1,
    -3px -3px 8px #b1b1b1, -3px -3px 8px #ffff;
    transition: all 0.5s;

}


.signin-button:hover{
    background-color: #50aee5;

}
.signin-button:active{
    background-color: #50e5b9;
}
.link{
    padding-top:20px;
    text-align:center;
}
.link a{
    text-decoration: none;
    color:#777;
    font-size:15px;
    transition: color 0.3s;
}
.link a:hover{
    color: #02c8c8;
}
.auth-alert {
    display: none;
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 14px;
    text-align: center;
    word-break: break-word;
    animation: fadeIn 0.3s ease-in-out;
}
.alert-danger {
    background-color: #fde8e8;
    color: #c53030;
    border: 1px solid #f8b4b4;
}
.alert-success {
    background-color: #def7ec;
    color: #0e9f6e;
    border: 1px solid #bcf0da;
}
.logged-in-box {
    text-align: center;
    padding: 20px 0;
}
.user-email-badge {
    background: #e2e8f0;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    color: #333;
}
.logout-btn {
    background-color: #e53e3e !important;
    margin-top: 10px;
}
.logout-btn:hover {
    background-color: #c53030 !important;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
