/**
 * cf7-otp-style.css — v3.1
 * Matches the reference UI exactly:
 *   - Light blue rounded mobile input
 *   - Teal "Get OTP" button (becomes gray "Sending…" / "Verified ✔")
 *   - Clean bordered OTP box, turns green on success
 */

.otp-wrapper {
    max-width: 480px;
    margin: 10px 0;
}

/* ── Mobile number field ─────────────────────────────────────────────── */
.otp-mobile-row {
    
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.otp-mobile-row p{display: flex;}

.otp-mobile-row br,
#cf7-otp-input-area br {
    display: none;
}



.otp-mobile-row input[type="tel"],
.otp-mobile-row input[name="your-mobile"] {
    width: 100%;
    box-sizing: border-box;
    display: block;
    border: none;
    outline: none;
    margin: 10px;
    width: calc(100% - 20px);
    padding: 14px 18px;
    font-size: 16px;
    color: #333;
    background: #e8eefc;
    border-radius: 24px;
}

/* ── Get OTP button ───────────────────────────────────────────────────── */
#cf7-send-otp {
    display: block;
    width: 37%;
    background-color: #1075AC;
    color: #fff;
    border: none;
    padding: 13px 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.otp-mobile-row span input{
        border-radius: 50px 0px 0px 50px;
}

#cf7-send-otp:hover:not(:disabled) {
    background-color: #1075AC;
}

#cf7-send-otp:disabled {
    background-color: #9bb7ba;
    color: #fff;
    cursor: not-allowed;
}

.otp-check {
    display: inline-block;
    margin-left: 4px;
}

/* ── OTP input box ────────────────────────────────────────────────────── */
#cf7-otp-input-area {
    margin-top: 16px;
}

#cf7-otp-input {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #4fb3bf;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 16px;
    letter-spacing: 6px;
    color: #444;
    outline: none;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

#cf7-otp-input::placeholder {
    letter-spacing: normal;
    color: #999;
}

#cf7-otp-input:focus {
    border-color: #1a7a8a;
}

#cf7-otp-input.otp-success {
    border-color: #2e7d32;
    background-color: #f7faf7;
    color: #2e7d32;
}

#cf7-otp-input.otp-error {
    border-color: #c62828;
    background-color: #fdf5f5;
}

#cf7-otp-input:disabled {
    background-color: #f5f5f5;
    color: #777;
}

/* ── Timer / resend / status ──────────────────────────────────────────── */
#cf7-otp-timer {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 8px;
}

#cf7-resend-otp {
    background: none;
    border: none;
    color: #1a7a8a;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    margin-top: 6px;
    font-size: 14px;
    display: block;
}

#cf7-otp-status {
    font-size: 14px;
    margin-top: 10px;
}

/* ── Mobile responsiveness ───────────────────────────────────────────── */
@media (max-width: 480px) {
    .otp-mobile-row {
        border-radius: 8px;
    }
    #cf7-send-otp {
        padding: 14px 0;
    }
}