/* 基础样式 */
:root {
    --primary-color: #3498db;
    --danger-color: #e74c3c;
    --text-dark: #333;
    --text-light: #666;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 蒙层样式 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
    display: none;
    backdrop-filter: blur(3px);
}

/* 弹窗容器 */
.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 600px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: var(--transition);
}

/* 弹窗内容区 */
.popup-content {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

/* 弹窗标题 */
.popup-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popup-title i {
    color: var(--primary-color);
}

/* 弹窗正文 */
.popup-body {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* 关闭按钮 */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
}

.popup-close:hover {
    background: var(--danger-color);
    color: white;
    transform: rotate(90deg);
}

/* 底部按钮区 */
.popup-footer {
    display: flex;
    justify-content: flex-end;
    padding: 15px 30px;
    border-top: 1px solid #eee;
    gap: 10px;
}

.popup-btn {
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    border: none;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.secondary-btn {
    background: #f8f9fa;
    color: var(--text-dark);
    border: 1px solid #ddd;
}

.secondary-btn:hover {
    background: #e9ecef;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -45%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .popup-container {
        width: 90%;
    }
    .popup-content {
        padding: 20px;
    }
    .popup-title {
        font-size: 1.3rem;
    }
}

/* 不再显示选项 */
.dont-show-option {
    display: flex;
    align-items: center;
    margin-top: 20px;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.dont-show-option input {
    width: 16px;
    height: 16px;
}