.notification-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.notification {
  min-width: 280px;
  max-width: 400px;
  padding: 14px 18px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-20px);
  animation: notification-in 0.3s ease forwards;
  white-space: pre-line;
}

.notification.hide {
  animation: notification-out 0.3s ease forwards;
}

.notification--success {
  background-color: #2e7d32;
}

.notification--error {
  background-color: #c62828;
}

@keyframes notification-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes notification-out {
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}
