.qa-bill-captcha-panel {
    display: none;
    margin: 16px 0 8px;
    padding: 18px 16px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #fafafa;
    max-width: 520px;
}

.qa-bill-captcha-panel.is-visible {
    display: block;
    visibility: visible;
    position: relative;
    z-index: 5;
}

.qa-bill-captcha-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px;
}

.qa-bill-captcha-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.qa-captcha-canvas-wrap {
    border: 1px solid #999;
    border-radius: 4px;
    background: #fff;
    padding: 2px;
    line-height: 0;
    flex: 0 0 auto;
}

#qaCaptchaCanvas {
    display: block;
    width: 168px;
    height: 48px;
}

.qa-captcha-input.qa-captcha-input-loading {
    opacity: 0.55;
    pointer-events: none;
    background-image: linear-gradient(
        90deg,
        rgba(156, 0, 88, 0.08) 0%,
        rgba(156, 0, 88, 0.2) 50%,
        rgba(156, 0, 88, 0.08) 100%
    );
    background-size: 200% 100%;
    animation: qaCaptchaFieldShimmer 1s ease-in-out infinite;
}

@keyframes qaCaptchaFieldShimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

.qa-captcha-input {
    flex: 1 1 120px;
    min-width: 120px;
    max-width: 160px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.qa-captcha-human {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #444;
    user-select: none;
    cursor: pointer;
}

.qa-captcha-human input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.qa-captcha-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.qa-captcha-refresh {
    background: none;
    border: none;
    color: #9c0058;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.qa-captcha-error {
    display: none;
    color: #c0392b;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
}

.qa-captcha-error.is-visible {
    display: block;
}

.qa-captcha-continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    background: #9c0058;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(156, 0, 88, 0.25);
}

.qa-captcha-continue:hover {
    background: #88004d;
}

.qa-captcha-continue span {
    text-decoration: none !important;
}

.qa-captcha-continue .qa-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-decoration: none !important;
    opacity: 1;
    margin-top: -1px;
}

html.qa-lang-ar .qa-captcha-continue {
    flex-direction: row-reverse;
}
