 /* 提示消息容器（核心修改：居中顶部） */
 .notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 380px;
    max-width: 90vw; /* 适配移动端 */
}

/* 提示消息基础样式 */
.notification {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 12px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    animation: fadeIn 0.3s ease-out forwards, fadeOut 0.3s ease-in forwards 3.7s;
    opacity: 0;
    transform: translateY(-20px);
}

/* 动画调整（从顶部滑入） */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* 图标样式 */
.notification-icon {
    margin-right: 12px;
    font-size: 20px;
}

/* 文本样式 */
.notification-content {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

/* 关闭按钮 */
.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 16px;
    padding: 2px;
    transition: color 0.2s;
}

.notification-close:hover {
    color: #fff;
}

/* 不同类型提示的样式 */
.notification-success {
    background-color: #52c41a;
    border-left: 4px solid #389e0d;
}

.notification-error {
    background-color: #f5222d;
    border-left: 4px solid #c41e2a;
}

.notification-warning {
    background-color: #faad14;
    border-left: 4px solid #d48806;
}

.notification-info {
    background-color: #1890ff;
    border-left: 4px solid #096dd9;
}
/* 提示消息的相关css到这里结束 */