/* 自定义消息提示框样式 */
.custom-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    min-width: 300px;
    max-width: 500px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    padding: 14px 18px;
    z-index: 10000;
    border-left: 4px solid;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* 显示状态 */
.custom-message-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* 隐藏状态 */
.custom-message-hide {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px);
    pointer-events: none;
}

.custom-message-success {
    border-left-color: #67c23a;
}

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

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

.custom-message-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 14px;
}

.custom-message-success .custom-message-icon {
    background: rgba(103, 194, 58, 0.1);
    color: #67c23a;
}

.custom-message-error .custom-message-icon {
    background: rgba(245, 108, 108, 0.1);
    color: #f56c6c;
}

.custom-message-warning .custom-message-icon {
    background: rgba(230, 162, 60, 0.1);
    color: #e6a23c;
}

.custom-message-content {
    flex: 1;
    color: #303133;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .custom-message {
        min-width: 280px;
        max-width: 90%;
        padding: 12px 16px;
    }
}
