*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark: #14204a;
  --green-mid: #14417e;
  --green-light: #1668e3;
  --green-accent: #4f8ef5;
  --tan: #f5efe6;
  --tan-dark: #e8ddd0;
  --brown: #8b5e3c;
  --text: #111;
  --text-light: #888;
  --white: #fff;
  --shadow: none;
  --radius: 12px;
  --blue: #1668e3;
  --blue-dark: #0d4eaf;
  --navy: #191e3b;
  --border: #e0e0e5;
  --ink-soft: #43485e;
  --ink-muted: #5f5f65;
}

/* vivid multi-color wash that actively shifts hue; content sits on top */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(75% 65% at 10% 0%, rgba(22,104,227,.30), transparent 68%),
    radial-gradient(70% 60% at 96% 2%, rgba(255,184,28,.34), transparent 66%),
    radial-gradient(70% 70% at 94% 96%, rgba(233,72,110,.26), transparent 68%),
    radial-gradient(72% 65% at 2% 98%, rgba(52,168,83,.28), transparent 68%),
    radial-gradient(55% 50% at 50% 55%, rgba(140,110,240,.14), transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
  body::before { animation: mav-hue 6s linear infinite; }
}
@keyframes mav-hue {
  to { filter: hue-rotate(360deg); }
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  background: #fbfbfe;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* TOP NAV */
.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.75rem;
  height: 72px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(25,30,59,.05);
}
.topnav-logo { display: flex; align-items: center; }
.logo-img { height: 50px; width: auto; opacity: 1; }
.topnav-links {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
}

/* TABS */
.tabs {
  display: flex;
  background: #fff;
  padding: 0 1rem;
  overflow-x: auto;
  gap: 0;
  border-bottom: 1px solid #ebebeb;
}
.tab {
  background: transparent;
  border: none;
  color: var(--ink-soft);
  padding: 0 .85rem;
  height: 72px;
  font-size: 1.02rem;
  font-weight: 400;
  cursor: pointer;
  border-bottom: 1.5px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
  letter-spacing: .02em;
  font-family: inherit;
}
.tab:hover { color: var(--navy); background: #f2f3f7; }
.tab.active {
  color: var(--navy);
  border-bottom-color: var(--blue);
  font-weight: 600;
}

/* MAIN */
main { flex: 1; max-width: 1080px; margin: 0 auto; padding: 2rem 1.5rem; width: 100%; }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* SEARCH CARD */
.search-card {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid #efefef;
  margin-bottom: 1.2rem;
}
.search-card h2 { font-size: 1.02rem; font-weight: 600; color: var(--text); margin-bottom: .8rem; }
.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
}
.search-row input, .search-row select {
  flex: 1;
  min-width: 140px;
  padding: .6rem .9rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: .95rem;
  color: var(--text);
  background: rgba(255,255,255,.97);
  transition: border-color .2s;
}
.search-row input:focus, .search-row select:focus {
  outline: none;
  border-color: var(--green-light);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: .6rem 1.4rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .15s;
  white-space: nowrap;
  letter-spacing: .01em;
  box-shadow: 0 2px 8px rgba(22,104,227,.25);
}
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 4px 12px rgba(22,104,227,.32); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: .3; cursor: not-allowed; }

/* RESULTS GRID */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

/* CAMP CARD */
.camp-card {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
  transition: border-color .2s;
  backdrop-filter: blur(4px);
}
.camp-card:hover { border-color: rgba(0,0,0,.18); }
.camp-card-header {
  background: #fafafa;
  color: var(--text);
  padding: .8rem 1rem;
  border-bottom: 1px solid #f0f0f0;
}
.camp-card-header h3 { font-size: .98rem; font-weight: 700; margin-bottom: .2rem; color: var(--text); }
.camp-card-header[style] h3, .camp-card-header[style] .state-badge { color: #fff; }
.camp-card-header .state-badge {
  font-size: .7rem;
  background: transparent;
  color: #aaa;
  border: 1px solid #e0e0e0;
  padding: .15rem .5rem;
  border-radius: 4px;
  display: inline-block;
}
.camp-card-body { padding: 1rem; }
.camp-detail { display: flex; gap: .4rem; font-size: .88rem; margin-bottom: .4rem; color: var(--text-light); }
.camp-detail strong { color: var(--text); }
.camp-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.camp-actions .btn-book, .camp-actions .btn-avail, .camp-actions .btn-add-trip { white-space: nowrap; }
.btn-book {
  background: #1668e3;
  color: #fff;
  border: none;
  padding: .5rem 1.05rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity .15s;
  letter-spacing: .03em;
}
.btn-book:hover { background: #0d4eaf; }
.btn-site { background: #1a73e8; }
.btn-site:hover { background: #1557b0; }
.btn-avail {
  background: #fff;
  color: #43485e;
  border: 1px solid #c6c9d3;
  padding: .5rem 1.05rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.btn-avail:hover { color: #191e3b; border-color: #191e3b; }

/* FISH CARD */
.fish-card {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
  transition: border-color .2s;
  backdrop-filter: blur(4px);
}
.fish-card:hover { border-color: rgba(0,0,0,.18); }
.fish-card-header {
  background: #fafafa;
  color: var(--text);
  padding: .8rem 1rem;
  border-bottom: 1px solid #f0f0f0;
}
.fish-card-header h3 { font-size: .95rem; font-weight: 400; margin-bottom: .2rem; color: var(--text); }
.water-badge {
  font-size: .7rem;
  background: transparent;
  color: #aaa;
  border: 1px solid #e0e0e0;
  padding: .15rem .5rem;
  border-radius: 4px;
  display: inline-block;
  margin-right: .3rem;
}
.fish-card-body { padding: 1rem; }
.species-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin: .5rem 0; }
.species-tag {
  background: #e8f4fd;
  color: #1a4a6e;
  font-size: .78rem;
  padding: .15rem .5rem;
  border-radius: 20px;
  font-weight: 400;
}
.fish-detail { font-size: .87rem; color: var(--text-light); margin-bottom: .35rem; }
.fish-detail strong { color: var(--text); }

/* GAS PRICES */
#gas-results { max-width: 700px; margin: 0 auto; }
.gas-panel {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius);
  border: 1px solid #efefef;
  padding: 1.5rem;
}
.gas-panel h3 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 1rem; }
.gas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
.gas-item {
  background: rgba(255,255,255,.97);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}
.gas-label { font-size: .8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; margin-bottom: .3rem; }
.gas-price { font-size: 2rem; font-weight: 300; color: var(--green-dark); }
.gas-unit { font-size: .75rem; color: var(--text-light); }
.gas-note {
  font-size: .82rem;
  color: var(--text-light);
  padding-top: 1rem;
  border-top: 1px solid #eee;
}
.gas-note a { color: var(--green-mid); }
.sample-badge {
  display: inline-block;
  background: #fff3cd;
  color: #856404;
  font-size: .78rem;
  padding: .2rem .6rem;
  border-radius: 20px;
  font-weight: 400;
  margin-bottom: .8rem;
}

/* AI CHAT */
.ai-container { max-width: 800px; margin: 0 auto; }
.ai-header {
  background: rgba(255,255,255,.97); border-radius: var(--radius); padding: .8rem 1rem;
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  border: 1px solid #efefef;
  margin-bottom: 1rem;
}
.ai-header h2 { font-size: 1.2rem; color: var(--green-dark); margin-bottom: .3rem; }
.ai-header p { font-size: .9rem; color: var(--text-light); }
.ai-messages {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius);
  border: 1px solid #efefef;
  padding: 1rem;
  min-height: 300px;
  max-height: 450px;
  overflow-y: auto;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.ai-msg { display: flex; }
.ai-msg.user { justify-content: flex-end; }
.ai-msg.assistant { justify-content: flex-start; }
.msg-bubble {
  max-width: 80%;
  padding: .75rem 1rem;
  border-radius: 14px;
  font-size: .92rem;
  line-height: 1.55;
  white-space: pre-wrap;
}
.ai-msg.user .msg-bubble {
  background: var(--green-mid);
  color: white;
  border-bottom-right-radius: 4px;
}
.ai-msg.assistant .msg-bubble {
  background: rgba(255,255,255,.97);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.ai-msg.assistant .msg-bubble.loading { color: var(--text-light); font-style: italic; }
.ai-input-row {
  display: flex;
  gap: .6rem;
  background: rgba(255,255,255,.97);
  border-radius: var(--radius);
  padding: .8rem;
  border: 1px solid #efefef;
  margin-bottom: .8rem;
}
.ai-input-row textarea {
  flex: 1;
  border: 2px solid #ddd;
  border-radius: 6px;
  padding: .5rem .8rem;
  font-size: .95rem;
  resize: none;
  font-family: inherit;
  transition: border-color .2s;
}
.ai-input-row textarea:focus { outline: none; border-color: var(--green-light); }
.ai-suggestions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.sugg-label { font-size: .82rem; color: var(--text-light); }
.suggestion {
  background: rgba(255,255,255,.97);
  border: 1px solid #ddd;
  color: var(--green-mid);
  padding: .35rem .8rem;
  border-radius: 20px;
  font-size: .82rem;
  cursor: pointer;
  transition: all .2s;
  font-weight: 500;
}
.suggestion:hover { background: var(--green-mid); color: white; border-color: var(--green-mid); }

/* INFO / ERROR MESSAGES */
.info-msg {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 1rem;
  font-size: .9rem;
  margin-bottom: 1rem;
}
.info-msg a { color: var(--green-mid); }
.error-msg {
  background: #fde8e8;
  border: 1px solid #f5a5a5;
  border-radius: 8px;
  padding: 1rem;
  font-size: .9rem;
  color: #9b2335;
}
.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-light);
}
.empty-state .icon { font-size: 3rem; margin-bottom: .8rem; }

/* AVAILABILITY BADGE */
.avail-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 400;
  padding: .2rem .6rem;
  border-radius: 20px;
  margin-bottom: .5rem;
}
.avail-available { background: #d4edda; color: #155724; }
.avail-limited { background: #fff3cd; color: #856404; }
.avail-full { background: #f8d7da; color: #721c24; }

/* TRAVEL WIZARD */
.travel-wizard {
  background: rgba(255,255,255,.97);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.wizard-header {
  background: #111;
  padding: 1.1rem 1.4rem;
  color: white;
}
.wizard-header h2 { font-size: 1.7rem; font-weight: 300; margin-bottom: 1rem; letter-spacing: -.3px; }
.wizard-progress { display: flex; align-items: center; gap: .8rem; }
.wizard-bar { flex: 1; height: 8px; background: rgba(255,255,255,.97); border-radius: 4px; overflow: hidden; }
.wizard-fill { height: 100%; background: var(--green-accent); border-radius: 4px; transition: width .4s ease; }
#wizard-step-label { font-size: .82rem; color: rgba(255,255,255,.8); white-space: nowrap; }

.wizard-body { padding: 2rem; }

.wizard-question { animation: fadeSlide .3s ease; }
@keyframes fadeSlide { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.wizard-q-label { font-size: 1.5rem; font-weight: 400; color: var(--text); margin-bottom: .5rem; line-height: 1.3; }
.wizard-q-sub { font-size: .95rem; color: var(--text-light); margin-bottom: 1.5rem; }
.wizard-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 1.15rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  margin-bottom: 1.2rem;
  background: #fafafa;
}
.wizard-input:focus {
  outline: none;
  border-color: var(--green-light);
  background: rgba(255,255,255,.97);
  box-shadow: 0 0 0 3px rgba(74,140,42,.12);
}
.wizard-select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 1.1rem;
  color: var(--text);
  background: #fafafa;
  margin-bottom: 1.2rem;
  cursor: pointer;
}
.wizard-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.wizard-chip {
  border: 2px solid #ddd;
  border-radius: 50px;
  padding: .65rem 1.3rem;
  font-size: 1rem;
  cursor: pointer;
  background: rgba(255,255,255,.97);
  color: var(--text);
  transition: all .2s;
  font-weight: 500;
}
.wizard-chip:hover { border-color: var(--green-light); color: var(--green-mid); }
.wizard-chip.selected { background: var(--green-mid); color: white; border-color: var(--green-mid); box-shadow: 0 2px 8px rgba(20,65,126,.3); }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; margin-top: .8rem; gap: .8rem; }
.wizard-nav .btn-primary { flex: 1; padding: 1rem; font-size: 1.1rem; border-radius: 10px; }
.wizard-answers-summary {
  background: rgba(255,255,255,.97);
  border-radius: 10px;
  padding: .9rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: .88rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .8rem;
  border-left: 3px solid var(--green-accent);
}
.wizard-answer-tag { color: var(--green-dark); font-weight: 400; }
.wizard-answer-tag span { color: var(--text-light); font-weight: 400; }
.btn-back {
  background: transparent;
  border: 2px solid #ddd;
  color: var(--text-light);
  padding: 1rem 1.2rem;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn-back:hover { border-color: var(--green-mid); color: var(--green-mid); }

/* TRAVEL PLAN OUTPUT */
.plan-hero { background: #111; color:white; border-radius:var(--radius); padding:.9rem 1.1rem; margin-bottom:1rem; }
.plan-hero h2 { font-size:1.3rem; margin-bottom:.3rem; }
.plan-meta { font-size:.85rem; opacity:.85; }
.plan-section-title { color:var(--green-dark); font-size:1.05rem; margin:1.2rem 0 .4rem; border-bottom:2px solid var(--tan-dark); padding-bottom:.3rem; }
.plan-day-title { color:var(--green-mid); font-size:.97rem; margin:.8rem 0 .2rem; }
.plan-list { padding-left:1.2rem; margin:.3rem 0 .6rem; }
.plan-list li { margin:.25rem 0; font-size:.92rem; line-height:1.55; }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-6px)} 75%{transform:translateX(6px)} }
.shake { animation: shake .3s ease; border-color:#e74c3c !important; }

.travel-plan-output {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius);
  border: 1px solid #efefef;
  padding: 1.5rem;
  margin-top: 1rem;
}
.travel-plan-output h2 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 1rem; }
.travel-plan-body {
  font-size: .93rem;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
}
.travel-plan-body strong, .travel-plan-body b { color: var(--green-dark); }
.travel-plan-actions { display: flex; gap: .6rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid #eee; }

.travel-loading {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-light);
}
.travel-loading .loading-icon { font-size: 2.5rem; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* TRIP TAB */
.trip-tab { position: relative; }
.trip-count {
  background: #e74c3c;
  color: white;
  font-size: .7rem;
  font-weight: 300;
  padding: .1rem .4rem;
  border-radius: 20px;
  margin-left: .3rem;
  vertical-align: middle;
}
.trip-count.hidden { display: none; }

.trip-header-card {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid #efefef;
  margin-bottom: 1.5rem;
}
.trip-header-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.trip-name-label { font-size: .78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: .3rem; }
.trip-name-input {
  font-size: 1.3rem;
  font-weight: 400;
  border: none;
  border-bottom: 2px solid #ddd;
  padding: .2rem .1rem;
  width: 280px;
  color: var(--green-dark);
  background: transparent;
  transition: border-color .2s;
}
.trip-name-input:focus { outline: none; border-bottom-color: var(--green-light); }
.trip-header-actions { display: flex; gap: .6rem; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--green-mid);
  color: var(--green-mid);
  padding: .5rem 1rem;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 400;
  cursor: pointer;
  transition: all .2s;
}
.btn-outline:hover { background: var(--green-mid); color: white; }
.btn-danger {
  background: transparent;
  border: 2px solid #e74c3c;
  color: #e74c3c;
  padding: .5rem 1rem;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 400;
  cursor: pointer;
  transition: all .2s;
}
.btn-danger:hover { background: #e74c3c; color: white; }

.trip-dates-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: .8rem 0;
  border-top: 1px solid #eee;
  margin-top: .8rem;
}
.trip-date-field { display: flex; flex-direction: column; }
.trip-date-input {
  font-size: .95rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  padding: .4rem .6rem;
  color: var(--text);
  background: rgba(255,255,255,.97);
  cursor: pointer;
  transition: border-color .2s;
}
.trip-date-input:focus { outline: none; border-color: var(--green-light); }
.trip-date-arrow { font-size: 1.2rem; color: var(--text-light); margin-top: 1.1rem; }
.trip-duration {
  margin-top: 1.1rem;
  font-size: .88rem;
  font-weight: 400;
  color: var(--green-mid);
  background: #e8f5e1;
  padding: .3rem .8rem;
  border-radius: 20px;
}

.trip-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: .8rem;
  border-top: 1px solid #eee;
}
.trip-stat { font-size: .88rem; color: var(--text-light); }
.trip-stat strong { color: var(--text); }

.trip-section { margin-bottom: 1.5rem; }
.trip-section-title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--green-dark);
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.trip-section-title span { opacity: .6; font-size: .85rem; font-weight: 400; }

.trip-item {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius);
  border: 1px solid #efefef;
  padding: 1rem 1.25rem;
  margin-bottom: .6rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.trip-item-info { flex: 1; }
.trip-item-name { font-weight: 400; font-size: .98rem; color: var(--text); margin-bottom: .2rem; }
.trip-item-meta { font-size: .83rem; color: var(--text-light); }
.trip-item-badge {
  font-size: .72rem;
  font-weight: 400;
  padding: .15rem .5rem;
  border-radius: 20px;
  display: inline-block;
  margin-right: .3rem;
}
.badge-campsite { background: #d4edda; color: #155724; }
.badge-statepark { background: #fde8cc; color: #7d4a00; }
.badge-fishing { background: #d0e8f5; color: #0a4d6e; }
.badge-gas { background: #f5f0d0; color: #5a4800; }
.badge-ai { background: #e8d5f5; color: #5a1d8a; }

.trip-section-empty {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius);
  border: 2px dashed var(--tan-dark);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--text-light);
  font-size: .88rem;
}
.trip-empty-icon { font-size: 1.3rem; flex-shrink: 0; }
.trip-empty-hint { flex: 1; }
.trip-empty-btn {
  background: transparent;
  border: 1.5px solid #ccc;
  color: var(--green-mid);
  padding: .35rem .8rem;
  border-radius: 20px;
  font-size: .82rem;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 400;
  transition: all .2s;
}
.trip-empty-btn:hover { background: var(--green-mid); color: white; border-color: var(--green-mid); }

/* Integrated travel plan cards */
.trip-plan-card {
  background: #f4f9f1;
  border: 1.5px solid #c3dab8;
  border-left: 4px solid var(--green-accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
}
.trip-plan-label {
  font-size: .75rem;
  font-weight: 400;
  color: var(--green-mid);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .6rem;
}
.trip-plan-body {
  font-size: .9rem;
  line-height: 1.65;
}
.trip-plan-actions {
  margin-top: .9rem;
  padding-top: .75rem;
  border-top: 1px solid #d8ecd0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.trip-action-btn {
  background: var(--green-mid);
  color: white;
  border: none;
  padding: .55rem 1.1rem;
  border-radius: 20px;
  font-size: .88rem;
  font-weight: 400;
  cursor: pointer;
  transition: background .2s;
}
.trip-action-btn:hover { background: #111; }
.trip-add-prompt {
  padding: .6rem 0;
}
.trip-section-title .btn-remove {
  margin-left: auto;
  font-size: .75rem;
}

.trip-item-ai .trip-ai-body {
  margin-top: .4rem;
  white-space: pre-wrap;
  line-height: 1.55;
  max-height: 120px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.ai-save-btn {
  display: block;
  margin: .3rem 0 0 auto;
  background: transparent;
  border: 1.5px solid var(--green-light);
  color: var(--green-mid);
  padding: .25rem .7rem;
  border-radius: 20px;
  font-size: .78rem;
  cursor: pointer;
  font-weight: 400;
  transition: all .2s;
}
.ai-save-btn:hover { background: var(--green-mid); color: white; border-color: var(--green-mid); }
.ai-save-btn:disabled { opacity: .5; cursor: default; }

.trip-item-actions { display: flex; flex-direction: column; gap: .4rem; align-items: flex-end; }

.trip-travel-plan {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius);
  border: 1px solid #efefef;
  margin-bottom: 1rem;
  overflow: hidden;
}
.trip-travel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--tan-dark);
  background: #f9f6f1;
}
.trip-travel-body {
  padding: 1.25rem 1.5rem;
}
.btn-remove {
  background: transparent;
  border: 1px solid #ddd;
  color: #999;
  padding: .2rem .6rem;
  border-radius: 6px;
  font-size: .78rem;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn-remove:hover { border-color: #e74c3c; color: #e74c3c; }
.btn-go {
  background: var(--green-mid);
  color: white;
  border: none;
  padding: .3rem .7rem;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s;
}
.btn-go:hover { background: #111; }

.trip-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-light);
}
.trip-empty .icon { font-size: 3.5rem; margin-bottom: 1rem; }
.trip-empty h3 { font-size: 1.2rem; color: var(--text); margin-bottom: .5rem; }
.trip-empty p { font-size: .9rem; margin-bottom: 1.5rem; }
.trip-empty .hints { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.trip-empty .hint-chip {
  background: rgba(255,255,255,.97);
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: .35rem .9rem;
  font-size: .82rem;
  color: var(--text-light);
}

.btn-add-trip {
  background: transparent;
  border: 2px solid var(--green-accent);
  color: var(--green-mid);
  padding: .4rem .9rem;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 400;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn-add-trip:hover { background: var(--green-accent); color: white; }
.btn-add-trip.added { background: var(--green-accent); color: white; border-color: var(--green-accent); }

/* DOCUMENTS */
.doc-upload-area {
  border: 2px dashed #ccc;
  border-radius: var(--radius);
  background: rgba(255,255,255,.97);
  transition: border-color .2s, background .2s;
  margin-bottom: .8rem;
  cursor: pointer;
}
.doc-upload-area:hover, .doc-upload-area.drag-over {
  border-color: var(--green-light);
  background: #f0f8ec;
}
.doc-drop-inner { padding: 1.5rem; text-align: center; }
.doc-drop-icon { font-size: 2rem; margin-bottom: .4rem; }
.doc-drop-inner p { font-size: .9rem; color: var(--text-light); margin: .1rem 0; }
.doc-drop-inner strong { color: var(--green-mid); }
.doc-drop-sub { font-size: .78rem !important; }

.doc-list { display: flex; flex-direction: column; gap: .6rem; }
.doc-item {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius);
  border: 1px solid #efefef;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: .8rem 1rem;
  overflow: hidden;
}
.doc-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid #eee;
  transition: border-color .2s;
}
.doc-thumb:hover { border-color: var(--green-light); }
.doc-pdf-thumb {
  width: 60px;
  height: 60px;
  background: #fde8cc;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.doc-info { flex: 1; min-width: 0; }
.doc-name { font-weight: 400; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-name-input {
  font-size: .9rem;
  font-weight: 400;
  border: none;
  border-bottom: 1px solid #ddd;
  padding: .1rem .2rem;
  width: 100%;
  background: transparent;
  color: var(--text);
}
.doc-name-input:focus { outline: none; border-bottom-color: var(--green-light); }
.doc-meta { font-size: .78rem; color: var(--text-light); margin-top: .2rem; }
.doc-actions { display: flex; gap: .4rem; flex-shrink: 0; }

/* Image Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.hidden { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; box-shadow: 0 8px 40px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,.15);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media print {
  header, nav, .trip-header-actions, .trip-item-actions, footer { display: none !important; }
  .tab-content { display: block !important; }
  #tab-trip { display: block !important; }
}

/* DETAIL PANEL */
.detail-panel {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow-y: auto;
}
.detail-panel.hidden { display: none; }
.detail-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #111;
  color: white;
  padding: .7rem 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0;
}
.detail-back {
  background: rgba(255,255,255,.15);
  color: white;
  border: 1px solid rgba(255,255,255,.3);
  padding: .4rem .9rem;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.detail-back:hover { background: rgba(255,255,255,.3); }
.detail-bar span {
  font-weight: 400;
  font-size: .95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-body {
  max-width: 800px;
  margin: 1.5rem auto;
  padding: 0 1rem 3rem;
  width: 100%;
}
.detail-hero {
  border-radius: var(--radius);
  padding: 2rem;
  color: white;
  margin-bottom: 1.5rem;
}
.detail-hero h1 { font-size: 1.6rem; margin-bottom: .4rem; }
.detail-hero .badge { font-size: .82rem; background: rgba(255,255,255,.97); padding: .2rem .7rem; border-radius: 20px; display: inline-block; }
.detail-section {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border: 1px solid #efefef;
  margin-bottom: 1rem;
}
.detail-section h3 { font-size: 1rem; color: var(--green-dark); margin-bottom: .8rem; border-bottom: 2px solid var(--tan-dark); padding-bottom: .5rem; }
.detail-row { display: flex; justify-content: space-between; align-items: center; padding: .4rem 0; border-bottom: 1px solid #f0ebe3; font-size: .92rem; }
.detail-row:last-child { border-bottom: none; }
.detail-row strong { color: var(--text-light); font-weight: 500; }
.detail-row span { font-weight: 400; color: var(--text); }
.activity-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.activity-chip { background: rgba(255,255,255,.97); color: var(--green-dark); padding: .3rem .8rem; border-radius: 20px; font-size: .85rem; font-weight: 400; }
.btn-reserve-big {
  display: block;
  width: 100%;
  background: var(--green-mid);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 400;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background .2s;
  margin-top: 1.5rem;
}
.btn-reserve-big:hover { background: #111; }

/* FOOTER */
footer {
  background: #111;
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 1rem;
  font-size: .82rem;
}

/* SPINNER */
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: middle;
  margin-right: .4rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  .logo-img { height: 44px; }
  .gas-grid { grid-template-columns: 1fr 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .msg-bubble { max-width: 95%; }
}

/* ── FISHING FORECAST ───────────────────────────────────────────────────────── */
.forecast-card {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius);
  border: 1px solid #efefef;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.forecast-header {
  background: linear-gradient(135deg, #0d3b5e 0%, #1a6a9a 60%, #2196c4 100%);
  color: white;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.forecast-title { display: flex; align-items: center; gap: .8rem; }
.forecast-icon { font-size: 2.2rem; }
.forecast-title h2 { font-size: 1.2rem; margin: 0; }
.forecast-sub { font-size: .83rem; opacity: .85; margin: .2rem 0 0; }
.forecast-filters { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.forecast-filters select {
  padding: .5rem .8rem;
  border: none;
  border-radius: 6px;
  font-size: .9rem;
  background: rgba(255,255,255,.15);
  color: white;
  cursor: pointer;
}
.forecast-filters select option { background: #1a3a5c; color: white; }

.forecast-conditions {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: #f0f7ff;
  border-bottom: 1px solid #dde8f5;
  padding: 1rem 1.5rem;
  align-items: center;
}
.cond-block {
  padding: .4rem 1.2rem .4rem 0;
  margin-right: 1.2rem;
  border-right: 1px solid #c8ddf0;
}
.cond-block:last-of-type { border-right: none; }
.cond-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; color: #6a8aaa; font-weight: 400; }
.cond-value { font-size: 1rem; font-weight: 400; color: #1a3a5c; margin-top: .1rem; }
.cond-bar { height: 5px; background: #cfe0ee; border-radius: 3px; width: 90px; margin-top: .3rem; }
.cond-bar-fill { height: 100%; background: linear-gradient(90deg, #2196c4, #4fc3f7); border-radius: 3px; transition: width .5s; }
.cond-tip {
  flex: 1 1 100%;
  font-size: .85rem;
  color: #2c5282;
  background: #dbeafe;
  border-radius: 6px;
  padding: .6rem .9rem;
  margin-top: .6rem;
  line-height: 1.5;
}

.forecast-fish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  padding: 1.2rem 1.5rem 1.5rem;
}

.forecast-fish-card {
  background: #fafcff;
  border: 2px solid #dde8f5;
  border-radius: 8px;
  padding: .9rem 1rem;
  transition: transform .2s, box-shadow .2s;
}
.forecast-fish-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.1); }

.activity-border-5 { border-color: #16a34a; }
.activity-border-4 { border-color: #65a30d; }
.activity-border-3 { border-color: #ca8a04; }
.activity-border-2 { border-color: #ea580c; }
.activity-border-1 { border-color: #dc2626; }

.forecast-fish-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
}
.forecast-fish-name { font-weight: 400; font-size: .95rem; color: #1a3a5c; }

.activity-badge {
  font-size: .72rem;
  font-weight: 400;
  padding: .2rem .6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.activity-5 { background: #dcfce7; color: #15803d; }
.activity-4 { background: #ecfccb; color: #4d7c0f; }
.activity-3 { background: #fef9c3; color: #a16207; }
.activity-2 { background: #ffedd5; color: #c2410c; }
.activity-1 { background: #fee2e2; color: #b91c1c; }

.activity-bar {
  height: 6px;
  background: #e2ecf7;
  border-radius: 3px;
  margin-bottom: .7rem;
  overflow: hidden;
}
.activity-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #2196c4, #16a34a);
  transition: width .5s ease;
}

.forecast-section-label {
  font-size: .72rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #6a8aaa;
  margin-bottom: .35rem;
}
.bait-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .7rem; }
.bait-chip {
  background: #e0f2fe;
  color: #0369a1;
  font-size: .78rem;
  font-weight: 400;
  padding: .2rem .55rem;
  border-radius: 20px;
  white-space: nowrap;
}

.forecast-meta {
  font-size: .82rem;
  color: #4a6a8a;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-bottom: .6rem;
}
.forecast-meta strong { color: #1a3a5c; }

.forecast-tip {
  font-size: .81rem;
  color: #374151;
  background: #f0fdf4;
  border-left: 3px solid #16a34a;
  padding: .45rem .6rem;
  border-radius: 0 5px 5px 0;
  line-height: 1.4;
}

/* ── ZIP CODE SEARCH ─────────────────────────────────────────────────────────── */
.zip-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
  margin-bottom: .8rem;
}
.zip-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 160px;
  max-width: 220px;
  border: 2px solid #ddd;
  border-radius: 6px;
  background: rgba(255,255,255,.97);
  overflow: hidden;
  transition: border-color .2s;
}
.zip-input-wrap:focus-within { border-color: var(--green-light); }
.zip-pin { padding: 0 .5rem 0 .8rem; font-size: 1rem; }
.zip-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  padding: .6rem .4rem .6rem 0;
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--text);
  background: transparent;
}
.zip-input-wrap input::placeholder {
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #999;
}
.zip-search-row select {
  flex: 1;
  min-width: 130px;
  padding: .6rem .9rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: .9rem;
  color: var(--text);
  background: rgba(255,255,255,.97);
  transition: border-color .2s;
}
.zip-search-row select:focus { outline: none; border-color: var(--green-light); }

.search-divider {
  text-align: center;
  color: #aaa;
  font-size: .8rem;
  margin: .4rem 0 .6rem;
  position: relative;
}
.search-divider::before,
.search-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 90px);
  height: 1px;
  background: #e2e8f0;
}
.search-divider::before { left: 0; }
.search-divider::after  { right: 0; }

.zip-results-header {
  grid-column: 1 / -1;
  background: #ebf8ff;
  border: 1px solid #bee3f8;
  border-radius: 8px;
  padding: .65rem 1rem;
  font-size: .88rem;
  color: #2b6cb0;
  margin-bottom: .25rem;
}

.dist-badge {
  background: #2b6cb0;
  color: white;
  font-size: .72rem;
  font-weight: 400;
  padding: .18rem .55rem;
  border-radius: 20px;
  margin-left: auto;
  white-space: nowrap;
}

/* ─── ZIP Search Results ─────────────────────────────────────────────────── */
.zip-results-header { margin-bottom: 1rem; }
.zip-hero { font-size: 1.05rem; color: var(--green-dark); margin-bottom: .25rem; }
.zip-sub  { font-size: .85rem; color: #666; }
.zip-bucket-label {
  grid-column: 1 / -1;
  font-size: .8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green-mid);
  border-bottom: 2px solid var(--green-light);
  padding-bottom: .3rem;
  margin-top: .5rem;
  margin-bottom: .25rem;
}
.zip-notes {
  font-style: italic;
  color: #444;
  border-left: 3px solid var(--green-light);
  padding-left: .6rem;
  margin: .4rem 0;
  line-height: 1.5;
}

/* ─── Forecast ZIP row ───────────────────────────────────────────────────── */
.forecast-zip-row {
  display: flex; gap: .5rem; flex-wrap: wrap; align-items: center;
  margin-bottom: .4rem;
}
.forecast-zip-row .zip-input-wrap {
  flex: 1; min-width: 180px;
}
.forecast-divider {
  text-align: center; color: #aaa; font-size: .8rem;
  display: flex; align-items: center; gap: .5rem; margin: .4rem 0;
}
.forecast-divider::before,
.forecast-divider::after {
  content: ''; flex: 1; height: 1px; background: #ddd;
}
.forecast-manual-row {
  display: flex; gap: .5rem; flex-wrap: wrap; align-items: center;
}
.forecast-location-banner {
  grid-column: 1 / -1;
  background: #e8f5e9; border-left: 4px solid var(--green-accent);
  padding: .5rem .9rem; border-radius: 0 6px 6px 0;
  font-size: .9rem; color: var(--green-dark);
  margin-bottom: .5rem;
}

/* ─── Shopping List ──────────────────────────────────────────────────────── */
.shop-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: .8rem; margin-bottom: 1.2rem; background: rgba(255,255,255,.97); border-radius: var(--radius); padding: .8rem 1rem;
}
.shop-header h2 { font-size: 1.3rem; font-weight: 300; color: var(--green-dark); }
.shop-sub { font-size: .88rem; color: var(--text-light); margin-top: .2rem; }
.shop-header-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.btn-secondary {
  background: transparent; color: var(--green-mid);
  border: 1.5px solid var(--green-mid); padding: .45rem .9rem;
  border-radius: 6px; font-size: .83rem; font-weight: 400;
  cursor: pointer; transition: all .15s;
}
.btn-secondary:hover { background: var(--green-mid); color: #fff; }

/* Add row */
.shop-add-row {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.shop-add-row input {
  flex: 1; min-width: 200px; padding: .55rem .9rem;
  border: 1.5px solid #ccc; border-radius: 6px; font-size: .9rem;
}
.shop-add-row input:focus { outline: none; border-color: var(--green-accent); }
.shop-add-row select {
  padding: .5rem .7rem; border: 1.5px solid #ccc;
  border-radius: 6px; font-size: .85rem; background: #fff;
}

/* Quick add */
.shop-quick-wrap { background: #fff; border-radius: var(--radius); border: 1px solid #efefef; padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.shop-quick-label { font-size: .78rem; font-weight: 400; text-transform: uppercase; letter-spacing: .07em; color: var(--text-light); margin-bottom: .5rem; }
.shop-quick-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .7rem; }
.shop-qtab {
  padding: .35rem .8rem; border-radius: 20px; font-size: .8rem; font-weight: 400;
  border: 1.5px solid #ddd; background: #fff; cursor: pointer; transition: all .15s;
}
.shop-qtab:hover { border-color: var(--green-accent); color: var(--green-accent); }
.shop-qtab.active { background: var(--green-accent); color: #fff; border-color: var(--green-accent); }
.shop-quick-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.shop-chip {
  padding: .3rem .75rem; border-radius: 20px; font-size: .8rem; font-weight: 400;
  border: 1.5px solid var(--green-accent); color: var(--green-accent);
  background: #fff; cursor: pointer; transition: all .15s;
}
.shop-chip:hover { background: var(--green-accent); color: #fff; }
.shop-chip-added { background: #f0f0f0; border-color: #ccc; color: #aaa; cursor: default; }

/* List */
.shop-list { display: flex; flex-direction: column; gap: .8rem; }
.shop-group { background: #fff; border-radius: var(--radius); border: 1px solid #efefef; overflow: hidden; }
.shop-group-label {
  background: #111;
  color: #fff; padding: .6rem 1rem; font-size: .82rem; font-weight: 400;
  display: flex; align-items: center; gap: .5rem;
}
.shop-group-count {
  background: rgba(255,255,255,.97); border-radius: 10px;
  padding: .1rem .45rem; font-size: .75rem; margin-left: auto;
}
.shop-done-group .shop-group-label { background: #888; }
.shop-item {
  display: flex; align-items: center; gap: .7rem;
  padding: .65rem 1rem; border-bottom: 1px solid #f0ebe3;
  transition: background .1s;
}
.shop-item:last-child { border-bottom: none; }
.shop-item:hover { background: #fafaf8; }
.shop-item-done .shop-item-text { text-decoration: line-through; color: #aaa; }
.shop-item-done { opacity: .7; }

/* Custom checkbox */
.shop-check-wrap { position: relative; display: flex; align-items: center; flex-shrink: 0; }
.shop-check-wrap input[type=checkbox] { position: absolute; opacity: 0; width: 0; height: 0; }
.shop-check-box {
  width: 20px; height: 20px; border: 2px solid var(--green-accent);
  border-radius: 4px; display: block; cursor: pointer; transition: all .15s;
  background: #fff;
}
.shop-check-wrap input:checked + .shop-check-box {
  background: var(--green-accent);
}
.shop-check-wrap input:checked + .shop-check-box::after {
  content: '✓'; color: #fff; font-size: .8rem; font-weight: 300;
  display: flex; align-items: center; justify-content: center; height: 100%;
}
.shop-item-text { flex: 1; font-size: .9rem; }
.shop-remove {
  background: none; border: none; color: #ccc; cursor: pointer;
  font-size: .85rem; padding: .2rem .4rem; border-radius: 4px; transition: color .15s;
}
.shop-remove:hover { color: #e53e3e; }

/* Empty state */
.shop-empty { text-align: center; padding: 2.5rem 1rem; color: var(--text-light); }
.shop-empty-icon { font-size: 3rem; margin-bottom: .8rem; }
.shop-empty p { font-size: .9rem; margin-bottom: .4rem; }
.shop-empty-tip { font-size: .82rem; color: #999; }

.shop-buy-btn {
  background: #ff9900; color: #111; border-radius: 5px;
  padding: .2rem .45rem; font-size: .8rem; text-decoration: none;
  flex-shrink: 0; transition: opacity .15s; line-height: 1.4;
}
.shop-buy-btn:hover { opacity: .8; }
.shop-item-done .shop-buy-btn { opacity: .4; }

/* ─── Fishing Trails ─────────────────────────────────────────────────────── */
.trails-hero { background:rgba(255,255,255,.97); border-radius:var(--radius); padding:.8rem 1rem;
  background: linear-gradient(135deg, #14204a, #14417e);
  border-radius: var(--radius); padding: 1.5rem 1.5rem 1.2rem;
  color: #fff; margin-bottom: 1rem;
}
.trails-hero h2 { font-size: 1.5rem; font-weight: 300; margin-bottom: .3rem; }
.trails-hero p  { font-size: .9rem; opacity: .88; }

.trails-filters {
  display: flex; gap: .5rem; flex-wrap: wrap; align-items: center;
}
.trails-filters select, .trails-filters input {
  padding: .5rem .75rem; border: 1.5px solid #ccc; border-radius: 6px;
  font-size: .88rem; background: #fff; flex: 1; min-width: 140px;
}
.trails-filters input { min-width: 180px; }
.trails-filters select:focus, .trails-filters input:focus {
  outline: none; border-color: var(--green-accent);
}

/* Trail grid */
.trail-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr));
  gap: 1.2rem; margin-top: 1rem;
}

/* Trail card */
.trail-card {
  background: #fff; border-radius: var(--radius); border: 1px solid #efefef;
  overflow: hidden; transition: transform .15s;
}
.trail-card:hover { transform: translateY(-3px); }

.trail-card-head {
  background: linear-gradient(135deg, #14204a, #1e50a0);
  color: #fff; padding: 1rem 1.1rem;
}
.trail-title-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: .5rem; margin-bottom: .3rem;
}
.trail-title-row h3 { font-size: 1rem; font-weight: 400; line-height: 1.3; }
.trail-state-badge {
  background: rgba(255,255,255,.2); color: #fff;
  font-size: .75rem; font-weight: 400; padding: .15rem .55rem;
  border-radius: 20px; white-space: nowrap; flex-shrink: 0;
}
.trail-location { font-size: .78rem; opacity: .8; margin-bottom: .55rem; }

.trail-badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.trail-diff, .trail-water, .trail-length, .trail-elev, .trail-access {
  font-size: .72rem; font-weight: 400; padding: .2rem .55rem;
  border-radius: 20px; background: rgba(255,255,255,.18); color: #fff;
}
.diff-easy   { background: #27ae60; }
.diff-mod    { background: #e67e22; }
.diff-hard   { background: #c0392b; }
.acc-free    { background: rgba(255,255,255,.2); }
.acc-fee     { background: #e67e22; }
.acc-permit  { background: #8e44ad; }

.trail-card-body { padding: 1rem 1.1rem; }
.trail-species-row { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .6rem; }
.trail-season { font-size: .83rem; color: #555; margin-bottom: .45rem; }
.trail-notes {
  font-size: .84rem; color: #333; line-height: 1.55;
  border-left: 3px solid var(--green-light);
  padding-left: .65rem; margin-bottom: .75rem; font-style: italic;
}
.trail-links { display: flex; gap: .4rem; flex-wrap: wrap; }
.btn-alltrails { background: #4caf50; }
.btn-alltrails:hover { background: #388e3c; }

@media (max-width: 600px) {
  .trail-grid { grid-template-columns: 1fr; }
  .trails-filters select, .trails-filters input { min-width: 100%; }
}

/* ─── Budget Builder ──────────────────────────────────────────────────────── */
.budget-header { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:.8rem; margin-bottom:1.2rem; background:rgba(255,255,255,.97); border-radius:var(--radius); padding:.8rem 1rem; }
.budget-sub { font-size:.85rem; color:#666; margin-top:.2rem; }
.budget-header-actions { display:flex; gap:.5rem; }
.budget-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:.8rem; margin-bottom:1.2rem; }
.budget-summary-card { background:#f8faf8; border:1px solid #e0e8e0; border-radius:10px; padding:.9rem 1rem; text-align:center; }
.budget-summary-mid { background:var(--green-dark); border-color:var(--green-dark); }
.budget-summary-mid .budget-summary-label,
.budget-summary-mid .budget-summary-value { color:white; }
.budget-summary-label { font-size:.72rem; color:#888; text-transform:uppercase; letter-spacing:.06em; margin-bottom:.3rem; }
.budget-summary-value { font-size:1.3rem; font-weight: 400; color:var(--green-dark); }
.budget-set-row { display:flex; align-items:center; gap:.6rem; margin-bottom:1rem; font-size:.85rem; color:#555; background:rgba(255,255,255,.97); border-radius:var(--radius); padding:.6rem .9rem; }
.budget-set-label { white-space:nowrap; }
.budget-limit-input { width:120px; padding:.4rem .6rem; border:1.5px solid #ddd; border-radius:6px; font-size:.9rem; }
.budget-limit-input:focus { border-color:var(--green-light); outline:none; }
.budget-add-card { background:rgba(255,255,255,.97); border:1px solid #e0e8e0; border-radius:10px; padding:1rem; margin-bottom:1rem; }
.budget-add-row { display:flex; gap:.5rem; flex-wrap:wrap; align-items:center; }
.budget-desc-input { flex:2; min-width:160px; padding:.55rem .75rem; border:1.5px solid #ddd; border-radius:7px; font-size:.9rem; }
.budget-desc-input:focus { border-color:var(--green-light); outline:none; }
.budget-cat-select { flex:1; min-width:130px; padding:.55rem .7rem; border:1.5px solid #ddd; border-radius:7px; font-size:.85rem; background:white; }
.budget-cat-select:focus { border-color:var(--green-light); outline:none; }
.budget-amount-wrap { display:flex; align-items:center; border:1.5px solid #ddd; border-radius:7px; background:white; overflow:hidden; }
.budget-amount-wrap:focus-within { border-color:var(--green-light); }
.budget-dollar { padding:.55rem .3rem .55rem .7rem; font-size:.9rem; color:#888; }
.budget-amount-input { width:90px; border:none; outline:none; padding:.55rem .6rem .55rem 0; font-size:.9rem; }
.budget-quick-wrap { margin-bottom:1.2rem; background:rgba(255,255,255,.97); border-radius:var(--radius); padding:.7rem .9rem; }
.budget-quick-label { font-size:.78rem; color:#888; text-transform:uppercase; letter-spacing:.06em; margin-bottom:.5rem; }
.budget-quick-chips { display:flex; flex-wrap:wrap; gap:.4rem; }
.budget-chip { padding:.3rem .7rem; border-radius:20px; border:1.5px solid var(--green-light); background:white; color:var(--green-dark); font-size:.8rem; cursor:pointer; transition:background .15s,color .15s; }
.budget-chip:hover { background:var(--green-dark); color:white; }
.budget-list { display:flex; flex-direction:column; gap:.4rem; }
.budget-empty { text-align:center; padding:2rem 1rem; color:#aaa; }
.budget-empty-icon { font-size:2rem; margin-bottom:.5rem; }
.budget-group-label { font-size:.75rem; font-weight: 400; text-transform:uppercase; letter-spacing:.07em; color:#888; padding:.6rem 0 .2rem; display:flex; align-items:center; gap:.5rem; }
.budget-group-count { background:#eee; color:#666; font-size:.7rem; padding:.1rem .4rem; border-radius:10px; }
.budget-group-total { margin-left:auto; font-size:.8rem; font-weight: 400; color:var(--green-dark); }
.budget-item { display:flex; align-items:center; gap:.6rem; background:white; border:1px solid #e8e8e8; border-radius:8px; padding:.55rem .8rem; }
.budget-item-icon { font-size:1rem; flex-shrink:0; }
.budget-item-desc { flex:1; font-size:.9rem; color:var(--text); font-weight:500; }
.budget-item-paid { font-size:.72rem; padding:.15rem .45rem; border-radius:10px; border:1px solid #ccc; cursor:pointer; color:#666; background:white; white-space:nowrap; }
.budget-item-paid.paid { background:#e8f5e9; border-color:var(--green-light); color:var(--green-dark); }
.budget-item-amount { font-size:.95rem; font-weight: 400; color:var(--green-dark); min-width:60px; text-align:right; }
.budget-item-remove { background:none; border:none; color:#bbb; font-size:.9rem; cursor:pointer; padding:0 .2rem; flex-shrink:0; }
.budget-item-remove:hover { color:#e55; }
.budget-over .budget-summary-value { color:#e55 !important; }
@media(max-width:600px){
  .budget-summary { grid-template-columns:repeat(2,1fr); }
  .budget-summary-card:last-child { grid-column:1/-1; }
  .budget-desc-input,.budget-cat-select { min-width:100%; }
}

/* ─── Accessories ──────────────────────────────────────────────────────────── */
.acc-hero { margin-bottom:1.2rem; background:rgba(255,255,255,.97); border-radius:var(--radius); padding:.8rem 1rem; }
.acc-hero h2 { margin-bottom:.2rem; }
.acc-hero p { font-size:.9rem; color:#666; }
.acc-filter-row { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1.2rem; }
.acc-filter-btn { padding:.35rem .9rem; border-radius:20px; border:1.5px solid var(--green-light); background:white; color:var(--green-dark); font-size:.82rem; cursor:pointer; transition:background .15s,color .15s; }
.acc-filter-btn.active,.acc-filter-btn:hover { background:var(--green-dark); color:white; border-color:var(--green-dark); }
.acc-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1rem; }
.acc-card { background:white; border:1px solid #e0e8e0; border-radius:12px; overflow:hidden; display:flex; flex-direction:column; transition:box-shadow .2s; }
.acc-card:hover { box-shadow:0 4px 16px rgba(0,0,0,.1); }
.acc-card-img { width:100%; height:160px; object-fit:contain; background:#f5f7f5; padding:1rem; }
.acc-card-body { padding:1rem; flex:1; display:flex; flex-direction:column; gap:.4rem; }
.acc-card-category { font-size:.7rem; font-weight: 400; text-transform:uppercase; letter-spacing:.07em; color:var(--green-light); }
.acc-card-name { font-size:1rem; font-weight: 400; color:var(--text); line-height:1.3; }
.acc-card-desc { font-size:.82rem; color:#666; line-height:1.45; flex:1; }
.acc-card-specs { display:flex; flex-wrap:wrap; gap:.3rem; margin-top:.3rem; }
.acc-spec-tag { font-size:.72rem; background:#f0f4f0; color:#555; padding:.2rem .5rem; border-radius:8px; }
.acc-card-footer { display:flex; align-items:center; justify-content:space-between; margin-top:.7rem; padding-top:.7rem; border-top:1px solid #f0f0f0; }
.acc-card-price { font-size:1.05rem; font-weight: 400; color:var(--green-dark); }
.acc-card-price small { font-size:.72rem; font-weight:400; color:#888; margin-left:.2rem; }
.acc-buy-btn { padding:.4rem 1rem; border-radius:8px; background:#ff9900; color:white; font-size:.82rem; font-weight: 400; text-decoration:none; border:none; cursor:pointer; transition:background .15s; }
.acc-buy-btn:hover { background:#e68a00; }
.acc-card[data-cat].hidden { display:none; }
@media(max-width:600px){ .acc-grid { grid-template-columns:1fr; } }

/* ─── Hamburger menu ──────────────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .topnav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
    padding: .5rem 0 1rem;
    z-index: 200;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .topnav-links.open { display: flex; }
  .tab {
    height: auto;
    padding: .9rem 1.8rem;
    font-size: 1rem;
    text-align: left;
    border-bottom: none;
    border-left: 3px solid transparent;
    width: 100%;
  }
  .tab.active {
    border-left-color: rgba(255,255,255,.8);
    border-bottom-color: transparent;
  }
}

/* ─── Mobile responsiveness ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .topnav { height: 64px; padding: 0 1rem; }

  main { padding: 1rem .75rem; }

  .results-grid { grid-template-columns: 1fr; }

  .search-row { flex-direction: column; }
  .search-row input, .search-row select, .search-row .btn-primary { width: 100%; min-width: unset; }

  .budget-summary { grid-template-columns: 1fr 1fr; }
  .budget-add-row { flex-direction: column; }
  .budget-desc-input, .budget-cat-select, .budget-amount-wrap { width: 100%; min-width: unset; }

  .forecast-zip-row { flex-direction: column; }
  .forecast-zip-row input, .forecast-zip-row .btn-primary { width: 100%; }

  .forecast-manual-row { flex-direction: column; }
  .forecast-manual-row select, .forecast-manual-row .btn-primary { width: 100%; }

  .fish-zip-row { flex-direction: column; }
  .fish-zip-row input, .fish-zip-row .btn-primary { width: 100%; }

  .acc-grid { grid-template-columns: 1fr; }

  .shop-add-row { flex-direction: column; }
  .shop-add-row input, .shop-add-row select, .shop-add-row .btn-primary { width: 100%; min-width: unset; }

  .camp-actions { flex-wrap: wrap; }
  .btn-book, .btn-avail, .btn-add-trip { font-size: .78rem; }

  .trails-filters { flex-direction: column; }
  .trails-filters select, .trails-filters input { width: 100%; min-width: unset; }

  .budget-summary-card:last-child { grid-column: 1 / -1; }

  .wizard-body { padding: 1rem; }
  .wizard-step-grid { grid-template-columns: 1fr !important; }

  .trip-grid { grid-template-columns: 1fr; }
  .gas-grid { grid-template-columns: 1fr 1fr; }

  h2 { font-size: 1.1rem; }
  h3 { font-size: .95rem; }
}

@media (max-width: 480px) {
  .topnav { height: 60px; }
  .logo-img { height: 40px; }
  .acc-filter-row { gap: .3rem; }
  .acc-filter-btn { font-size: .72rem; padding: .25rem .55rem; }
  .budget-quick-chips { gap: .3rem; }
  .budget-chip { font-size: .72rem; padding: .25rem .55rem; }
}

/* ---------- Donate ---------- */
.tab-donate-btn {
  flex: 0 0 auto; align-self: center;
  display: inline-flex; align-items: center;
  background: #e74c3c; color: #fff !important;
  border: none !important; border-bottom: none !important; border-radius: 22px;
  padding: .5rem 1.05rem !important; margin: 0 0 0 .6rem !important;
  width: auto !important; height: auto !important;
  font-weight: 700; font-size: .92rem; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(231,76,60,.35); cursor: pointer;
}
.tab-donate-btn:hover { background: #c0392b; color: #fff !important; }
.tab-donate-btn.active { background: #c0392b; color: #fff !important; border-bottom: none !important; }
/* ===== Donate page (redesigned) ===== */
.donate-page { max-width: 980px; margin: 0 auto; }

/* Heading (frosted panel so it stays readable over the photo background) */
.donate-head { text-align: center; max-width: 640px; margin: .4rem auto 1.4rem; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 1.3rem 1.5rem 1.4rem; box-shadow: 0 4px 16px rgba(25,30,59,.06); }
.donate-eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-mid); background: #eef4ff; border: 1px solid #c9d8f2; border-radius: 999px; padding: .35rem .9rem; margin-bottom: .9rem; }
.donate-title { font-size: 2.1rem; font-weight: 800; color: var(--green-dark); margin: 0 0 .55rem; letter-spacing: -.02em; line-height: 1.15; }
.donate-lede { color: var(--text); opacity: .75; max-width: 560px; margin: 0 auto; line-height: 1.65; font-size: 1.02rem; }

/* Split card: mission panel + form in one container */
.donate-split { display: grid; grid-template-columns: 5fr 6fr; background: #fff; border: 1px solid #e0e0e5; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 44px rgba(20,32,74,.14); }

/* Left mission panel */
.donate-side { background: linear-gradient(165deg, var(--green-light) 0%, var(--green-mid) 48%, var(--green-dark) 100%); color: #fff; padding: 2rem 1.7rem; display: flex; flex-direction: column; gap: 1.25rem; }
.ds-title { font-size: 1.25rem; font-weight: 800; margin: 0; letter-spacing: -.01em; }
.ds-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .95rem; }
.ds-list li { display: flex; gap: .75rem; align-items: flex-start; }
.ds-ico { flex: none; width: 36px; height: 36px; display: grid; place-items: center; font-size: 1.05rem; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; }
.ds-list strong { display: block; font-size: .93rem; margin-bottom: .1rem; }
.ds-list em { display: block; font-style: normal; font-size: .82rem; color: rgba(255,255,255,.78); line-height: 1.45; }
.ds-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.ds-stats > div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: .65rem .3rem; text-align: center; font-size: .72rem; color: rgba(255,255,255,.8); }
.ds-stats span { display: block; font-size: 1.3rem; font-weight: 800; color: #fff; line-height: 1.15; }
.ds-quote { font-style: italic; font-size: .88rem; color: rgba(255,255,255,.88); line-height: 1.55; margin: 0; padding-top: 1.05rem; border-top: 1px dashed rgba(255,255,255,.28); }
.ds-trust { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.ds-trust span { font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.92); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: .28rem .65rem; }

/* Right form */
.donate-card { padding: 1.7rem 1.8rem; }
.donate-field-label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-light); margin: 0 0 .6rem; }

/* One-time / Monthly segmented control (drives the hidden #donate-monthly checkbox) */
.donate-freq { display: grid; grid-template-columns: 1fr 1fr; background: #eef1ec; border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 1.2rem; }
.df-opt { border: none; background: transparent; border-radius: 9px; padding: .6rem 0; font-size: .92rem; font-weight: 700; color: var(--text-light); cursor: pointer; font-family: inherit; transition: background .15s, color .15s, box-shadow .15s; }
.df-opt:hover { color: var(--text); }
.df-opt.active { background: #fff; color: var(--green-mid); box-shadow: 0 2px 8px rgba(0,0,0,.1); }

/* Amount tiles (custom input is the sixth cell) */
.donate-amts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-bottom: 1.1rem; }
.donate-amt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .12rem; padding: .7rem 0; border: 2px solid #e0e0e5; background: #fff; border-radius: 12px; cursor: pointer; transition: border-color .15s, transform .1s, box-shadow .15s; }
.donate-amt .da-amt { font-size: 1.08rem; font-weight: 800; color: var(--green-mid); }
.donate-amt .da-sub { font-size: .68rem; color: var(--text-light); white-space: nowrap; }
.donate-amt:hover { border-color: var(--green-accent); transform: translateY(-1px); }
.donate-amt.active { background: var(--green-mid); border-color: var(--green-mid); box-shadow: 0 5px 14px rgba(20,65,126,.25); }
.donate-amt.active .da-amt, .donate-amt.active .da-sub { color: #fff; }

/* Custom amount cell */
.donate-custom-row { display: flex; align-items: center; border: 2px solid #e0e0e5; border-radius: 12px; padding: 0 .6rem; transition: border-color .15s; }
.donate-custom-row:focus-within { border-color: var(--green-accent); }
.donate-cur { font-size: 1rem; color: var(--text-light); font-weight: 700; }
.donate-custom-row input { flex: 1; width: 100%; min-width: 0; border: none; outline: none; font-size: 1rem; font-weight: 700; padding: .6rem .3rem; background: transparent; font-family: inherit; color: var(--green-mid); }
.donate-custom-row input::placeholder { font-weight: 400; color: var(--text-light); }

/* Optional extras */
.donate-extras { background: #f7f9fc; border: 1px solid #e3e6ee; border-radius: 12px; padding: .8rem .85rem; margin-bottom: 1.1rem; }
.donate-phone { width: 100%; box-sizing: border-box; border: 1px solid #dbe0ea; border-radius: 9px; padding: .6rem .75rem; font-size: .92rem; margin-bottom: .65rem; outline: none; font-family: inherit; background: #fff; transition: border-color .15s; }
.donate-phone:focus { border-color: var(--green-accent); }
.donate-check { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--text-light); cursor: pointer; }
.donate-check input { width: 16px; height: 16px; accent-color: var(--green-mid); }

/* Submit (gradient CTA) */
.donate-submit { width: 100%; padding: 1rem; background: linear-gradient(135deg, var(--green-light), var(--green-mid)); color: #fff; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: filter .15s, transform .1s; box-shadow: 0 6px 16px rgba(20,65,126,.28); }
.donate-submit:hover { filter: brightness(1.06); }
.donate-submit:active { transform: translateY(1px); }
.donate-submit:disabled { opacity: .6; cursor: default; box-shadow: none; }

/* Divider + PayPal */
.donate-or { display: flex; align-items: center; text-align: center; color: var(--text-light); font-size: .82rem; margin: 1rem 0; }
.donate-or::before, .donate-or::after { content: ""; flex: 1; height: 1px; background: #e0e0e5; }
.donate-or span { padding: 0 .8rem; }
#paypal-button-container { min-height: 46px; }
.donate-monthly-note { font-size: .82rem; color: var(--text-light); text-align: center; margin: .5rem 0 0; }

/* Footer bits */
.donate-secure { text-align: center; font-size: .8rem; color: var(--text-light); margin-top: 1rem; }
.donate-msg { text-align: center; margin-top: .85rem; font-size: .95rem; min-height: 1.2em; }
.donate-msg.err { color: #c0392b; }
.donate-msg.ok { color: var(--green-mid); font-weight: 600; }

/* Responsive */
@media (max-width: 720px) {
  .donate-split { grid-template-columns: 1fr; border-radius: 16px; }
  .donate-side { order: 2; }
  .donate-title { font-size: 1.55rem; }
  .donate-amts { grid-template-columns: repeat(2, 1fr); }
  .donate-amt .da-sub { white-space: normal; }
}

/* === Admin console ================================================== */
.admin-dash { max-width: 1120px; margin: 0 auto; padding: 8px 0 48px; }
.admin-page { background: rgba(255,255,255,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.65); border-radius: 20px; padding: 18px 18px 26px; box-shadow: 0 12px 44px rgba(20,32,74,.12); }

/* header */
.admin-topbar { position: relative; overflow: hidden; background: linear-gradient(115deg, #14204a 0%, #191e3b 52%, #1d3f86 100%); color: #fff; border-radius: 14px; padding: 26px 28px 24px; margin-bottom: 6px; }
.admin-topbar::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 130% at 100% 0%, rgba(79,142,245,.28), transparent 58%); pointer-events: none; }
.admin-topbar-head { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.admin-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.52); margin: 0 0 5px; }
.admin-dash .admin-title { color: #fff; margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.admin-whoami { font-size: 13px; color: rgba(255,255,255,.72); padding-bottom: 3px; }
.admin-whoami strong { color: #fff; font-weight: 600; }
.admin-role-badge { display: inline-block; margin-left: .4rem; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #14204a; background: #ffd76e; border-radius: 999px; padding: .16rem .6rem; vertical-align: 1px; }
.admin-kpis { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 22px; }
.admin-kpi { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; padding: 13px 15px 12px; display: flex; flex-direction: column; gap: 3px; }
.admin-kpi-ico { display: none; }
.admin-kpi-label { order: -1; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: rgba(255,255,255,.62); }
.admin-kpi-val { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }

/* section nav */
.admin-nav { display: flex; gap: 2px; overflow-x: auto; margin: 14px 6px 18px; padding: 0; border-bottom: 1px solid rgba(20,32,74,.14); -webkit-overflow-scrolling: touch; }
.admin-nav-btn { flex: 0 0 auto; position: relative; padding: 10px 13px 12px; border: none; background: none; font-family: inherit; font-size: 14px; font-weight: 600; color: #5a6072; cursor: pointer; white-space: nowrap; transition: color .15s; }
.admin-nav-btn:hover { color: #14204a; }
.admin-nav-btn::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: -1px; height: 2px; border-radius: 2px 2px 0 0; }
.admin-nav-btn.active { color: #14204a; }
.admin-nav-btn.active::after { background: var(--blue); }

/* panels & cards */
.admin-panel { display: none; }
.admin-panel.active { display: block; animation: admin-fade .2s ease; }
@keyframes admin-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.admin-card { background: #fff; border: 1px solid #e7e9f2; border-radius: 14px; padding: 22px 24px; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.admin-card-title { margin: 0 0 3px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: #14204a; }
.admin-card-sub { margin: 0 0 14px; font-size: 13px; color: #6a7280; }
.admin-h2 { font-size: 1.05rem; color: #14204a; margin: 1.4rem 0 .6rem; }
.admin-h3 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: #6a7280; margin: 22px 0 8px; }
.admin-muted { color: #6a7280; font-size: 13px; padding: .5rem 0; }

/* stat tiles */
.admin-totals { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 10px; margin: 12px 0 8px; }
.admin-totals .admin-bymethod, .admin-totals .admin-actions { grid-column: 1 / -1; }
.admin-stat { background: #f8f9fc; border: 1px solid #eceef5; border-radius: 10px; padding: 12px 14px 11px; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: #6a7280; text-align: left; }
.admin-stat span { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: #14204a; margin-bottom: 3px; font-variant-numeric: tabular-nums; }

/* tables */
.admin-table-wrap { overflow-x: auto; background: #fff; border: 1px solid #e7e9f2; border-radius: 10px; margin: 6px 0; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { text-align: left; padding: 9px 14px; border-bottom: 1px solid #f0f1f6; white-space: nowrap; }
.admin-table th { background: #f8f9fc; border-bottom: 1px solid #e7e9f2; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: #6a7280; }
.admin-table td { color: #33384a; font-variant-numeric: tabular-nums; }
.admin-table tbody tr:hover td { background: #fafbff; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-bymethod { width: 100%; font-size: 12.5px; color: #6a7280; margin: 2px 0 4px; }
.admin-actions { width: 100%; margin: 6px 0 2px; display: flex; gap: 8px; flex-wrap: wrap; }

/* buttons */
.admin-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #fff; color: #2a3040; border: 1px solid #d5d9e4; border-radius: 8px; padding: 8px 14px; font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; cursor: pointer; box-shadow: 0 1px 1px rgba(16,24,40,.05); transition: background .15s, border-color .15s; }
.admin-btn:hover { background: #f8f9fc; border-color: #b9c0d1; }
.admin-btn[disabled] { opacity: .5; cursor: default; }
.admin-add-form .admin-btn, .admin-btn.nl-send { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 1px 2px rgba(20,32,74,.3); }
.admin-add-form .admin-btn:hover, .admin-btn.nl-send:hover { background: #242b56; border-color: #242b56; }
.admin-btn.nl-send.armed { background: #c0392b; border-color: #c0392b; }
.admin-btn.role-btn, .admin-btn.del-btn { padding: 5px 10px; font-size: 12px; box-shadow: none; }
.admin-btn.del-btn { color: #c0392b; border-color: #eccfcc; }
.admin-btn.del-btn:hover { background: #fdf4f3; border-color: #dfb3ad; }

/* trend chart */
.trend-chart { display: flex; align-items: flex-end; gap: 5px; height: 84px; margin: 4px 0 16px; overflow-x: auto; padding: 0 2px 4px; }
.trend-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; font-size: 9.5px; color: #9aa0b0; flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.trend-bar { width: 20px; background: linear-gradient(180deg, #4f8ef5, #1668e3); border-radius: 4px 4px 2px 2px; min-height: 3px; margin-bottom: 4px; }

/* user management */
.admin-add-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 4px; }
.admin-add-form input, .admin-add-form select { padding: 9px 12px; border: 1px solid #d5d9e4; border-radius: 8px; font-size: 14px; font-family: inherit; background: #fff; color: #14204a; }
.admin-add-form input { flex: 1 1 170px; min-width: 150px; }
.admin-add-form input:focus, .admin-add-form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,104,227,.13); }
#au-msg { min-height: 18px; margin: 6px 0 8px; font-size: 13px; padding: 0; }
.role-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.role-admin { background: #e8f0fe; color: #14417e; }
.role-customer { background: #f0f1f6; color: #5a6072; }

/* per-admin permissions editor */
.perm-edit { display: flex; flex-direction: column; gap: 3px; }
.perm-chk { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #33384a; white-space: nowrap; cursor: pointer; }
.perm-chk input { margin: 0; accent-color: var(--blue); }
.perm-chk-all { font-weight: 600; color: #14417e; padding-bottom: 4px; margin-bottom: 3px; border-bottom: 1px solid #eceef5; }
.perm-badge { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #f0f1f6; color: #5a6072; font-size: 11px; }
.perm-full { font-size: 12px; font-weight: 600; color: #14417e; }

@media (max-width: 720px) {
  .admin-page { padding: 12px 10px 20px; }
  .admin-topbar { padding: 20px 18px; }
  .admin-dash .admin-title { font-size: 21px; }
  .admin-kpis { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .admin-kpi-val { font-size: 20px; }
  .admin-card { padding: 16px 14px; }
}

/* --- newsletter composer --- */
#nl-status { margin-bottom: 12px; padding: 8px 12px; background: #f8f9fc; border: 1px solid #eceef5; border-radius: 8px; font-size: 12.5px; }
#nl-status code { background: #eceef5; padding: 1px 6px; border-radius: 5px; font-size: 11.5px; }
.nl-composer { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.nl-composer input[type=text], .nl-composer textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #d5d9e4; border-radius: 8px; font-size: 14px; font-family: inherit; box-sizing: border-box; background: #fff; color: #14204a;
}
.nl-composer input[type=text]:focus, .nl-composer textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,104,227,.13); }
.nl-composer textarea { resize: vertical; line-height: 1.5; }
.nl-mode { display: flex; gap: 16px; font-size: 14px; color: #555; }
.nl-mode label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
#nl-msg { min-height: 18px; font-size: 13px; padding: 0; }
.nl-preview { margin-top: 14px; border: 1px solid #e7e9f2; border-radius: 10px; overflow: hidden; max-width: 720px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.nl-preview-head { background: #f8f9fc; border-bottom: 1px solid #e7e9f2; padding: 10px 14px; font-weight: 600; font-size: 12.5px; color: #5a6072; }
.nl-preview-body { padding: 18px; background: #fff; }

/* --- newsletter WYSIWYG editor --- */
.nl-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; padding: 6px; border: 1px solid #d5d9e4; border-bottom: none; border-radius: 10px 10px 0 0; background: #f8f9fc; }
.nl-tool { min-width: 32px; height: 30px; padding: 0 8px; border: 1px solid transparent; border-radius: 7px; background: transparent; cursor: pointer; font-size: 13.5px; line-height: 1; color: #33384a; font-family: inherit; }
.nl-tool:hover { background: #eceef5; }
.nl-tool.active { background: var(--navy); color: #fff; }
.nl-tool[disabled] { opacity: .4; cursor: default; }
.nl-sep { width: 1px; height: 18px; background: #dde0ea; margin: 0 5px; }
.nl-editor { min-height: 340px; width: 100%; box-sizing: border-box; padding: 16px 18px; border: 1px solid #d5d9e4; border-radius: 0 0 10px 10px; background: #fff; font-size: 15px; line-height: 1.6; overflow-y: auto; resize: vertical; }
.nl-editor:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,104,227,.13); }
.nl-editor:empty:before { content: attr(data-placeholder); color: #9aa5b1; }
.nl-editor img { max-width: 100%; height: auto; }
.nl-editor h2 { font-size: 20px; margin: 12px 0 6px; }
.nl-editor a { color: var(--blue); }
.nl-source { width: 100%; min-height: 340px; padding: 12px; border: 1px solid #d5d9e4; border-radius: 0 0 10px 10px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.5; box-sizing: border-box; }

/* --- newsletter signup bar (site-wide footer) --- */
.nl-signup { background: var(--navy); color: #fff; padding: 22px 16px; }
.nl-signup-inner { max-width: 920px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.nl-signup-text { display: flex; flex-direction: column; gap: 2px; }
.nl-signup-text strong { font-size: 17px; }
.nl-signup-text span { font-size: 13px; opacity: .85; }
.nl-signup-form { display: flex; gap: 8px; }
.nl-signup-form input { padding: 11px 14px; border: none; border-radius: 8px; font-size: 15px; min-width: 240px; }
.nl-signup-btn { padding: 11px 22px; border: none; border-radius: 8px; background: #ffd34d; color: #14204a; font-weight: 700; font-size: 15px; cursor: pointer; }
.nl-signup-btn:hover { background: #ffc31f; }
.nl-signup-btn[disabled] { opacity: .6; cursor: default; }
.nl-signup-msg { max-width: 920px; margin: 8px auto 0; font-size: 14px; min-height: 18px; }
.nl-signup-msg.ok { color: #d6ffd9; font-weight: 600; }
.nl-signup-msg.err { color: #ffd9d9; }
@media (max-width: 560px) {
  .nl-signup-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .nl-signup-form { flex-direction: column; }
  .nl-signup-form input { min-width: 0; width: 100%; box-sizing: border-box; }
}

/* --- save & pay for a trip --- */
.trip-pay { margin: 14px 0; }
.tp-card { background: #fff; border: 1px solid #e2e6ea; border-left: 4px solid #191e3b; border-radius: 12px; padding: 18px 20px; max-width: 560px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.tp-head { font-size: 18px; font-weight: 700; color: #14204a; margin-bottom: 6px; }
.tp-sub { font-size: 13px; color: #6a7682; margin: 4px 0 12px; }
.tp-breakdown { margin: 10px 0 12px; font-size: 14px; }
.tp-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed #eceff2; }
.tp-row.tp-total { border-bottom: none; border-top: 2px solid #191e3b; margin-top: 4px; padding-top: 8px; font-weight: 700; font-size: 16px; }
.tp-adjust { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #555; margin: 8px 0 14px; }
.tp-adjust input { width: 110px; padding: 8px 10px; border: 1px solid #ccc; border-radius: 8px; font-size: 14px; }
.tp-btn { width: 100%; padding: 12px; border: none; border-radius: 10px; background: #191e3b; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.tp-btn:hover { background: #18482a; }
.tp-btn[disabled] { opacity: .6; cursor: default; }
.tp-note { font-size: 13px; color: #14417e; margin: 0 0 10px; font-weight: 600; }
.tp-paid { font-size: 15px; color: #14417e; font-weight: 700; margin: 12px 0; }
.tp-msg { min-height: 18px; font-size: 13px; margin-top: 8px; }
.tp-link { display: block; margin: 12px auto 0; background: none; border: none; color: #6a7682; font-size: 13px; text-decoration: underline; cursor: pointer; }
.tp-bar { height: 12px; background: #eceff2; border-radius: 999px; overflow: hidden; margin: 8px 0 6px; }
.tp-bar-fill { height: 100%; background: linear-gradient(90deg,#191e3b,#3a9d5d); border-radius: 999px; transition: width .4s; }
.tp-bar-label { font-size: 13px; color: #555; margin-bottom: 12px; font-weight: 600; }

/* --- newsletter AI writer --- */
.nl-ai { display: flex; gap: 8px; align-items: center; padding: 10px; background: linear-gradient(100deg, #f5f2fd, #eef4fd); border: 1px solid #e2ddf3; border-radius: 10px; }
.nl-ai input { flex: 1; padding: 9px 12px; border: 1px solid #d9d4ec; border-radius: 8px; font-size: 14px; background: #fff; font-family: inherit; }
.nl-ai input:focus { outline: none; border-color: #6c4cd6; box-shadow: 0 0 0 3px rgba(108,76,214,.13); }
.nl-ai .admin-btn { background: #6c4cd6; border-color: #6c4cd6; color: #fff; white-space: nowrap; }
.nl-ai .admin-btn:hover { background: #5a3dc0; border-color: #5a3dc0; }

/* --- add hotel/stay to trip --- */
.stay-actions { display: flex; gap: 8px; align-items: center; }
.stay-add { padding: 7px 12px; border: 1px solid #c9cbd6; background: #fff; color: #191e3b; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; font-family: inherit; }
.stay-add:hover { border-color: #191e3b; }
.stay-add.added { background: #e8f0fe; color: #14417e; border-color: #c9d8f2; cursor: default; }
.trip-item-badge.badge-stay { background: #eaf1ff; color: #2a5bd7; }
.stay-stars { color: #e6a817; letter-spacing: 1px; }

/* Trail feature chips (were rendering as run-on text) */
.trail-feature-tag { display: inline-block; font-size: .7rem; font-weight: 600; color: #43485e; background: #f2f3f7; border: 1px solid #e0e0e5; border-radius: 999px; padding: .18rem .55rem; margin: .12rem .3rem .12rem 0; }


/* Saved flights & rental cars in My Trip */
.trip-saveditem { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid #e0e0e5; border-radius: 12px; padding: .8rem 1rem; margin-bottom: .6rem; }
.trip-saveditem strong { color: #191e3b; font-size: .95rem; }
.trip-saveditem-meta { font-size: .82rem; color: #5f5f65; margin-top: .15rem; }
