/**
 * Arcanov Security - Frontend Styles
 * 
 * Minimal styles for error messages and user-facing elements
 */

.fields-required-21u90fjda {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
}

/* ============================================
   ERROR MESSAGES
   ============================================ */

.arcanov-security-error {
    background: #fff;
    border-left: 4px solid #dc3232;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.arcanov-security-error h3 {
    margin: 0 0 10px 0;
    color: #dc3232;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.arcanov-security-error h3:before {
    content: "⚠️";
    font-size: 24px;
}

.arcanov-security-error p {
    margin: 0;
    color: #444;
    line-height: 1.6;
}

.arcanov-security-error code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

/* ============================================
   RATE LIMIT NOTIFICATION
   ============================================ */

.arcanov-rate-limit-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #ffb900;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.arcanov-rate-limit-notice h3 {
    margin: 0 0 10px 0;
    color: #856404;
    font-size: 18px;
    font-weight: 600;
}

.arcanov-rate-limit-notice p {
    margin: 0;
    color: #664d03;
    line-height: 1.6;
}

.arcanov-retry-timer {
    display: inline-block;
    background: rgba(0,0,0,0.1);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    margin-left: 5px;
}

/* ============================================
   BLOCKED ACCESS
   ============================================ */

.arcanov-blocked-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.arcanov-blocked-content {
    max-width: 600px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
}

.arcanov-blocked-content h1 {
    margin: 0 0 20px 0;
    font-size: 48px;
    color: #dc3232;
}

.arcanov-blocked-content .icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.arcanov-blocked-content h2 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 24px;
}

.arcanov-blocked-content p {
    margin: 0 0 10px 0;
    color: #666;
    line-height: 1.6;
}

.arcanov-blocked-content .details {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    font-size: 14px;
}

.arcanov-blocked-content .details strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

/* ============================================
   HONEYPOT (HIDDEN)
   ============================================ */

[data-arcanov-honeypot] {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
}

/* ============================================
   LOADING STATE
   ============================================ */

.arcanov-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: #2271b1;
    animation: arcanov-spin 0.8s linear infinite;
}

@keyframes arcanov-spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   RECAPTCHA BADGE
   ============================================ */

.grecaptcha-badge {
    z-index: 9999;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 600px) {
    .arcanov-blocked-content {
        padding: 30px 20px;
    }
    
    .arcanov-blocked-content h1 {
        font-size: 36px;
    }
    
    .arcanov-blocked-content .icon {
        font-size: 60px;
    }
    
    .arcanov-security-error,
    .arcanov-rate-limit-notice {
        padding: 15px;
    }
}

/* ============================================
   NOSCRIPT WARNING
   ============================================ */

.arcanov-noscript-warning {
    background: #fff3cd;
    border: 2px solid #ffb900;
    padding: 20px;
    margin: 20px 0;
    border-radius: 6px;
    text-align: center;
}

.arcanov-noscript-warning h3 {
    margin: 0 0 10px 0;
    color: #856404;
}

.arcanov-noscript-warning p {
    margin: 0;
    color: #664d03;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.arcanov-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;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .arcanov-security-error,
    .arcanov-rate-limit-notice,
    .arcanov-blocked-page {
        border: 2px solid #000;
        box-shadow: none;
        background: #fff !important;
    }
}