/**
 * Honeypot Anti-Spam CSS
 * 
 * This file contains styles to hide honeypot fields from users
 * while keeping them accessible to bots.
 */

/* Hide honeypot fields completely from users */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure honeypot fields are not focusable */
.honeypot-field input,
.honeypot-field textarea,
.honeypot-field select {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    tabindex: -1 !important;
}

/* Remove focus outline from honeypot fields */
.honeypot-field:focus,
.honeypot-field input:focus,
.honeypot-field textarea:focus,
.honeypot-field select:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Ensure honeypot fields don't affect layout */
.honeypot-field,
.honeypot-field * {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

/* Additional protection for screen readers */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .honeypot-field {
        -webkit-appearance: none !important;
        appearance: none !important;
    }
}

/* Ensure honeypot fields are not visible in print */
@media print {
    .honeypot-field {
        display: none !important;
    }
}
