/* Ouvre le menu déroulant au survol sur desktop */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    animation: fadeIn 0.3s ease-in-out forwards;
  }
}

/* Animation de fondu/déplacement */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optionnel : petit effet au hover sur les items */
.dropdown-menu .dropdown-item:hover {
  background-color: #f5f5f5;
  color: #000;
}
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: #333;
    color: #fff;
    padding: 12px 20px;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.4s forwards;
    font-weight: 500;
}

.toast.success { background: #28a745; }
.toast.error { background: #dc3545; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}
