/* ModulHub Toast — shared feedback-komponent */

.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
}

.toast {
  display: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  pointer-events: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  animation: toast-in 0.2s ease;
}

.toast.visible { display: block; }

.toast-success {
  background: #dcfce7; color: #15803d; border: 1px solid #86efac;
}
.toast-warning {
  background: #fef9c3; color: #92400e; border: 1px solid #fde68a;
}
.toast-error {
  background: #fdecea; color: #b42318; border: 1px solid #f5c6c2;
}
.toast-info {
  background: #e0f2fe; color: #0369a1; border: 1px solid #7dd3fc;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .toast-container { width: 90%; left: 5%; transform: none; }
  .toast { width: 100%; text-align: center; }
}
