/* 法律风险声明弹窗样式 - 冷色调终端风格 */
.warning-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* 黑色高透明度蒙版 */
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.warning-modal-overlay.show {
    display: flex;
}

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

.warning-modal-content {
    background-color: #1A1A1A; /* 深碳灰背景 */
    padding: 30px;
    border-radius: 4px; /* 统一的微小圆角 */
    max-width: 450px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: slideUp 0.3s ease;
}

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

/* 标题 */
.warning-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #D0D0D0; /* 冷灰色 */
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 警告图标 */
.warning-modal-icon {
    font-size: 40px;
    color: #FFC107; /* 高亮金色 */
    margin-bottom: 20px;
    line-height: 1;
}

/* 核心正文 */
.warning-modal-text {
    font-size: 14px;
    color: #A0A0A0; /* 冷灰色 */
    line-height: 1.6;
    margin-bottom: 30px;
}

/* 强调文字 */
.warning-modal-text strong {
    color: #E0E0E0;
    font-weight: 600;
}

/* 按钮操作 */
.warning-modal-actions {
    display: flex;
    justify-content: center;
}

.warning-modal-close {
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    border: none;
    background-color: #0D0D0D; /* 实心深黑背景 */
    color: #D0D0D0; /* 冷白文字 */
}

.warning-modal-close:hover {
    background-color: #262626;
}

/* 白色主题适配 */
[data-theme="light"] .warning-modal-overlay {
    background-color: rgba(0, 0, 0, 0.7); /* 白色主题下稍浅的遮罩 */
}

[data-theme="light"] .warning-modal-content {
    background-color: #ffffff; /* 白色背景 */
    border: 1px solid #e0e0e0; /* 浅色边框 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .warning-modal-title {
    color: #2a2a2a; /* 深色文字 */
}

[data-theme="light"] .warning-modal-text {
    color: #666666; /* 深灰色文字 */
}

[data-theme="light"] .warning-modal-text strong {
    color: #2a2a2a; /* 深色强调文字 */
}

[data-theme="light"] .warning-modal-close {
    background-color: #f0f0f0; /* 浅灰背景 */
    color: #2a2a2a; /* 深色文字 */
    border: 1px solid #e0e0e0; /* 浅色边框 */
}

[data-theme="light"] .warning-modal-close:hover {
    background-color: #e0e0e0; /* hover时稍深 */
}

/* 响应式 */
@media (max-width: 768px) {
    .warning-modal-content {
        padding: 24px;
        max-width: 90%;
    }
    
    .warning-modal-title {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .warning-modal-icon {
        font-size: 36px;
        margin-bottom: 16px;
    }
    
    .warning-modal-text {
        font-size: 13px;
        margin-bottom: 24px;
    }
    
    .warning-modal-close {
        padding: 10px 20px;
        font-size: 13px;
    }
}


