/**
 * WRS Anti-Spam - Frontend Styles
 * Professional honeypot hiding and form protection styles
 *
 * @package WebRankSolutions\AntiSpam
 * @since 1.0.0
 */

/**
 * Honeypot field hiding
 * Multiple techniques to fool bots that ignore CSS
 */
input.wrs-antispam-honeypot,
input[name^="wrs_antispam_"][type="text"] {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

/**
 * Screen reader only (accessibility compliance)
 */
.wrs-antispam-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/**
 * Form validation messages
 */
.wrs-antispam-error {
    display: block;
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    padding: 10px 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

.wrs-antispam-success {
    display: block;
    color: #155724;
    font-size: 14px;
    margin-top: 8px;
    padding: 10px 15px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
}

/**
 * Protected form indicator (debug mode only)
 */
.wrs-antispam-protected.wrs-debug::before {
    content: '🛡️ Protected by WRS Anti-Spam';
    display: block;
    font-size: 11px;
    color: #6c757d;
    margin-bottom: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
