/* کپچای عددی ۵ رقمی و ورودی OTP */
.numeric-captcha {
    margin: 4px 0 14px;
}

.numeric-captcha-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #1b4f72;
}

.numeric-captcha-label i {
    color: #2487ce;
}

.numeric-captcha-image-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.numeric-captcha-image {
    height: 52px;
    width: 168px;
    border: 1px solid #d5e3ee;
    border-radius: 10px;
    background: #f7fbfe;
    display: block;
}

.numeric-captcha-refresh {
    width: 40px;
    height: 40px;
    border: 1px solid #d5e3ee;
    border-radius: 10px;
    background: #fff;
    color: #1d6fae;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.numeric-captcha-refresh:hover,
.numeric-captcha-refresh:focus {
    background: #e8f3fb;
    border-color: #2487ce;
}

.numeric-captcha-otp {
    display: flex;
    direction: ltr;
    justify-content: space-between;
    gap: 8px;
}

.numeric-captcha-otp .captcha-digit {
    flex: 1 1 0;
    width: 44px;
    min-width: 0;
    height: 48px;
    border: 1px solid #d5e3ee;
    border-radius: 10px;
    background: #f7fbfe;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: #124265;
    caret-color: #1d6fae;
}

.numeric-captcha-otp .captcha-digit:focus {
    outline: none;
    background: #fff;
    border-color: #2487ce;
    box-shadow: 0 0 0 3px rgba(36, 135, 206, 0.15);
}

.otp-phone {
    margin: 0 0 10px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #e8f3fb;
    border: 1px solid #c5dceb;
    color: #124265;
    font-size: 13.5px;
    font-weight: 800;
    text-align: center;
    direction: rtl;
}

.otp-phone b {
    direction: ltr;
    display: inline-block;
    letter-spacing: 0.5px;
}

.otp-resend-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 12px 0 8px;
}

.otp-wait {
    margin: 0;
    flex: 1 1 auto;
    font-size: 13px;
    font-weight: 700;
    color: #1d6fae;
}

.otp-resend-btn {
    flex: 0 0 auto;
    min-height: 42px !important;
    padding: 0 14px;
    white-space: nowrap;
}

.otp-step {
    display: none;
}

.otp-step.is-visible {
    display: block;
}

@media (max-width: 575px) {
    .otp-resend-row {
        flex-wrap: wrap;
    }

    .numeric-captcha-otp {
        gap: 6px;
    }

    .numeric-captcha-otp .captcha-digit {
        height: 44px;
        font-size: 18px;
    }
}
