/* reCAPTCHA Badge Styling */

/* Hide reCAPTCHA badge by default */
.grecaptcha-badge {
    display: none !important;
}

/* Show reCAPTCHA badge ONLY on pages with forms (contact, support, login, register) */
body.show-recaptcha .grecaptcha-badge {
    display: block !important;
    z-index: 999999 !important;  /* Ensure it's always on top */
    position: fixed !important;   /* Keep it fixed to viewport */
}

/* Position reCAPTCHA badge - Default */
body.show-recaptcha .grecaptcha-badge {
    bottom: 14px;
    right: 14px;
}

/* Position reCAPTCHA badge - Contact page specific */
body.show-recaptcha.contact-page .grecaptcha-badge {
    bottom: 90px !important;
}

/* Position reCAPTCHA badge - Support page specific */
body.show-recaptcha.support-page .grecaptcha-badge {
    bottom: 90px !important;
}

/* Fix reCAPTCHA logo margin */
.rc-anchor-logo-img-large {
    margin: 8px 15px 0 15px !important;
}

/* Subtle fade-in animation on page load */
@keyframes recaptchaFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body.show-recaptcha .grecaptcha-badge {
    animation: recaptchaFadeIn 0.5s ease-out;
}
