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

.toast {
    background: var(--bg-surface-light, #1A1A1A);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    padding: 16px;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    border-left: 4px solid;
    border-image: var(--italian-flag-gradient, linear-gradient(90deg, #009246 0%, #FFFFFF 50%, #CE2B37 100%)) 1;
    color: var(--text-primary, #FFFFFF);
}

.toast-show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.toast-content i {
    font-size: 18px;
    color: var(--accent-green, #0E6B3B);
}

.toast-content span {
    color: var(--text-primary, #FFFFFF);
    font-size: 15px;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted, #B0B0B0);
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary, #FFFFFF);
}

.toast-success {
    border-left-color: var(--accent-green, #0E6B3B);
    background: rgba(14, 107, 59, 0.1);
}

.toast-success .toast-content i {
    color: var(--accent-green, #0E6B3B);
}

.toast-warning {
    border-left-color: #FFC107;
    background: rgba(255, 193, 7, 0.1);
}

.toast-warning .toast-content i {
    color: #FFC107;
}

.toast-error {
    border-left-color: var(--accent-red, #C62828);
    background: rgba(198, 40, 40, 0.1);
}

.toast-error .toast-content i {
    color: var(--accent-red, #C62828);
}

@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
        max-width: none;
    }
}
