/**
 * WebRank Anti-Spam - Public Styles
 * Frontend styles for form protection
 */

/* Hide honeypot fields */
.webrank-as-honeypot {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* Ensure honeypot stays hidden even with high specificity */
form .webrank-as-honeypot,
.webrank-as-honeypot,
input.webrank-as-honeypot,
.webrank-as-honeypot[type="text"] {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
}

/* Additional security measures */
.webrank-as-honeypot:focus,
.webrank-as-honeypot:active,
.webrank-as-honeypot:hover {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* Prevent any potential display issues */
@media screen and (max-width: 1px) {
    .webrank-as-honeypot {
        display: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .webrank-as-honeypot {
        display: none !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .webrank-as-honeypot {
        display: none !important;
    }
}
