body,html{
    margin: 0;
    padding: 0;
    height: 100%;
    background-image: url('../img/refbg.jpg');
    background-size: cover;
    background-position: center;
}

.user_card{
    height: 400px;
    width: 350px;
    margin-top: auto;
    margin-bottom: auto;
    background: #fce518;
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    box-shadow: 0 4px 8px 0  rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -moz-box-shadow: 0 4px  8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
 }

.brand_logo_container {
    position: absolute;
    height: 145px;
    width: 300px;
    top: -75px;
    border-radius: 0; /* Changed from 50% to 0 to make rectangular */
    background: #5271ff;
    padding: 10px;
    text-align: center;
}

.brand_logo{
    height: 150px;
    width: 150px;
    border-radius: 50%;
    border: 2px solid white;
}

/*LOGIN DETAILS STYLES*/
.form_container{
    margin-top: 100px;
}

.login_btn{
    width: 100%;
    background: #5271ff !important;
    color: white !important;
    border: none !important;
    padding: 12px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 8px rgba(82, 113, 255, 0.3) !important;
}

.login_btn:hover{
    background: #4060df !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(82, 113, 255, 0.4) !important;
}

.login_btn:focus{
    box-shadow: 0 0 0 3px rgba(82, 113, 255, 0.3) !important;
    outline: 0px !important;  
}

.login_btn:active{
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(82, 113, 255, 0.3) !important;
}

.login_container{
    padding: 0 2rem;
}

.input-group-text{
    background: #5271ff !important;
    color: white !important;
    border: 0 !important;
    border-radius: 0.25rem 0 0 0.25rem !important; 
}

.password-toggle {
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border-radius: 0 0.25rem 0.25rem 0 !important;
}

.password-toggle:hover {
    background: #4060df !important;
    transform: scale(1.05);
}

.input-group .input-group-append:last-child .input-group-text {
    border-radius: 0 0.25rem 0.25rem 0 !important;
}

.input-user,
.input_pass:focus{
    box-shadow: none !important;
    outline: 0px !important;

}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before{
    background-color: #5271ff !important;
}

body.swal2-shown {
    overflow: hidden !important;
}

.container.h-100 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100vh !important;
}

/*------------------------
    LOGIN DETAILS STYLES
--------------------------*/
.error-message {
    padding:  12px;
    background: rgb(255, 255, 255);
    border-radius: 6px;
    font-size: 16px;
    color: rgb(255, 230, 0);
    text-align: center;
    margin-top: 20px;
}
