.webnify-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 10000;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: flex; /* Pour aligner l'icône et le texte */
    align-items: center;
    gap: 12px; /* Espace entre l'icône et le texte */
}
.webnify-notification.active {
    opacity: 1;
    transform: translateY(0);
}
.webnify-notification.success {
    background: #059669;
    border-left: 4px solid #10b981;
}
.webnify-notification.error {
    background: #b91c1c;
    border-left: 4px solid #ef4444;
}

.webnify-notification-icon {
    font-size: 1.5rem; /* Taille de l'icône */
    line-height: 1;
    flex-shrink: 0; /* Empêche l'icône de rétrécir */
}

.webnify-notification.success .webnify-notification-icon {
    color: #10b981; /* Vert pour le succès */
}

.webnify-notification.error .webnify-notification-icon {
    color: #ef4444; /* Rouge pour l'erreur */
}

/* Animation subtile pour l'icône */
@keyframes pop-in {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.webnify-notification.active .webnify-notification-icon .fas {
    animation: pop-in 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}