#otp-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
}

.otp-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.otp-modal-content {
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    max-width: 400px;
    width: 90%;
    margin: 50px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.otp-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.otp-input-container {
    margin: 20px 0;
}

#otp-code {
    width: 100%;
    padding: 12px 15px;
    font-size: 18px;
    text-align: center;
    letter-spacing: 5px;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
}

#otp-code:focus {
    border-color: #0073aa;
    outline: none;
}

.otp-button-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

#verify-otp-btn, #resend-otp-btn {
    flex: 1;
    padding: 12px;
    font-weight: bold;
}

#verify-otp-btn {
    background-color: #0088cc;
    color: white;
}

#resend-otp-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #0073aa; /* Optional: WordPress-style link color */
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
    transition: none;
}


.otp-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 4px;
    display: none;
    font-size: 14px;
}

.otp-message.error {
    color: #dc3232;
    background-color: #ffebeb;
}

.otp-message.success {
    color: #46b450;
    background-color: #edfaef;
}

.otp-message.info {
    color: #00a0d2;
    background-color: #e5f5fa;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .otp-modal-content {
        padding: 20px;
    }
    
    .otp-button-container {
        flex-direction: column;
    }
}

#resend-otp-btn.disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}
