/**
 * cloudflare-turnstile.css
 * Cloudflare Turnstile人机验证样式
 */

/* 模态框容器 - 添加高斯模糊和蓝色调 */
.turnstile-modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 25, 42, 0.7); /* 深蓝色半透明背景 */
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* 模态框内容 - 科技蓝主题 */
.turnstile-modal-content {
    background-color: rgba(18, 32, 56, 0.9); /* 深蓝色背景 */
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 
                0 0 20px rgba(66, 133, 244, 0.2), /* 蓝色光晕 */
                0 0 0 1px rgba(66, 133, 244, 0.1);
    max-width: 380px;
    width: 100%;
    text-align: center;
    animation: modalFadeIn 0.3s ease;
    border: 1px solid rgba(66, 133, 244, 0.2); /* 淡蓝色边框 */
    color: #fff;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 标题样式 */
.turnstile-modal-content h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 描述文本 */
.turnstile-modal-content p {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.5;
}

/* Turnstile容器 */
#turnstile-container {
    display: flex;
    justify-content: center;
    min-height: 100px;
    background-color: rgba(24, 39, 65, 0.6); /* 稍微深一点的蓝色 */
    border-radius: 8px;
    padding: 10px;
    border: 1px solid rgba(66, 133, 244, 0.3);
}

/* 响应式调整 */
@media (max-width: 480px) {
    .turnstile-modal-content {
        width: 90%;
        padding: 20px;
    }
} 