.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background-color: var(--surface-color, #ffffff);
    color: var(--text-primary, #333333);
    border-left: 4px solid var(--primary-color, #007bff);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
    border-radius: var(--border-radius, 4px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 250px;
    max-width: 350px;
    animation: slideInRight 0.3s ease-out;
    transition: opacity 0.3s, transform 0.3s;
}

.toast.success {
    border-left-color: var(--success, #28a745);
}

.toast.error {
    border-left-color: var(--danger, #dc3545);
}

.toast.warning {
    border-left-color: var(--warning, #ffc107);
}

.toast-message {
    font-size: 14px;
    font-family: var(--font-sans, sans-serif);
}

.toast-close {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-secondary, #666666);
    margin-left: 10px;
}

.toast-close:hover {
    color: var(--text-primary, #333333);
}

.toast.fade-out {
    opacity: 0;
    transform: translateX(100%);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
