.ec-hcaptcha-overlay[hidden], .ec-hcaptcha-overlay [hidden] { display: none !important; }
.ec-hcaptcha-overlay { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 8px; background: rgba(0,0,0,.45); }
.ec-hcaptcha-dialog { position: relative; box-sizing: border-box; width: 390px; max-width: 100%; max-height: calc(100dvh - 16px); overflow: auto; border: 0; border-radius: 4px; background: #fff; color: rgba(0,0,0,.85); box-shadow: 0 3px 6px -4px rgba(0,0,0,.12), 0 6px 16px rgba(0,0,0,.08), 0 9px 28px 8px rgba(0,0,0,.05); }
.ec-hcaptcha-header { display: block; padding: 30px 30px 0; margin: 0; border: 0; background: transparent; }
.ec-hcaptcha-dialog h2 { margin: 0; padding: 0; padding-inline-end: 32px; color: inherit; font: inherit; font-size: 16px; font-weight: 500; line-height: 22px; text-align: start; }
.ec-hcaptcha-dialog .ec-hcaptcha-close { position: absolute; top: 22px; inset-inline-end: 22px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; min-width: 0; padding: 0; margin: 0; border: 0; border-radius: 4px; box-shadow: none; background: transparent; color: rgba(0,0,0,.45); font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.ec-hcaptcha-dialog .ec-hcaptcha-close:hover { color: rgba(0,0,0,.85); background: #f5f5f5; }
.ec-hcaptcha-body { padding: 20px 0 30px; text-align: center; }
#ec-hcaptcha-widget { display: flex; justify-content: center; box-sizing: border-box; min-height: 100px; padding: 24px 0; }
.ec-hcaptcha-dialog p { margin: 0 24px 12px; font-size: 14px; line-height: 1.5; }
.ec-hcaptcha-dialog p:empty { display: none; }
.ec-hcaptcha-dialog .ec-hcaptcha-retry { cursor: pointer; padding: 8px 16px; border: 1px solid #ccc; border-radius: 4px; background: #f5f5f5; color: #171717; font: inherit; font-size: 14px; }
.ec-hcaptcha-dialog button:focus-visible { outline: 2px solid #333; outline-offset: 3px; }
@media (max-width: 767px) {
    .ec-hcaptcha-dialog { width: 344px; }
    .ec-hcaptcha-header { padding: 20px 20px 0; }
    .ec-hcaptcha-dialog .ec-hcaptcha-close { top: 14px; inset-inline-end: 14px; }
    .ec-hcaptcha-body { padding: 20px 0; }
}
