#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.notification {
    display: flex;
    padding: 12px 15px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
    background-color: white;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s, transform 0.3s;
    justify-content: space-between;
    align-items: flex-start;
    border-left: 4px solid #ccc;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.hiding {
    opacity: 0;
    transform: translateX(20px);
}

.notification-content {
    display: flex;
    align-items: flex-start;
}

.notification-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.notification-message {
    flex: 1;
    padding-right: 10px;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow: visible;
}

.notification-dismiss {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.2s;
    margin-left: 8px;
    padding: 0;
    line-height: 1;
}

.notification-dismiss:hover {
    opacity: 1;
}

.notification-success {
    border-left-color: #28a745;
}

.notification-success .notification-icon {
    color: #28a745;
}

.notification-error {
    border-left-color: #dc3545;
}

.notification-error .notification-icon {
    color: #dc3545;
}

.notification-warning {
    border-left-color: #ffc107;
}

.notification-warning .notification-icon {
    color: #ffc107;
}

.notification-info {
    border-left-color: #00bfb3; /* Vinted-ish teal come nella navbar */
}

.notification-info .notification-icon {
    color: #00bfb3;
}

@media (max-width: 576px) {
    #notification-container {
        width: 100%;
        right: 0;
        top: 0;
        padding: 10px;
    }
}