body {
    background-color: skyblue;
}

/* Container des notifications */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Style général du toast */
.toast {
    min-width: 250px;
    padding: 12px 18px;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: slideIn 0.4s ease, fadeOut 0.5s ease 4.5s forwards;
}

/* Différents types */
.toast.success { background-color: #28a745; }  /* Vert */
.toast.danger { background-color: #dc3545; }   /* Rouge */
.toast.warning { background-color: #ffc107; color: #000; } /* Jaune */
.toast.info { background-color: #17a2b8; }     /* Bleu */

/* Animation d'apparition */
@keyframes slideIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

/* Animation de disparition */
@keyframes fadeOut {
    to { opacity: 0; transform: translateX(100%); }
}
