/* 遮罩层 */
.popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* 弹窗容器 */
.gradient-popup {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    animation: popupFadeIn 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    text-align: center;
}

/* 渐变头部 */
.popup-header {
    height: 70px;
    background: linear-gradient(135deg, #4A90E2, #9B59B6);
    position: relative;
}
.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

/* 图标 + 内容 */
.popup-body {
    padding: 20px;
}
.popup-icon {
    width: 60px;
    margin-bottom: 10px;
}
.popup-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}
.popup-content {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* 底部按钮 */
.popup-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.popup-btn {
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}
.popup-cancel {
    background: #ddd;
    color: #333;
}
.popup-confirm {
    background: #4A90E2;
    color: #fff;
}

/* 动画 */
@keyframes popupFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
