/**
 * Universal Honeypot Anti-Spam - Frontend Styles
 * 
 * These styles make the honeypot field completely invisible to human users
 * while remaining detectable by spam bots.
 */

/* Primary hiding method - Absolute positioning off-screen */
.uhas-honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Additional hiding for screen readers */
.uhas-honeypot-field label,
.uhas-honeypot-field input {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Ensure no visibility on any device */
@media screen and (max-width: 9999px) {
    .uhas-honeypot-field {
        display: block !important;
        visibility: hidden !important;
    }
}

/* High specificity to override theme styles */
body .uhas-honeypot-field,
html body .uhas-honeypot-field,
body form .uhas-honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Prevent any interaction */
.uhas-honeypot-field * {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Accessibility: Completely hide from screen readers while keeping in DOM */
.uhas-honeypot-field[aria-hidden="true"] {
    speak: none !important;
    -webkit-speak: none !important;
}
