/* toast.css - 提示框样式 */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transition: all 0.3s ease;
}

/* 不同类型的背景色 */
.toast-info {
    background-color: #4a6fa5;
}

.toast-success {
    background-color: #51cf66;
}

.toast-warning {
    background-color: #ff922b;
}

.toast-error {
    background-color: #ff6b6b;
}

/* 动画效果 */
@keyframes toast-slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toast-fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.toast-slide-in {
    animation: toast-slideIn 0.3s ease-out;
}

.toast-fade-out {
    animation: toast-fadeOut 0.3s ease-out forwards;
}
