/* 中国内地用户重定向弹框样式 - 简洁版 */
.china-redirect-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease;
}

.china-redirect-modal.show {
    display: flex;
}

.china-redirect-modal-content {
    background: white;
    border-radius: var(--border-radius-large, 12px);
    padding: 24px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.china-redirect-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color, #1d1d1f);
    margin-bottom: 12px;
    text-align: center;
}

.china-redirect-modal-body {
    margin-bottom: 20px;
}

.china-redirect-modal-text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-color-secondary, #86868b);
    margin-bottom: 8px;
}

.china-redirect-modal-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.china-redirect-modal-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: var(--background-color, #f5f5f7);
    border-radius: var(--border-radius-base, 8px);
    cursor: pointer;
    transition: background-color 0.2s;
}

.china-redirect-modal-checkbox:hover {
    background: #e8e8ed;
}

.china-redirect-modal-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-color, #0066cc);
}

.china-redirect-modal-checkbox label {
    font-size: 14px;
    color: var(--text-color-secondary, #86868b);
    cursor: pointer;
    user-select: none;
}

.china-redirect-modal-buttons {
    display: flex;
    gap: 10px;
}

.china-redirect-modal-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius-base, 8px);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-family);
}

.china-redirect-modal-btn-primary {
    background: var(--primary-color, #0066cc);
    color: white;
}

.china-redirect-modal-btn-primary:hover {
    background: var(--primary-color-dark, #0051d5);
}

.china-redirect-modal-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.china-redirect-modal-btn-secondary {
    background: transparent;
    color: var(--text-color, #1d1d1f);
    border: 1px solid var(--border-color, #d2d2d7);
}

.china-redirect-modal-btn-secondary:hover {
    background: var(--background-color, #f5f5f7);
}

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

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

/* 移动端适配 */
@media (max-width: 768px) {
    .china-redirect-modal-content {
        padding: 20px;
        max-width: 90%;
    }

    .china-redirect-modal-title {
        font-size: 18px;
    }

    .china-redirect-modal-text {
        font-size: 14px;
    }

    .china-redirect-modal-buttons {
        flex-direction: column-reverse;
    }

    .china-redirect-modal-btn {
        width: 100%;
    }
}
