body {
    background: #fff;
}

.cl10:after {
    content: '';
    position: fixed;
    height: 100%;
    width: 40%;
    left: 60%;
    background: #c83a23;
    z-index: -5;
}

.showPassword {
    padding: 0 0.4em;
    cursor: help;
    font-style: normal;
    position: relative;
    margin: 0 0 0 8px;
}

.hide {
    display: none;
    position: fixed;
}

.passwordStrength:hover + .hide {
    display: block;
    color: red;
}

.clear-both {
    clear: both;
}

/* Captcha refresh icon styling */
.refresh-captcha {
    padding: 4px 4px;
    border: 0px;
    font-size: 22px;
}

.refresh-captcha-small {
    padding: 4px 1px;
    border: 0px;
    font-size: 22px;
}

/* Captcha input styling */
.captcha-input-margin {
    margin-bottom: 5px;
}

/* Change password button width */
.change-password-btn {
    width: 170px;
}

/* Delete popup button styles */
.btn-yes-delete {
    background-color: forestgreen;
    color: white;
}

.btn-no-delete {
    background-color: red;
    color: white;
}

/* Div to show styling */
#divtoshow {
    font-size: smaller;
}

/* Alert div styling */
#divAlert {
    display: none;
}

/* Hidden button styling */
.btn-hidden {
    display: none;
}

/* ========== OTP Screen Styling (2FA) ========== */

/* OTP input wrapper - flexbox container for digit inputs */
.otp-input-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px;
    justify-content: center;
    margin: 15px 0;
    align-items: center;
}

/* Individual OTP digit input box */
.otp-digit {
    width: 45px !important;
    height: 45px !important;
    text-align: center !important;
    font-size: 20px !important;
    font-weight: bold !important;
    border: 2px solid #ddd !important;
    border-radius: 4px;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

/* OTP digit input on focus */
.otp-digit:focus {
    border-color: #c83a23;
    outline: none;
    box-shadow: 0 0 5px rgba(200, 58, 35, 0.3);
}

/* OTP digit input with value */
.otp-digit:not(:placeholder-shown) {
    border-color: #4CAF50;
}

/* OTP timer text */
#otpTimer {
    text-align: center;
    margin: 10px 0;
}

#otpTimer p {
    color: #c83a23;
    font-weight: bold;
    font-size: 14px;
    margin: 0;
}

#timerDisplay {
    color: #c83a23;
    font-weight: bold;
}

/* Verify OTP button */
#btnVerifyOTP {
    width: 150px;
    margin-right: 10px;
}

/* Resend OTP button */
#btnResendOTP {
    width: 150px;
    background-color: #f0ad4e;
    border-color: #eea236;
}

/* Resend button when enabled */
#btnResendOTP:not(:disabled) {
    opacity: 1;
    cursor: pointer;
}

/* Resend button when disabled */
#btnResendOTP:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* OTP info text */
.otp-info-text {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    color: #666;
}

/* OTP box container */
#otp.box {
    max-width: 500px;
}

/* OTP fieldset - ensure no float or display issues */
#otp fieldset {
    clear: both;
    overflow: visible;
}

#otp fieldset .otp-input-wrapper {
    width: 100%;
}

/* Responsive OTP inputs for mobile */
@media (max-width: 480px) {
    .otp-digit {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .otp-input-wrapper {
        gap: 5px;
    }
    
    #btnVerifyOTP, #btnResendOTP {
        width: 130px;
        font-size: 14px;
    }
}
