/* =========================================================
   SpamOff – Spam & Bot Protection for WordPress — captcha styling
   ========================================================= */

.spamoff-bot-protection-v2 {
    margin: 12px 0 16px 0;
    clear: both;
}

/* Google's notice, shown in forms when the v3 badge is hidden */
.spamoff-bot-protection-notice {
    margin: 8px 0;
    font-size: 0.8em;
    opacity: 0.8;
}

/* Only added by the handler when the notice above is on the page, as Google requires */
.spamoff-bot-protection-hide-badge .grecaptcha-badge {
    visibility: hidden !important;
}

/* Remove box, background, border from the checkout captcha wrapper */
.woocommerce-checkout .spamoff-bot-protection-container,
.woocommerce-checkout .spamoff-bot-protection-v2,
.woocommerce-checkout .woocommerce-checkout-recaptcha-wrapper {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 12px 0 16px 0 !important;
    clear: both;
    text-align: left !important;
}

/* Make container full width */
.woocommerce-checkout .spamoff-bot-protection-v2 {
    width: 100% !important;
}

/* Force reCAPTCHA to behave like a block element */
.woocommerce-checkout .g-recaptcha {
    display: block !important;
}

/* Match spacing with Place Order button */
.woocommerce-checkout #place_order {
    width: 100%;
    margin-top: 0;
}

/* Remove theme background from Place Order wrapper */
.woocommerce-checkout .form-row.place-order {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
