/* 新增：提升Toast类型类的优先级 */
#toast.toast-success {
    background-color: var(--green-500) !important; /* 成功绿色 */
}
#toast.toast-error {
    background-color: #ef4444 !important; /* 错误红色 */
}

/* 保留原有Toast基础样式，删除默认的background-color */
#toast {
    position: fixed;
    top: 80px;
    right: 16px;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 9999;
    color: var(--white);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#toast.show {
    opacity: 1;
    pointer-events: auto;
}

#toastIcon {
    font-size: 1.25rem;
}