body,html{
    margin: 0;
    padding: 0;
    height: 100%;
    background-image: url('../img/refbg.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    
}

.user_card{
    height: 950px -10px;
    width: 360px;
    margin-top: -90px;
    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;
}

*/
/*REGISTER DETAILS STYLES*/
.input-box .form-control{
    font-size: medium;
}

.form_container{
    margin-top: 100px;
}

/*SIGN UP BUTTON*/
.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;
    font-size: 16px !important;
}

.btn:hover{
    background: #4060df !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(82, 113, 255, 0.4) !important;
    color: white !important;
}

.btn:focus{
    box-shadow: 0 0 0 3px rgba(82, 113, 255, 0.3) !important;
    outline: 0px !important;  
}

.btn:active{
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(82, 113, 255, 0.3) !important;
}

/*STRENGTH INDICATOR FOR PASS*/

.inputstrength{
    width: 300px;
    max-width: 90%;
    position: relative;
    margin-bottom: 50px;
}

.inputstrength input{
    width: 100%;
    height: 35px;
    padding: 0 20px;
    border: 1px solid #ccc;
    outline: none;
    color: #FFF;
    background: transparent;
}

#message{
    position: absolute;
    bottom: -65px;
    color: #FFF;
    font-size: 15px;
    display: none;
    font-weight: bolder;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

::placeholder{
    font-size: 15px;
}

/* Password Strength Bar Styles */
.strength-bar-container {
    margin-top: 10px;
    width: 100%;
}

.strength-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.strength-bar-fill {
    height: 100%;
    width: 1%;
    background-color: #D73F40;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.strength-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.3) 50%, 
        transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Strength indicator text styling */
#strength {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/*SHOW PASSWORD*/
.input-box{
    
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    padding:  10px 20px;
    display: flex;
    align-items: center;

}

.input-box input{
    width: 100%;
    padding: 0.5px 0;
    border: 0;
    outline: 0;
    font-size:10px;
    color: #555;
}

.input-box img{
    width: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-box img:hover{
    transform: scale(1.1);
    filter: brightness(1.2);
}

.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; 
}

.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;
}

/* Enhanced form controls */
.form-control {
    border: 2px solid #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 10px 15px !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
}

.form-control:focus {
    border-color: #5271ff !important;
    box-shadow: 0 0 0 3px rgba(82, 113, 255, 0.1) !important;
    outline: none !important;
}

.form-control:hover {
    border-color: #5271ff !important;
}

/* Enhanced labels */
label {
    color: #333 !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    margin-top: 15px !important;
}

/* Enhanced select dropdowns */
select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%235271ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 12px center !important;
    background-repeat: no-repeat !important;
    background-size: 16px 12px !important;
    padding-right: 40px !important;
}

/*----------------------------------
            RETURN BUTTON
-----------------------------------*/

.retbtn img {
    width: 15%;
    height: 15%;
    margin-bottom: 50%;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0.8);
    
}

.retbtn img:hover {
    transform: scale(1.1);
    filter: brightness(1);
}

/* Minimal black design for retbtn */
.retbtn {
    background-color: #fce518;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    display: inline-block;
    cursor: pointer;
    box-shadow:
        0 4px 0 #c4b800,
        0 6px 15px rgba(255, 238, 0, 0.7);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    animation: pulse3d 2.5s infinite alternate;
    font-weight: bold;
    color: #333;
    text-shadow: 0 1px 0 #fff;
}

.retbtn:hover {
    background-color: rgba(255, 230, 0, 0.781);
    box-shadow:
        0 2px 0 #c4b800,
        0 8px 20px rgba(255, 238, 0, 0.9);
    transform: scale(1.05);
    animation: none;
}

@keyframes pulse3d {
    0% {
        box-shadow:
            0 4px 0 #c4b800,
            0 6px 15px rgba(255, 238, 0, 0.7);
        transform: translateY(0);
    }
    100% {
        box-shadow:
            0 6px 0 #c4b800,
            0 10px 25px rgba(255, 238, 0, 0.9);
        transform: translateY(-3px);
    }
}

/*----------------------------------
            DROP DOWN
-----------------------------------*/

