/* -------------------------------------------------------
   STYLES — Cirrus Trip Planner (v2 — visual refresh)
   ------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ---- Reset & Base ---- */

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0b1117;
  color: #e2e8f0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2d4a63; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3d6080; }

/* ---- Header ---- */

header {
  background: linear-gradient(135deg, #0f1a24 0%, #162436 100%);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(79, 163, 224, 0.15);
  flex-shrink: 0;
}

header h1 {
  font-size: 18px;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: -0.3px;
}

header h1 .accent { color: #5bb8f5; }

header span {
  font-size: 12px;
  color: #5a7a94;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.header-btn {
  margin-left: auto;
  padding: 7px 14px;
  background: rgba(91, 184, 245, 0.08);
  border: 1px solid rgba(91, 184, 245, 0.25);
  border-radius: 8px;
  color: #5bb8f5;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.header-btn:hover {
  background: rgba(91, 184, 245, 0.15);
  border-color: rgba(91, 184, 245, 0.4);
  transform: translateY(-1px);
}

/* ---- Layout ---- */

.app { display: flex; flex: 1; overflow: hidden; }

/* ---- Sidebar ---- */

.sidebar {
  width: 360px;
  background: #111b27;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(79, 163, 224, 0.1);
  overflow-y: auto;
  flex-shrink: 0;
}

/* ---- Search Panel ---- */

.search-panel {
  padding: 22px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.search-panel h2 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #5a7a94;
  margin-bottom: 18px;
  font-weight: 600;
}

label {
  display: block;
  font-size: 11px;
  color: #5a7a94;
  margin-bottom: 6px;
  margin-top: 16px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

input, select {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #e2e8f0;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s;
}

input::placeholder { color: #3d5468; }

input:focus, select:focus {
  outline: none;
  border-color: rgba(91, 184, 245, 0.5);
  background: rgba(91, 184, 245, 0.05);
  box-shadow: 0 0 0 3px rgba(91, 184, 245, 0.08);
}

.activity-grid { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 6px; }

.activity-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #8ba3b8;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  font-family: inherit;
}

.activity-btn.selected {
  background: rgba(91, 184, 245, 0.1);
  border-color: rgba(91, 184, 245, 0.3);
  color: #5bb8f5;
  font-weight: 600;
}

.search-btn {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: linear-gradient(135deg, #2d8bcf 0%, #5bb8f5 100%);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 15px rgba(91, 184, 245, 0.2);
}

.search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(91, 184, 245, 0.3);
}

.search-btn:active { transform: translateY(0); }

/* ---- Filter Pills ---- */

.filter-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: #6b8ba3;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.filter-pill:hover {
  border-color: rgba(91, 184, 245, 0.3);
  color: #c0d8ec;
  background: rgba(91, 184, 245, 0.06);
}

.filter-pill.active {
  background: rgba(91, 184, 245, 0.12);
  border-color: rgba(91, 184, 245, 0.4);
  color: #5bb8f5;
  font-weight: 600;
}

/* ---- Results Panel ---- */

.results-panel { 
  padding: 16px 20px; 
  flex: 1; 
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.results-panel h2 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #5a7a94;
  margin-bottom: 14px;
  font-weight: 600;
}

.results-section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #5a7a94;
  margin-bottom: 10px;
  font-weight: 600;
}

/* ---- Result Cards ---- */

.result-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
  will-change: transform;
  contain: layout style paint;
}

.result-card:hover {
  border-color: rgba(91, 184, 245, 0.3);
  background: rgba(91, 184, 245, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.result-card.highlighted {
  outline: 2px solid #5bb8f5;
  outline-offset: -1px;
}

.result-card.nps-border { border-left: 3px solid #3dba78; }

.card-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  content-visibility: auto;
}

.card-body { padding: 14px 16px; }

.result-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.icao { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.icao.nps-text { color: #3dba78; }

.meta {
  font-size: 12px;
  color: #5a7a94;
  margin-top: 6px;
  line-height: 1.5;
}

.airport-meta {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.airport-badge {
  background: rgba(61, 186, 120, 0.12);
  color: #3dba78;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.card-description {
  margin-top: 8px;
  color: #4d6a80;
  line-height: 1.5;
}

.activities-tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 5px; }

/* ---- Tags ---- */

.tag {
  font-size: 10px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}

.tag-blue { background: rgba(91, 184, 245, 0.1); color: #5bb8f5; }
.tag-green { background: rgba(61, 186, 120, 0.1); color: #3dba78; }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---- Empty State ---- */

.empty-state {
  text-align: center;
  color: #3d5468;
  font-size: 13px;
  padding: 40px 20px;
  line-height: 1.6;
}

/* ---- Loading Spinner ---- */

.loading-spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(91, 184, 245, 0.15);
  border-top-color: #5bb8f5;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Map Area ---- */

.map-area { flex: 1; display: flex; flex-direction: column; position: relative; }
#map { flex: 1; background: #0b1117; }

/* ---- Detail Panel ---- */

#detailPanel {
  position: absolute;
  top: 0; right: 0;
  width: 400px;
  height: 100%;
  background: #111b27;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  overflow-y: auto;
  z-index: 1000;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#detailPanel.open {
  transform: translateX(0);
}

/* Hero image */

.detail-hero {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  content-visibility: auto;
}

.detail-hero-placeholder {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, #162436 0%, #1a3048 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.detail-header {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: rgba(17, 27, 39, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10;
}

.detail-header span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #5a7a94;
  font-weight: 600;
}

.detail-close {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: #8ba3b8;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s;
}

.detail-close:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.1);
}

/* Detail panel content */

.detail-loading {
  text-align: center;
  padding: 60px 20px;
  color: #5a7a94;
}

.detail-loading div { font-size: 13px; margin-top: 16px; }

.detail-park-header { margin-bottom: 20px; }

.detail-designation {
  font-size: 10px;
  color: #3dba78;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.detail-title {
  font-size: 20px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.detail-location { font-size: 13px; color: #5a7a94; }

/* Detail cards (dark background sections) */

.detail-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.detail-section { margin-bottom: 18px; }

.detail-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #5a7a94;
  margin-bottom: 10px;
  font-weight: 600;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.detail-row-label { font-size: 13px; color: #8ba3b8; }
.detail-row-value { font-size: 13px; color: #e2e8f0; font-weight: 600; }

.detail-body-text {
  font-size: 13px;
  color: #8ba3b8;
  line-height: 1.75;
}

.detail-muted { font-size: 12px; color: #3d5468; }

/* Nearest airport section */

.detail-divider {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-airport-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-airport-icao {
  background: rgba(91, 184, 245, 0.1);
  color: #5bb8f5;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.detail-airport-name { font-size: 13px; color: #e2e8f0; font-weight: 500; }
.detail-airport-distance { font-size: 12px; color: #5a7a94; margin-top: 2px; }
.detail-airport-address { font-size: 11px; color: #3d5468; margin-top: 3px; }

/* Driving stats */

.detail-driving-dest {
  font-size: 11px;
  color: #3d5468;
  margin-bottom: 10px;
}

.detail-driving-stats {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  gap: 16px;
}

.detail-driving-stat { flex: 1; text-align: center; }
.detail-driving-stat-label { font-size: 11px; color: #5a7a94; margin-bottom: 6px; font-weight: 500; }
.detail-driving-stat-value { font-size: 17px; font-weight: 700; color: #e2e8f0; }
.detail-driving-divider { width: 1px; background: rgba(255, 255, 255, 0.06); }

/* Fee rows */

.detail-fee-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-fee-row:last-child { border-bottom: none; }

.detail-fee-amount { font-size: 13px; color: #5bb8f5; font-weight: 600; }

/* NPS link button */

.detail-nps-link {
  display: block;
  text-align: center;
  padding: 12px;
  background: rgba(91, 184, 245, 0.08);
  border: 1px solid rgba(91, 184, 245, 0.25);
  border-radius: 10px;
  color: #5bb8f5;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 20px;
  transition: all 0.2s;
  font-family: inherit;
}

.detail-nps-link:hover {
  background: rgba(91, 184, 245, 0.15);
  border-color: rgba(91, 184, 245, 0.4);
  transform: translateY(-1px);
}

/* ---- Filter panel ---- */

.filter-panel {
  display: none;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.filter-header span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #5a7a94;
  font-weight: 600;
}

.filter-clear-btn {
  font-size: 11px;
  color: #5bb8f5;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-weight: 500;
  font-family: inherit;
  transition: color 0.2s;
}

.filter-clear-btn:hover { color: #82ccff; }

.filter-group-label {
  font-size: 10px;
  color: #4d6a80;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.filter-group:last-child { margin-bottom: 0; }

#filterCount {
  font-size: 12px;
  color: #5a7a94;
  margin-top: 14px;
  font-weight: 500;
}

/* ---- Airport status ---- */

.airport-status {
  font-size: 11px;
  color: #3d5468;
  margin-top: 6px;
}

/* ---- Range Slider ---- */

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  outline: none;
  margin: 10px 0 6px;
  border: none;
  padding: 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #2d8bcf 0%, #5bb8f5 100%);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(91, 184, 245, 0.3);
  transition: transform 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #2d8bcf 0%, #5bb8f5 100%);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(91, 184, 245, 0.3);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #3d5468;
  font-weight: 500;
}

/* ---- Map Style Toolbar ---- */

.map-toolbar {
  position: absolute;
  bottom: 24px;
  right: 16px;
  display: flex;
  gap: 4px;
  background: rgba(17, 27, 39, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 4px;
  z-index: 800;
}

.map-style-btn {
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-style-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.map-style-btn.active {
  background: rgba(91, 184, 245, 0.15);
  border-color: rgba(91, 184, 245, 0.3);
}
/* ---- Auth Area ---- */

.auth-area {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.signup-btn {
  background: linear-gradient(135deg, #2d8bcf 0%, #5bb8f5 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-name {
  font-size: 12px;
  color: #8ba3b8;
  font-weight: 500;
}

.fav-btn {
  background: rgba(239, 68, 68, 0.08) !important;
  border-color: rgba(239, 68, 68, 0.25) !important;
  color: #ef4444 !important;
}

.fav-btn:hover {
  background: rgba(239, 68, 68, 0.15) !important;
}

/* ---- Auth Modal ---- */

.auth-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.auth-modal-overlay.open {
  display: flex;
}

.auth-modal {
  background: #111b27;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  width: 380px;
  max-width: 90vw;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.auth-modal h2 {
  font-size: 20px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: #8ba3b8;
  font-size: 18px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s;
}

.auth-modal-close:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.1);
}

.auth-label {
  display: block;
  font-size: 11px;
  color: #5a7a94;
  margin-bottom: 6px;
  margin-top: 16px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.auth-input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #e2e8f0;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s;
}

.auth-input::placeholder { color: #3d5468; }

.auth-input:focus {
  outline: none;
  border-color: rgba(91, 184, 245, 0.5);
  background: rgba(91, 184, 245, 0.05);
  box-shadow: 0 0 0 3px rgba(91, 184, 245, 0.08);
}

.auth-error {
  color: #ef4444;
  font-size: 12px;
  margin-top: 12px;
  min-height: 18px;
}

.auth-submit-btn {
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  background: linear-gradient(135deg, #2d8bcf 0%, #5bb8f5 100%);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  box-shadow: 0 4px 15px rgba(91, 184, 245, 0.2);
}

.auth-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(91, 184, 245, 0.3);
}

.auth-toggle {
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
  color: #5a7a94;
}

.auth-toggle a {
  color: #5bb8f5;
  text-decoration: none;
  font-weight: 500;
}

.auth-toggle a:hover { text-decoration: underline; }

/* ---- Favorite Heart Button ---- */

.fav-heart {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.2s;
  flex-shrink: 0;
  line-height: 1;
}

.fav-heart:hover {
  transform: scale(1.2);
}

.fav-heart.favorited {
  animation: heartPop 0.3s ease;
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Card top row — name + heart side by side */

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.card-top-row > div { flex: 1; min-width: 0; }

/* Detail header row — title + heart */

.detail-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.detail-header-row > div { flex: 1; min-width: 0; }

.detail-header-row .fav-heart { font-size: 24px; margin-top: 4px; }

/* ---- Favorites Panel ---- */

.fav-subheader {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #5a7a94;
  font-weight: 600;
  margin: 16px 0 8px;
}

.fav-card { cursor: default; }
.fav-card:hover { transform: none; box-shadow: none; }

/* ---- Destination Type Toggle ---- */

.dest-type-toggle {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.dest-type-btn {
  flex: 1;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #8ba3b8;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  font-family: inherit;
}

.dest-type-btn:hover {
  border-color: rgba(91, 184, 245, 0.3);
  color: #c0d8ec;
}

.dest-type-btn.active {
  background: rgba(91, 184, 245, 0.1);
  border-color: rgba(91, 184, 245, 0.3);
  color: #5bb8f5;
  font-weight: 600;
}

/* ---- Theme Park Card Styles ---- */

.result-card.themepark-border { border-left: 3px solid #e67e22; }
.icao.themepark-text { color: #e67e22; }

.airport-badge.themepark-badge {
  background: rgba(230, 126, 34, 0.12);
  color: #e67e22;
}

.themepark-hero {
  background: linear-gradient(135deg, #2d1810 0%, #3d2415 100%);
}

.detail-designation.themepark-designation { color: #e67e22; }

/* ---- Restaurant Styles ---- */
.result-card.restaurant-border { border-left: 3px solid #e74c3c; }
.icao.restaurant-text { color: #e74c3c; }
.airport-badge.restaurant-badge { background: rgba(231, 76, 60, 0.12); color: #e74c3c; }
.restaurant-hero { background: linear-gradient(135deg, #2d1015 0%, #3d1520 100%); }
.detail-designation.restaurant-designation { color: #e74c3c; }
.restaurant-vicinity { color: #8ba3b8; font-style: italic; font-size: 12px; }

.restaurant-rating-large {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; margin-bottom: 12px;
  background: rgba(231, 76, 60, 0.06);
  border-radius: 10px; border: 1px solid rgba(231, 76, 60, 0.12);
}
.restaurant-stars { font-size: 18px; font-weight: 600; color: #f1c40f; }
.restaurant-review-count { font-size: 12px; color: #8ba3b8; }

.restaurant-submit-btn-large {
  display: block;
  width: 100%;
  margin: 16px 0;
  padding: 14px 20px;
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 2px dashed rgba(231, 76, 60, 0.4);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
}
.restaurant-submit-btn-large:hover {
  background: rgba(231, 76, 60, 0.25);
  border-color: rgba(231, 76, 60, 0.6);
  transform: scale(1.01);
}
.restaurant-submit-btn-large:active {
  transform: scale(0.98);
}

.submit-rest-desc { color: #8ba3b8; font-size: 13px; margin-bottom: 16px; line-height: 1.5; }
.submit-rest-success { color: #3dba78; font-size: 13px; margin: 8px 0; font-weight: 600; }
.submit-rest-modal { max-width: 480px; max-height: 85vh; overflow-y: auto; }

.submit-rest-results-label {
  font-size: 12px; font-weight: 600; color: #8ba3b8;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin: 16px 0 8px;
}
.submit-rest-no-results {
  color: #8ba3b8; font-size: 13px; margin: 16px 0; text-align: center;
  padding: 16px; background: rgba(255,255,255,0.03); border-radius: 8px;
}
.submit-rest-candidate {
  padding: 12px 14px; margin: 6px 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.submit-rest-candidate:hover {
  background: rgba(231, 76, 60, 0.08);
  border-color: rgba(231, 76, 60, 0.3);
}
.submit-rest-candidate.selected {
  background: rgba(231, 76, 60, 0.12);
  border-color: rgba(231, 76, 60, 0.5);
}
.submit-rest-candidate-name {
  font-weight: 600; font-size: 14px; color: #e0e8f0;
}
.submit-rest-candidate-addr {
  font-size: 12px; color: #8ba3b8; margin-top: 2px;
}
.submit-rest-candidate-meta {
  font-size: 12px; color: #f1c40f; margin-top: 4px;
}

/* ---- Map Reset Button ---- */
.leaflet-reset-btn {
  background: rgba(20, 25, 35, 0.92); color: #e0e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px;
  padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
  backdrop-filter: blur(8px); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: background 0.2s, transform 0.1s;
}
.leaflet-reset-btn:hover { background: rgba(30, 38, 52, 0.95); transform: scale(1.03); }
.leaflet-reset-btn:active { transform: scale(0.97); }

/* ---- Map Reset Button ---- */
.leaflet-reset-btn {
  background: rgba(20, 25, 35, 0.92);
  color: #e0e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: background 0.2s, transform 0.1s;
}
.leaflet-reset-btn:hover {
  background: rgba(30, 38, 52, 0.95);
  transform: scale(1.03);
}
.leaflet-reset-btn:active {
  transform: scale(0.97);
}

/* ---- Weather Summary ---- */

.weather-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.weather-icon { font-size: 36px; }
.weather-temp { font-size: 22px; font-weight: 700; color: #e2e8f0; }
.weather-desc { font-size: 13px; color: #8ba3b8; }

/* ---- Autocomplete Dropdown ---- */

.autocomplete-wrapper { position: relative; }

.suggestions-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1a2636;
  border: 1px solid rgba(91, 184, 245, 0.25);
  border-top: none;
  border-radius: 0 0 10px 10px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.suggestion-item {
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s;
}

.suggestion-item:hover { background: rgba(91, 184, 245, 0.1); }

.suggestion-icao {
  font-size: 12px;
  font-weight: 700;
  color: #5bb8f5;
  letter-spacing: 0.5px;
  min-width: 45px;
}

.suggestion-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.suggestion-name {
  font-size: 12px;
  color: #8ba3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-location {
  font-size: 10px;
  color: #4d6a80;
  margin-top: 1px;
}

/* ---- Settings Panel ---- */
.settings-panel { padding: 8px 0; }
.settings-section { margin-bottom: 20px; }
.settings-section h4 { font-size: 13px; font-weight: 600; color: #e0e8f0; margin-bottom: 6px; }
.settings-desc { font-size: 12px; color: #8ba3b8; margin-bottom: 10px; line-height: 1.5; }
.settings-current { font-size: 12px; color: #5bb8f5; margin-top: 6px; }

.settings-select {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #e0e8f0;
  font-size: 14px;
  outline: none;
  cursor: pointer;
}
.settings-select:focus { border-color: #5bb8f5; }
.settings-select option { background: #1a2636; color: #e0e8f0; }

.settings-toggle-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.settings-toggle {
  padding: 8px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #8ba3b8;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.settings-toggle:hover {
  background: rgba(91,184,245,0.1);
  border-color: rgba(91,184,245,0.3);
}
.settings-toggle.active {
  background: rgba(91,184,245,0.15);
  border-color: #5bb8f5;
  color: #5bb8f5;
}

/* ---- Suggestion keyboard highlight ---- */
.suggestion-item.suggestion-active {
  background: rgba(91, 184, 245, 0.15);
}
