/* ============================================
   MIOT Rehab Maldives — OTP Verification Styling
   ============================================ */

.otp-info-banner {
   display: flex;
    align-items: center;
    gap: 16px;
    background: #eef3fc;
    border: 1px solid #d3e0f5;
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.otp-shield-icon {
      flex-shrink: 0;
    color: #2e56a6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.otp-shield-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.otp-info-text {
   flex: 1;
    font-size: 14px;
    color: #2e56a6;
    font-weight: 500;
    line-height: 1.6;
}

/* ===== Hidden CF7 tel field ===== */
.otp-hidden-field {
    display: none !important;
}

/* ===== Country code dropdown items ===== */

.country-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    font-size: 13.5px;
    cursor: pointer;
    border-radius: 7px;
}

.country-item:hover { background: #f0f4fa; }
.country-item.no-match { color: #9aa1ab; cursor: default; text-align: center; }
.country-dial { color: #2e56a6; font-weight: 700; font-size: 13px; }

/* ===== OTP code entry card ===== */

.otp-verify-card {
    margin-top: 16px;
    padding: 18px 20px;
    background: #f7f9fc;
    border: 1px solid #e0e5ec;
    border-radius: 16px;
    animation: otpFadeIn 0.3s ease;
}

@keyframes otpFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.otp-verify-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

#otp-status {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}

#otp-status.success { color: #1e7e34; }
#otp-status.error { color: #e11c3e; }

/* ===== Lock divider + icon ===== */

.lock-divider {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 4px;
    width: 100%;

}

.lock-line {
    flex: 1 1 auto !important;
    height: 1px;
    background: repeating-linear-gradient(90deg, #c3cfe6 0, #c3cfe6 5px, transparent 5px, transparent 11px);
}

.lock-icon-circle {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e7edf8;
    color: #8b9dc3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
}

.lock-icon-circle svg {
    width: 16px;
    height: 16px;
}

.lock-icon-circle.unlocked {
    background: #e0f5e4;
    color: #1e7e34;
}

/* ===== Locked fieldset (rest of form) ===== */

.locked-fields {
    position: relative;
    opacity: 0.4;
    filter: grayscale(70%);
    pointer-events: none;
    transition: opacity 0.35s ease, filter 0.35s ease;
    border: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.locked-fields.unlocked {
    opacity: 1;
    filter: grayscale(0%);
    pointer-events: auto;
}

/* ===== Force Send OTP / Verify buttons inline (overrides theme .btn defaults) ===== */

#send-otp-btn,
#verify-otp-btn {
    display: inline-flex !important;
    width: auto !important;
    float: none !important;
    position: static !important;
    margin: 0 !important;
}

/* ===== Responsive ===== */

@media (max-width: 576px) {
    .otp-info-banner { padding: 14px 16px; }
}