/* Anti-Bot Protection Styles */

/* Hide honeypot fields */
input[name="website_url"],
input[type="text"][style*="position:absolute"],
input[style*="left:-9999px"] {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Prevent automated form filling */
input[autocomplete="off"],
select[autocomplete="off"] {
    -webkit-autofill: none;
    -moz-autofill: none;
    -o-autofill: none;
    -khtml-autofill: none;
}

/* Bot detection indicator (hidden) */
.bot-detection-indicator {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Rate limiting warning */
.rate-limit-warning {
    background-color: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
    display: none;
}

.rate-limit-warning.show {
    display: block;
    animation: shake 0.5s;
}

/* Suspicious activity warning */
.suspicious-activity {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
    display: none;
}

.suspicious-activity.show {
    display: block;
}

/* Verification loading state */
.verification-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.verification-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Bot blocked message */
.bot-blocked {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

.bot-blocked h3 {
    margin-top: 0;
    color: #721c24;
}

.bot-blocked p {
    margin-bottom: 0;
}

/* Security badge */
.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: #e8f5e9;
    border: 1px solid #4caf50;
    border-radius: 4px;
    color: #2e7d32;
    font-size: 12px;
    margin-top: 10px;
}

.security-badge i {
    color: #4caf50;
}

/* Prevent right-click context menu (optional - can be disabled) */
/* 
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
*/

/* Disable text selection on sensitive elements */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Bot detection overlay (hidden by default) */
.bot-detection-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.bot-detection-overlay.show {
    display: flex;
}

.bot-detection-overlay .content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    text-align: center;
}

.bot-detection-overlay .content h2 {
    color: #dc3545;
    margin-bottom: 20px;
}

.bot-detection-overlay .content p {
    color: #666;
    margin-bottom: 20px;
}

