/* Doplňky k původnímu stylesheetu (styles.css = beze změny z Lovable buildu) */

[hidden] { display: none !important; }

/* Toasty – vzhled podle knihovny sonner (richColors, top-center) */
#toaster {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999999;
  width: 356px;
  max-width: calc(100vw - 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: none;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity .4s, transform .4s;
}
.toast-in { opacity: 1; transform: translateY(0); }
.toast-out { opacity: 0; transform: translateY(-100%); }
.toast-icon { display: flex; flex-shrink: 0; width: 16px; height: 16px; margin-left: -3px; margin-right: 4px; }
.toast-icon svg { width: 16px; height: 16px; }
.toast-title { font-weight: 500; }
.toast-success { background: hsl(143, 85%, 96%); border-color: hsl(145, 92%, 87%); color: hsl(140, 100%, 27%); }
.toast-error { background: hsl(359, 100%, 97%); border-color: hsl(359, 100%, 94%); color: hsl(360, 100%, 45%); }
