/* SOULULAB - Yandex SmartCaptcha */
.soulu-smartcaptcha {
    width: 100%;
    min-height: 100px;
    margin: 18px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    border-radius: 18px;
    transition: box-shadow .2s ease, background .2s ease;
}

.soulu-smartcaptcha.is-required {
    background: rgba(255, 255, 255, .34);
    box-shadow: 0 0 0 2px rgba(var(--base-rgb, 148, 184, 207), .32), 0 10px 26px rgba(40, 55, 68, .08);
}

.soulu-smartcaptcha.is-error {
    min-height: 0;
}

.sla-offer__form .soulu-smartcaptcha {
    --captcha-accent: var(--sla-rgb, var(--base-rgb, 148, 184, 207));
    margin: 22px 0 16px;
}

.sla-offer__form .soulu-smartcaptcha.is-required {
    box-shadow: 0 0 0 2px rgba(var(--captcha-accent), .34), 0 12px 30px rgba(var(--captcha-accent), .10);
}

@media (max-width: 420px) {
    .soulu-smartcaptcha {
        margin: 16px 0;
    }
}

/* Callback modal: keep SmartCaptcha stable without moving the dialog content. */
.soulu-callback__form .soulu-smartcaptcha {
    flex: 0 0 auto;
    width: 100%;
    min-height: 100px;
    margin: 18px 0 4px;
}

.soulu-callback__form .soulu-smartcaptcha > div,
.soulu-callback__form .soulu-smartcaptcha iframe {
    max-width: 100% !important;
}

.soulu-callback__dialog {
    scroll-behavior: auto !important;
    overscroll-behavior: contain;
}

@media (max-width: 620px) {
    .soulu-callback__form .soulu-smartcaptcha {
        margin-top: 16px;
        margin-bottom: 2px;
    }
}
