.notification {
    position: fixed;
    top: 20px; 
    left: 50%;
    transform: translate(-50%, -150%);
    width: 350px;
    padding: 15px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 300000;
    pointer-events: none; /* Évite l'interaction quand caché */
}            

.notification.show {
    transform: translate(-50%, 0); /* La notification revient à sa place */
    opacity: 1;
    pointer-events: auto; /* Active l'interaction */
}


.notification-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.notification-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.notification-message {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.notification-close {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #888;
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: #000;
}