/* Cloudflare Turnstile CAPTCHA Styles */

/* Turnstile Overlay - традиционная модальная реализация */
.turnstile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease;
}

.turnstile-overlay.active {
    display: flex;
}

.turnstile-overlay-content {
    background: #1a1a1a;
    border: 1px solid #00f3ff;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 243, 255, 0.2);
}

.turnstile-overlay-content h3 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
    color: #00f3ff;
}

.turnstile-overlay-content p {
    margin: 0 0 1.5rem 0;
    color: #a0a0a0;
    font-size: 0.95rem;
}

.turnstile-widget-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 65px;
}

.cf-turnstile {
    display: inline-block;
}

.cf-turnstile iframe {
    max-width: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .turnstile-overlay-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .turnstile-overlay-content h3 {
        font-size: 1.1rem;
    }
    
    .cf-turnstile {
        transform: scale(0.9);
        transform-origin: center;
    }
}

@media (max-width: 360px) {
    .turnstile-overlay-content {
        margin: 0.75rem;
        padding: 1.25rem;
    }
    
    .cf-turnstile {
        transform: scale(0.85);
    }
}
