/* 通知组件核心样式 - 简白风格 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 16px 24px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    border-left: 4px solid #409eff;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 不同类型的通知样式 */
.notification.success {
    border-left-color: #67c23a;
}

.notification.error {
    border-left-color: #f56c6c;
}

.notification.warning {
    border-left-color: #e6a23c;
}

/* 通知显示状态 */
.notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* 通知图标 */
.notification-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.notification.success .notification-icon {
    color: #67c23a;
}

.notification.error .notification-icon {
    color: #f56c6c;
}

.notification.warning .notification-icon {
    color: #e6a23c;
}

/* 通知内容 */
.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* 关闭按钮 */
.notification-close {
    font-size: 16px;
    color: #999;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: #666;
}

/* 响应式适配 - 通知组件 */
@media (max-width: 480px) {
    .notification {
        left: 20px;
        right: 20px;
        min-width: auto;
        max-width: calc(100% - 40px);
    }
}

/* 输入框错误样式（可选，配合表单使用） */
.form-control.error {
    border-color: #f56c6c;
    box-shadow: 0 0 0 4px rgba(245, 108, 108, 0.1);
}