/* OTP Popup Styles for Custom Form Manager */
.cfm-otp-popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cfm-otp-popup {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 32px 28px 24px 28px;
    max-width: 350px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: cfmOtpPopupFadeIn 0.3s;
}
@keyframes cfmOtpPopupFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.cfm-otp-popup h2 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #0073aa;
}
.cfm-otp-popup p {
    margin-bottom: 18px;
    color: #444;
}
.cfm-otp-popup input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 1.1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 16px;
}
.cfm-otp-popup .cfm-otp-error {
    color: #a94442;
    background: #f2dede;
    border: 1px solid #ebccd1;
    border-radius: 4px;
    padding: 7px 10px;
    margin-bottom: 10px;
    font-size: 0.98em;
}
.cfm-otp-popup .cfm-otp-success {
    color: #3c763d;
    background: #dff0d8;
    border: 1px solid #d6e9c6;
    border-radius: 4px;
    padding: 7px 10px;
    margin-bottom: 10px;
    font-size: 0.98em;
}
.cfm-otp-popup button {
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 22px;
    font-size: 1em;
    cursor: pointer;
    margin: 0 5px;
    transition: background 0.2s, color 0.2s;
}
.cfm-otp-popup button:hover {
    background: #005a87;
}
.cfm-otp-popup .cfm-otp-resend-btn.cfm-otp-resend-disabled {
    background: #aaa !important;
    color: #fff !important;
    cursor: not-allowed !important;
}
.cfm-otp-popup .cfm-otp-resend-btn.cfm-otp-resend-ready {
    background: #27ae60 !important;
    color: #fff !important;
    cursor: pointer !important;
    box-shadow: 0 0 0 2px #b6f5d8;
}
.cfm-otp-popup .cfm-otp-popup-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.3em;
    color: #888;
    cursor: pointer;
}
@media (max-width: 480px) {
    .cfm-otp-popup {
        max-width: 95vw;
        padding: 18px 6vw 16px 6vw;
    }
}
