/* Toast提示样式 */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background-color: var(--toast-bg-color, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    margin-top: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    min-width: 250px;
    max-width: 350px;
    animation: slideIn 0.3s, fadeOut 0.3s 2.7s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.toast.success {
    background-color: var(--success-color, rgba(76, 175, 80, 0.9));
}

.toast.error {
    background-color: var(--error-color, rgba(244, 67, 54, 0.9));
}

.toast.info {
    background-color: var(--info-color, rgba(3, 169, 244, 0.9));
}

.toast-icon {
    margin-right: 10px;
}

.toast-content {
    flex: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
