.smartcaptcha-block {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    margin-block: 8px;
}

.smartcaptcha-widget {
    width: 100%;
    min-width: 0;
    min-height: 100px;
}

.smartcaptcha-widget iframe {
    max-width: 100%;
}

.smartcaptcha-status,
.smartcaptcha-error {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.smartcaptcha-status {
    color: var(--muted, #606a80);
}

.smartcaptcha-error {
    color: var(--danger, #b42318);
}

.smartcaptcha-block .smartcaptcha-retry {
    width: auto;
    min-height: 40px;
    margin-top: 10px;
    padding: 8px 14px;
    border: 1px solid var(--line-strong, #c4cbd9);
    border-radius: 8px;
    background: var(--surface, #fff);
    color: var(--accent-bright, #43569f);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.smartcaptcha-block .smartcaptcha-retry[hidden] {
    display: none;
}

.smartcaptcha-block:focus-visible,
.smartcaptcha-retry:focus-visible {
    outline: 3px solid var(--accent, #5266b7);
    outline-offset: 4px;
}

[data-smartcaptcha-submit]:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
