/**
 * JFB SMS OTP Verification Frontend Styles
 */

.jfb-otp-wrapper {
    margin-top: 10px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* Use ultra-high specificity to force styles over theme/builder defaults */
body .jfb-otp-btn,
body button.jfb-otp-btn,
body .jfb-otp-wrapper button.jfb-otp-btn,
body .jet-form-builder button.jfb-otp-btn,
body .jet-form-builder .jfb-otp-btn {
    padding: 8px 15px !important;
    background-color: #000 !important;
    background-image: none !important; /* Force remove theme gradients */
    color: #fff !important;
    border: none !important;
    border-color: transparent !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    transition: background-color 0.3s !important;
    margin-left: 5px !important;
    box-shadow: none !important;
    text-transform: none !important;
    outline: none !important;
}

body .jfb-otp-btn:hover,
body button.jfb-otp-btn:hover {
    background-color: #333 !important;
    color: #fff !important;
}

body .jfb-otp-btn:disabled,
body button.jfb-otp-btn:disabled {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
}

/* Ensure no pink border from theme */
body .jfb-otp-btn, 
body .jfb-otp-btn:focus, 
body .jfb-otp-btn:active {
    border: 0px solid transparent !important;
    box-shadow: none !important;
}

.jfb-otp-input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 150px;
    margin-right: 10px;
    font-size: 16px;
    letter-spacing: 2px;
}

.jfb-otp-status {
    margin-top: 10px;
    font-size: 14px;
}

.jfb-otp-status.success {
    color: #46b450;
}

.jfb-otp-status.error {
    color: #dc3232;
}

.send-initial-btn {
    margin-top: 10px;
    display: block;
}

.send-btn, .verify-btn {
    margin-top: 5px;
}
