/* Styles pour les notifications */
#notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  width: 350px;
}

.notification {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  overflow: hidden;
  transform: translateX(400px);
  transition: all 0.4s ease;
  opacity: 0;
  display: flex;
  align-items: center;
  border-left: 5px solid #4CAF50;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification.success {
  border-left-color: #4CAF50;
}

.notification.error {
  border-left-color: #F44336;
}

.notification.info {
  border-left-color: #2196F3;
}

.notification-icon {
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.notification.success .notification-icon {
  background-color: #4CAF50;
}

.notification.error .notification-icon {
  background-color: #F44336;
}

.notification.info .notification-icon {
  background-color: #2196F3;
}

.notification-content {
  padding: 15px;
  flex-grow: 1;
}

.notification-title {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.notification-message {
  color: #666;
}

.notification-close {
  padding: 15px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
}

.notification-close:hover {
  color: #333;
}

/* Adaptation pour le thème sombre */
body.dark-theme .notification {
  background-color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-theme .notification-title {
  color: #f0f0f0;
}

body.dark-theme .notification-message {
  color: #ccc;
}

body.dark-theme .notification-close {
  color: #aaa;
}

body.dark-theme .notification-close:hover {
  color: #fff;
}
