/* HVT 5.40.0 - live CAPTCHA slots for cached WooCommerce feedback forms */
.hvt-recaptcha-live-slot,
.hvt-external-captcha-slot {
    display: block;
    clear: both;
    width: 100%;
    box-sizing: border-box;
}

.hvt-recaptcha-live-slot:empty,
.hvt-external-captcha-slot:empty {
    display: none;
}

.hvt-recaptcha-comment-form {
    display: block;
    clear: both;
    width: 100%;
    margin: 14px 0 18px;
    box-sizing: border-box;
}

.hvt-recaptcha-comment-form .g-recaptcha {
    min-height: 78px;
}

.hvt-recaptcha-comment-form .wpcaptcha-captcha-wrapper {
    margin: 0;
}

@media (max-width: 380px) {
    .hvt-recaptcha-comment-form .g-recaptcha {
        transform: scale(0.88);
        transform-origin: left top;
        margin-bottom: -8px;
    }
}


/* HVT 5.40.2 — borderless compact feedback CAPTCHA */
.hvt-recaptcha-live-slot,.hvt-external-captcha-slot{display:block;clear:both;width:100%;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-sizing:border-box}
.hvt-recaptcha-live-slot:empty,.hvt-external-captcha-slot:empty{display:none!important}
.hvt-recaptcha-comment-form{display:block;clear:both;width:100%;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;box-sizing:border-box!important}
.hvt-recaptcha-comment-form .wpcaptcha-captcha-wrapper{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-sizing:border-box!important}
.hvt-recaptcha-comment-form .wpcaptcha-captcha-question{display:inline-flex!important;align-items:center!important;gap:5px!important;flex:0 1 auto!important;min-width:0!important}
.hvt-recaptcha-comment-form .wpcaptcha-captcha-question label{display:inline!important;margin:0!important;padding:0!important;font-size:12.5px!important;font-weight:700!important;line-height:1.25!important;color:inherit!important;white-space:normal!important}
.hvt-recaptcha-comment-form .wpcaptcha-captcha-img{display:inline-block!important;width:auto!important;max-width:92px!important;height:24px!important;margin:0!important;vertical-align:middle!important;object-fit:contain!important}
.hvt-recaptcha-comment-form input.wpcaptcha-captcha-answer{flex:0 0 92px!important;width:92px!important;max-width:92px!important;height:32px!important;margin:0!important;padding:5px 7px!important;border:1px solid #d6d6d6!important;border-radius:5px!important;background:#fff!important;font-size:13px!important;line-height:1.2!important;box-sizing:border-box!important}
.hvt-recaptcha-comment-form .g-recaptcha{min-height:0!important;margin:0!important;max-width:100%!important;transform-origin:left top!important}
.hvt-recaptcha-comment-form .wpcaptcha-captcha-wrapper+br,.hvt-recaptcha-comment-form br:last-child{display:none!important}
@media(max-width:520px){.hvt-recaptcha-comment-form .wpcaptcha-captcha-wrapper{gap:5px!important}.hvt-recaptcha-comment-form .wpcaptcha-captcha-question label{font-size:12px!important}.hvt-recaptcha-comment-form input.wpcaptcha-captcha-answer{flex-basis:82px!important;width:82px!important;max-width:82px!important;height:31px!important}.hvt-recaptcha-comment-form .g-recaptcha{transform:scale(.90)!important;margin-bottom:-8px!important}}
@media(max-width:350px){.hvt-recaptcha-comment-form .wpcaptcha-captcha-question{flex:1 1 100%!important}.hvt-recaptcha-comment-form input.wpcaptcha-captcha-answer{flex:1 1 100%!important;width:100%!important;max-width:none!important}}


/* HVT 5.40.3: tighter built-in CAPTCHA layout for feedback forms */
.hvt-recaptcha-comment-form,.hvt-recaptcha-dynamic{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.hvt-recaptcha-comment-form .wpcaptcha-captcha-wrapper{display:inline-flex!important;align-items:center!important;gap:5px!important;flex-wrap:nowrap!important;width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;line-height:1.1!important}
.hvt-recaptcha-comment-form .wpcaptcha-captcha-question{display:inline-flex!important;align-items:center!important;gap:4px!important;flex:0 1 auto!important;min-width:0!important}
.hvt-recaptcha-comment-form .wpcaptcha-captcha-question label{display:inline!important;margin:0!important;padding:0!important;font-size:11.5px!important;font-weight:700!important;line-height:1.1!important;white-space:nowrap!important;color:#222!important}
.hvt-recaptcha-comment-form .wpcaptcha-captcha-img{display:inline-block!important;vertical-align:middle!important;max-height:22px!important;width:auto!important;height:22px!important}
.hvt-recaptcha-comment-form input.wpcaptcha-captcha-answer{flex:0 0 72px!important;width:72px!important;max-width:72px!important;height:30px!important;margin:0!important;padding:4px 6px!important;border:1px solid #d6d6d6!important;border-radius:4px!important;background:#fff!important;font-size:12px!important;line-height:1.1!important;box-sizing:border-box!important}
.hvt-recaptcha-comment-form .wpcaptcha-captcha-wrapper br,.hvt-recaptcha-comment-form br{display:none!important}
@media (max-width: 520px){
  .hvt-recaptcha-comment-form .wpcaptcha-captcha-wrapper{display:flex!important;flex-wrap:wrap!important;gap:4px!important;width:100%!important}
  .hvt-recaptcha-comment-form .wpcaptcha-captcha-question{flex:1 1 auto!important;min-width:0!important}
  .hvt-recaptcha-comment-form .wpcaptcha-captcha-question label{font-size:11px!important;white-space:normal!important}
  .hvt-recaptcha-comment-form input.wpcaptcha-captcha-answer{flex:0 0 68px!important;width:68px!important;max-width:68px!important;height:28px!important;font-size:11.5px!important}
}
@media (max-width: 360px){
  .hvt-recaptcha-comment-form .wpcaptcha-captcha-wrapper{display:block!important}
  .hvt-recaptcha-comment-form .wpcaptcha-captcha-question{display:flex!important;margin-bottom:4px!important}
  .hvt-recaptcha-comment-form input.wpcaptcha-captcha-answer{width:100%!important;max-width:none!important}
}


/* HVT 5.40.4: restore readable CAPTCHA typography while keeping compact spacing */
.hvt-recaptcha-comment-form .wpcaptcha-captcha-question label{font-size:14px!important;line-height:1.25!important}
.hvt-recaptcha-comment-form .wpcaptcha-captcha-img{height:24px!important;max-height:24px!important}
.hvt-recaptcha-comment-form input.wpcaptcha-captcha-answer{font-size:14px!important;height:34px!important;width:82px!important;max-width:82px!important;flex-basis:82px!important;padding:5px 7px!important}
@media(max-width:520px){
  .hvt-recaptcha-comment-form .wpcaptcha-captcha-question label{font-size:13px!important}
  .hvt-recaptcha-comment-form input.wpcaptcha-captcha-answer{font-size:14px!important;height:34px!important;width:76px!important;max-width:76px!important;flex-basis:76px!important}
}
