/* Turnstile Verification Page Styles */
.turnstile-verification-page {
    background: linear-gradient(135deg, #4768fb 0%, #11e5de 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

.verification-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.verification-container .logo {
    max-width: 120px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.verification-container .logo:hover {
    transform: scale(1.05);
}

.verification-title {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.8rem;
}

.verification-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.5;
}

.error-message {
    color: #dc3545;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 20%, 40%, 60%, 80%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
}

.cf-turnstile {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.verification-footer {
    margin-top: 30px;
    color: #666;
    font-size: 0.9rem;
}

.verification-footer a {
    color: #667eea;
    text-decoration: none;
}

.verification-footer a:hover {
    text-decoration: underline;
}

/* Status indicator for admin pages */
.turnstile-status {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0;
}

.turnstile-status details {
    margin-top: 10px;
}

.turnstile-status summary {
    cursor: pointer;
    font-weight: bold;
    color: #666;
}

.turnstile-status ul {
    margin: 10px 0;
    padding-left: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .verification-container {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .verification-title {
        font-size: 1.5rem;
    }
    
    .verification-subtitle {
        font-size: 0.9rem;
    }
}

/* Loading animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .verification-container {
        background: #2a2a2a;
        color: #fff;
    }
    
    .verification-title {
        color: #fff;
    }
    
    .verification-subtitle {
        color: #ccc;
    }
    
    .verification-footer {
        color: #ccc;
    }
}