 
        .otp-confirm-btn {
    min-width: 180px;
    height: 52px;
    padding: 0 24px;
    margin-top: 18px;
    font-size: 18px;
    font-weight: bold;
    border: 0;
    border-radius: 10px;
    background: #007bff;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.otp-confirm-btn:hover {
    background: #0069d9;
}

.otp-confirm-btn:active {
    transform: scale(0.98);
}

        .otp-input-wrapper {
            display: flex;
            justify-content: center;
            gap: 12px;
            direction: ltr; /* جهت چپ‌چین برای اعداد */
            margin: 20px 0;
        }

        .otp-digit {
            width: 55px;
            height: 55px;
            text-align: center;
            font-size: 24px;
            font-weight: bold;
            border: 2px solid #ccc;
            border-radius: 10px;
            outline: none;
            transition: all 0.25s ease-in-out;
            background-color: #f9f9f9;
        }

        .otp-digit:focus {
            border-color: #007bff; /* رنگ آبی در حالت فوکوس */
            background-color: #fff;
            box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
        }

        /* مخفی کردن دکمه‌های بالا و پایین عددساز در مرورگرها */
        .otp-digit::-webkit-outer-spin-button,
        .otp-digit::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        .otp-digit {
            -moz-appearance: textfield;
        }
  
.captcha-field {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    direction: rtl !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
}

/* عنوان کپچا */
.captcha-field .captcha-title {
    display: inline-block !important;
    width: auto !important;
    min-width: 90px !important;
 padding margin: 0 10px 0 0 !important;
    padding: 0 !important;
    text-align: right !important;
    white-space: nowrap !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* ردیف ورودی‌ها و تصویر */
.captcha-field .captcha-row-fixed {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 auto !important;
    direction: ltr !important;
    width: auto !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 10px !important;
    float: none !important;
    clear: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* محفظه دو ورودی */
.captcha-field .otp-captcha {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    direction: ltr !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 6px !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
}

/* هر رقم */
.captcha-field .otp-digit {
    display: block !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #cfcfcf !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #333 !important;
    text-align: center !important;
    direction: ltr !important;
    font-size: 18px !important;
    line-height: 34px !important;
    font-family: Arial, Tahoma, sans-serif !important;
    outline: none !important;
    box-shadow: none !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* حالت فوکوس */
.captcha-field .otp-digit:focus {
    border-color: #ff6600 !important;
    box-shadow: 0 0 4px rgba(255, 102, 0, 0.35) !important;
}

/* محفظه تصویر */
.captcha-field .captchalogin-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
}

/* تصویر کپچا */
.captcha-field .captcha-image,
.captcha-field .captchalogin-box img {
    display: block !important;
    width: auto !important;
    height: 36px !important;
    max-width: 100px !important;
    min-width: 70px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    object-fit: contain !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* جلوگیری از اثر استایل‌های عمومی قالب */
.captcha-field,
.captcha-field *,
.captcha-field *::before,
.captcha-field *::after {
    box-sizing: border-box !important;
}

.captcha-field br {
    display: none !important;
}

/* ریسپانسیو برای صفحه‌های باریک */
@media screen and (max-width: 480px) {
    .captcha-field {
        align-items: flex-start !important;
    }

    .captcha-field .captcha-title {
        min-width: 80px !important;
        margin-right: 5px !important;
        font-size: 12px !important;
    }

    .captcha-field .captcha-row-fixed {
        gap: 6px !important;
    }

    .captcha-field .otp-captcha {
        gap: 4px !important;
    }

    .captcha-field .otp-digit {
        flex-basis: 32px !important;
        width: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        line-height: 30px !important;
        font-size: 16px !important;
    }

    .captcha-field .captchalogin-box {
        height: 36px !important;
    }

    .captcha-field .captcha-image,
    .captcha-field .captchalogin-box img {
        height: 32px !important;
        max-width: 85px !important;
    }
}
