/*
 * hikinglist.css — palette overrides + minimal custom utilities layered on top of Bulma 1.x.
 *
 * Loaded AFTER bulma.min.css in the base layout so :root redefinitions win the cascade.
 * Pure CSS — no Sass, no build step (per spec 006 FR-015).
 *
 * Palette intent maps the pre-migration Tailwind tokens:
 *   green-600  #16a34a  (HSL 142, 76%, 36%)  → primary buttons
 *   green-700  #15803d  (HSL 142, 71%, 29%)  → brand text / logo
 *   red-600    #dc2626  (HSL   0, 72%, 51%)
 *   red-700    #b91c1c  (HSL   0, 74%, 42%)  → danger emphasis
 *   gray-50    #f9fafb  (HSL 210, 20%, 98%)  → page background
 *   gray-900   #111827  (HSL 222, 39%, 11%)  → strong body text
 */

:root {
  /* Primary — Tailwind green-600 territory */
  --bulma-primary-h: 142deg;
  --bulma-primary-s: 70%;
  --bulma-primary-l: 36%;

  /* Link — keep aligned with primary so default <a> styling stays green */
  --bulma-link-h: 142deg;
  --bulma-link-s: 71%;
  --bulma-link-l: 29%;

  /* Danger — Tailwind red-700 territory */
  --bulma-danger-h: 0deg;
  --bulma-danger-s: 74%;
  --bulma-danger-l: 42%;

  /* Page background — Tailwind gray-50 */
  --bulma-scheme-h: 210deg;
  --bulma-scheme-s: 20%;
  --bulma-scheme-main-l: 98%;
  --bulma-background-l: 96%;
  --bulma-border-l: 90%;

  /* Body text — Tailwind gray-900 strong / gray-600 weak */
  --bulma-text-strong-l: 11%;
  --bulma-text-l: 30%;
  --bulma-text-weak-l: 45%;
}

/* Logo / brand-text accent — Tailwind green-700 */
.brand-text {
  color: hsl(142deg, 71%, 29%) !important;
}
.brand-text:hover {
  color: hsl(142deg, 71%, 24%) !important;
}

/* Navbar unread-count badge — Tailwind red-100 bg / red-700 text */
.notification-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5em;
  height: 1.5em;
  padding: 0 0.5em;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: hsl(0deg, 74%, 42%);
  background-color: hsl(0deg, 93%, 94%);
  border-radius: 9999px;
}

/* Toast positioning container — top-right fixed overlay */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: calc(100vw - 2rem);
}

/* Lift-on-hover for gear cards and similar tappable surfaces */
.is-hoverable {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.is-hoverable:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Muted section background — used where Tailwind had bg-gray-50 inside a card */
.surface-muted {
  background-color: hsl(210deg, 20%, 96%);
}

/* Empty-state spacing helper used in catalog / my-lists / my-gear */
.empty-state {
  padding: 3rem 1rem;
  text-align: center;
  color: hsl(0deg, 0%, 48%);
}
