/* Seaman Pricing — base styles (extends Tailwind CDN) */

body {
  font-family: "Sarabun", "Noto Sans Thai", system-ui, -apple-system, sans-serif;
  background: #f8fafc;
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Sticky header */
.app-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid #e2e8f0;
}

/* Number cell — tabular */
.tabular { font-variant-numeric: tabular-nums; }

/* Traffic light badge */
.badge-light {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.125rem 0.625rem; border-radius: 9999px;
  font-size: 0.8125rem; font-weight: 600; border-width: 1px;
}

/* Mobile-first */
@media (max-width: 640px) {
  .scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
