form .login-input_box label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Input field styling */
form .login-input_box input {
    width: 100%;
    height: 57px;
    border: 1px solid #DADAF2;
    border-radius: 5px;
    outline: none;
    background: #F8F8FB;
    font-size: 17px;
    padding: 0px 20px;
    margin-bottom: 25px;
    transition: 0.2s ease;
}

form .login-input_box input:focus {
    border-color: #073A3E;
}

form .login-input_box .login-password_title {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

form .login-input_box {
    position: relative;
}

/* Login button styling */

.great-vibes-regular {
    font-family: "Great Vibes", serif;
    font-weight: 400;
    font-style: normal;
}

form .reg_form-input_box label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Input field styling */
form .reg_form-input_box input {
    width: 100%;
    height: 57px;
    border: 1px solid #DADAF2;
    border-radius: 5px;
    outline: none;
    background: #F8F8FB;
    font-size: 17px;
    padding: 0px 20px;
    margin-bottom: 25px;
    transition: 0.2s ease;
}

form .reg_form-input_box input:focus {
    border-color: #073A3E;
}

form .reg_form-input_box .login-password_title {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

form .reg_form-input_box {
    position: relative;
}

/* Error and Valid States */
/* Error and Valid States */
input.error-border {
    border: 2px solid red !important;
    box-shadow: 0px 0px 8px rgba(255, 0, 0, 0.6);
    transition: all 0.3s ease-in-out;
}

input.valid-border {
    border: 2px solid green !important;
    box-shadow: 0px 0px 8px rgba(0, 255, 0, 0.6);
    transition: all 0.3s ease-in-out;
}

/* Password Rules */
#password-rules {
    list-style: none;
    padding-left: 0;
    font-size: 14px;
}

#password-rules li {
    color: red;
    transition: color 0.3s ease;
}

#password-rules li.valid {
    color: green;
    font-weight: bold;
}

/* Button Disabled State */
#submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Shake Animation for Error */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

input.error-border {
    animation: shake 0.3s ease-in-out;
}
