/*TOASTMM*/
.notification-top {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 400px;
    z-index: 1000;
    perspective: 1000px; /* Ajout de perspective pour l'effet 3D */
    transition: transform 0.3s ease;
}
.notification-top:hover > div {
	display: block !important;
	transform: initial !important;
	position: relative;
	margin: 5px 0;
}
.notification-top:hover > div:first-child
{
	margin-top: 0px;
}
.notification-top:hover > div .close-toast
{
	z-index: 100;
}

.notif-top {
    background-color: #fff;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(-20px) translateX(10px) scale(0.9); /* Effet empilé initial */
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute; /* Modifié pour un positionnement absolu */
    pointer-events: auto;
    width: 100%;
}

.notif-top > div
{
	display: flex;
	flex: 1;
	align-items: center;
}

/* Appliquer des transformations de superposition */
.notif-top.show {
    opacity: 1;
}

.notification-top .notif-top:nth-child(1) {
    transform: translateY(0px) translateX(0px) scale(1);
    z-index: 99;
}

.notification-top .notif-top:nth-child(2) {
    transform: translateY(-10px) translateX(-5px) scale(0.80);
    z-index: 98;
}

.notification-top .notif-top:nth-child(3) {
    transform: translateY(-20px) translateX(-10px) scale(0.70);
    z-index: 97;
}

.notification-top .notif-top:nth-child(4) {
    transform: translateY(-30px) translateX(-15px) scale(0.60);
    z-index: 96;
}

.icone-notif {
    margin-right: 10px;
    font-size: 22px;
}

.text-notif {
    flex: 1;
    font-size: 16px;
    font-weight: bold;
}

.close-toast {
  background: none;
	font-size: 20px;
	color: #888;
	cursor: pointer;
	position: absolute;
	top: -3px;
	left: -15px;
	z-index: 99;
	background-color: #fff;
	border: 1px solid #000;
	border-radius: 50vh;
}

.close-toast:hover {
    color: #333;
}

.notif-top.success {
    border-left: 5px solid #51a351;
}

.notif-top.error {
    border-left: 5px solid #bd362f;
}

.notif-top.warning {
    border-left: 5px solid #BD932F;
}

.notif-top.violet {
    border-left: 5px solid #932FBD;
}