/* Stili per il sistema di notifiche stack (NotificationService) */

.notification {
    position: fixed;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    font-size: 14px;
    font-weight: 500;
    max-width: 400px;
    transition: top 0.25s ease;
    animation: notification-slide-in 0.3s ease-out;
}

.notification--success {
    background-color: #48bb78;
    color: #fff;
}

.notification--error {
    background-color: #f56565;
    color: #fff;
}

.notification--info {
    background-color: #4299e1;
    color: #fff;
}

.notification--warning {
    background-color: #ed8936;
    color: #fff;
}

.notification--removing {
    animation: notification-slide-out 0.3s ease-in forwards;
}

@keyframes notification-slide-in {
    from {
        transform: translateX(440px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes notification-slide-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(440px);
        opacity: 0;
    }
}
