/*
 * site.css — the only styling the HTML-only copy adds on top of the site's
 * own stylesheet.
 *
 * The React build got its toasts from `sonner`, which injects its CSS from
 * inside the JS bundle. That bundle is gone here, so the contact form's
 * success/error toast needs a stand-in. Everything else on the page is styled
 * by assets/index-*.css exactly as in the React build.
 */

.nc-toast-host {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 356px;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}

.nc-toast {
  pointer-events: auto;
  background: var(--popover, #ffffff);
  color: var(--popover-foreground, #18191b);
  border: 1px solid var(--border, rgba(24, 25, 27, 0.1));
  border-radius: var(--radius, 0.25rem);
  padding: 14px 16px;
  box-shadow:
    0 4px 12px rgba(24, 25, 27, 0.08),
    0 24px 48px -24px rgba(24, 25, 27, 0.3);
  font-family: var(--font-sans, "Inter", ui-sans-serif, system-ui, sans-serif);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.nc-toast.is-in {
  opacity: 1;
  transform: translateY(0);
}

.nc-toast[data-kind="error"] {
  border-color: rgba(184, 115, 46, 0.45);
}

.nc-toast-title {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.nc-toast-description {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: color-mix(in srgb, currentColor 70%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .nc-toast {
    transition: none;
  }
}
