:root {
  color-scheme: light;
  --page-bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --surface-muted: #e2e8f0;
  --text: #0f172a;
  --text-strong: #020617;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --brand: #0d9488;
  --brand-bright: #14b8a6;
  --brand-dark: #0f766e;
  --accent: #0284c7;
  --accent-soft: #e0f2fe;
  --danger: #e11d48;
  --danger-soft: #ffe4e6;
  --warning: #f59e0b;
  --warning-soft: #fef3c7;
  --success: #10b981;
  --success-soft: #d1fae5;
  --shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.14), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
  --header-bg: rgba(255, 255, 255, 0.92);
  --hero-overlay: linear-gradient(135deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.5) 60%, rgba(13, 148, 136, 0.3) 100%);
}

.dark {
  color-scheme: dark;
  --page-bg: #090e17;
  --surface: #0f172a;
  --surface-soft: #162036;
  --surface-muted: #1e293b;
  --text: #e2e8f0;
  --text-strong: #f8fafc;
  --text-muted: #94a3b8;
  --border: #22314a;
  --brand: #2dd4bf;
  --brand-bright: #5eead4;
  --brand-dark: #14b8a6;
  --accent: #38bdf8;
  --accent-soft: #0c2d48;
  --danger: #fb7185;
  --danger-soft: #3f121d;
  --warning: #fbbf24;
  --warning-soft: #452204;
  --success: #34d399;
  --success-soft: #064e3b;
  --shadow: 0 14px 35px -5px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 50px -8px rgba(0, 0, 0, 0.65);
  --header-bg: rgba(15, 23, 42, 0.92);
  --hero-overlay: linear-gradient(135deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.7) 60%, rgba(20, 184, 166, 0.25) 100%);
}

html {
  background-color: #f8fafc;
  color: #0f172a;
}

html.dark {
  background-color: #090e17 !important;
  color: #e2e8f0 !important;
}

* {
  box-sizing: border-box;
}

html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease !important;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background: var(--page-bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.dark body {
  background-color: #090e17 !important;
  color: #e2e8f0 !important;
}

img {
  display: block;
  max-width: 100%;
}

/* Custom Utilities and Theme Adapters */
.bg-slate-50,
.dark .dark\:bg-slate-950 {
  background-color: var(--page-bg) !important;
}

.bg-white,
.dark .dark\:bg-slate-900 {
  background-color: var(--surface) !important;
}

.bg-slate-100,
.dark .dark\:bg-slate-800 {
  background-color: var(--surface-soft) !important;
}

.text-slate-700,
.text-slate-800,
.text-slate-900,
.dark .dark\:text-slate-100 {
  color: var(--text) !important;
}

.text-slate-950,
.dark .dark\:text-white {
  color: var(--text-strong) !important;
}

.text-slate-400,
.text-slate-500,
.text-slate-600,
.dark .dark\:text-slate-300,
.dark .dark\:text-slate-400 {
  color: var(--text-muted) !important;
}

.text-teal-600,
.text-teal-700,
.dark .dark\:text-teal-200,
.dark .dark\:text-teal-300 {
  color: var(--brand) !important;
}

.text-sky-600,
.text-sky-700,
.dark .dark\:text-sky-200 {
  color: var(--accent) !important;
}

.border-slate-200,
.border-slate-300,
.border-slate-700,
.border-slate-800,
.dark .dark\:border-slate-700,
.dark .dark\:border-slate-800 {
  border-color: var(--border) !important;
}

.shadow-sm,
.shadow-md,
.shadow-lg,
.shadow-xl,
.shadow-2xl {
  box-shadow: var(--shadow) !important;
}

/* ==========================================================================
   BUTTONS & CONTROLS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d9488, #0284c7);
  padding: 0.75rem 1.4rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: #ffffff !important;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.45);
  opacity: 0.96;
}

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

.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  padding: 0.65rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  transition: all 180ms ease;
  text-decoration: none;
}

.btn-soft:hover {
  background: var(--surface-muted);
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid var(--border);
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  transition: all 180ms ease;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--surface-soft);
}

/* Auth Header Buttons with Guaranteed Contrast in Light and Dark Modes */
.auth-signin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 9999px;
  border: 1.5px solid #cbd5e1 !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  transition: all 180ms ease;
  text-decoration: none;
  white-space: nowrap;
}

.auth-signin-btn i {
  color: #0d9488 !important;
  transition: transform 180ms ease;
}

.auth-signin-btn:hover {
  border-color: #0d9488 !important;
  color: #0d9488 !important;
  background-color: #f0fdfa !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
}

.auth-signin-btn:hover i {
  transform: translateX(2px);
}

.dark .auth-signin-btn,
html.dark .auth-signin-btn {
  background-color: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.dark .auth-signin-btn i,
html.dark .auth-signin-btn i {
  color: #2dd4bf !important;
}

.dark .auth-signin-btn:hover,
html.dark .auth-signin-btn:hover {
  background-color: #0f172a !important;
  border-color: #2dd4bf !important;
  color: #2dd4bf !important;
}

.auth-register-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0d9488, #0f766e) !important;
  border: 1.5px solid transparent !important;
  color: #ffffff !important;
  padding: 0.45rem 1.05rem;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
  transition: all 180ms ease;
  text-decoration: none;
  white-space: nowrap;
}

.auth-register-btn:hover {
  background: linear-gradient(135deg, #14b8a6, #0d9488) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.45);
}

.dark .auth-register-btn,
html.dark .auth-register-btn {
  background: linear-gradient(135deg, #0d9488, #14b8a6) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(45, 212, 191, 0.3);
}

.icon-btn {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-strong);
  cursor: pointer;
  transition: all 180ms ease;
}

.icon-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.55rem 1rem;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 180ms ease;
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.chip-active {
  background: var(--brand) !important;
  color: white !important;
  border-color: var(--brand) !important;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.field {
  width: 100%;
  border-radius: 0.95rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

#site-header header {
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

.dark #site-header header {
  background-color: rgba(15, 23, 42, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(30, 41, 59, 0.85) !important;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.35) !important;
}

.nav-link {
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-weight: 800;
  font-size: 0.88rem;
  color: #334155 !important;
  text-decoration: none;
  transition: all 180ms ease;
}

.dark .nav-link {
  color: #cbd5e1 !important;
}

.nav-link:hover {
  background: rgba(13, 148, 136, 0.1) !important;
  color: var(--brand) !important;
}

.nav-link.active-nav {
  color: var(--brand) !important;
  background: rgba(13, 148, 136, 0.14) !important;
  font-weight: 900;
}

/* ==========================================================================
   HERO & SEARCH WIDGET
   ========================================================================== */
.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}

.hero-section > * {
  position: relative;
  z-index: 2;
}

.hero-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  padding: 0.45rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 900;
  color: #ccfbf1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.search-hero-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}

.image-band {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.search-field-group {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.75rem;
  border-radius: 0.85rem;
  background: var(--surface-soft);
  border: 1px solid transparent;
  transition: all 180ms ease;
}

.search-field-group:focus-within {
  border-color: var(--brand);
  background: var(--surface);
}

.search-field-group label {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.search-field-group input,
.search-field-group select {
  border: none;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-strong);
  padding: 0.25rem 0;
  outline: none;
  width: 100%;
}

/* Native select menus use a light popup on many desktop browsers. Keep option
   text readable there even when the closed control is styled for dark mode. */
select option,
select optgroup {
  color: #0f172a !important;
  background-color: #ffffff !important;
}

/* ==========================================================================
   DESTINATION CATEGORIES & TABS
   ========================================================================== */
.dest-filter-tab {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-weight: 800;
  font-size: 0.88rem;
  transition: all 180ms ease;
}

.dest-filter-tab:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.dest-filter-tab.active {
  border-color: var(--brand) !important;
  background: var(--brand) !important;
  color: white !important;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35);
}

.destination-card {
  position: relative;
  overflow: hidden;
  height: 23rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: block;
  text-decoration: none;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.destination-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.destination-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.destination-card:hover img {
  transform: scale(1.08);
}

.destination-card__shade {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.02) 0%, rgba(2, 6, 23, 0.4) 45%, rgba(2, 6, 23, 0.92) 100%);
  padding: 1.5rem;
  color: white;
  z-index: 2;
}

/* ==========================================================================
   HOTEL CARDS & BADGES
   ========================================================================== */
.hotel-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.hotel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.hotel-card.is-selected {
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.25), var(--shadow);
}

/* Hotel Price Badge on Card Image */
.hotel-price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.35rem 0.85rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  z-index: 10;
  transition: all 180ms ease;
}

.hotel-price-tag .price-num {
  font-size: 0.95rem;
  font-weight: 900;
  color: #0f172a !important;
  letter-spacing: -0.01em;
}

.hotel-price-tag .price-unit {
  font-size: 0.72rem;
  font-weight: 800;
  color: #475569 !important;
}

/* Dark Mode Hotel Price Badge */
.dark .hotel-price-tag {
  background: rgba(15, 23, 42, 0.94) !important;
  border: 1px solid rgba(45, 212, 191, 0.45) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65) !important;
}

.dark .hotel-price-tag .price-num {
  color: #2dd4bf !important; /* Vivid radiant teal in dark mode */
  text-shadow: 0 0 10px rgba(45, 212, 191, 0.3);
}

.dark .hotel-price-tag .price-unit {
  color: #cbd5e1 !important; /* Crisp light slate in dark mode */
}

.recommendation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.badge-top-rated {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
}

.badge-strategic {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
}

.badge-budget {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
}

.badge-luxury {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #ffffff;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #059669;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
}

.dark .verified-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.amenity-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.22rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
}

.proximity-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.22rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
}

/* ==========================================================================
   PHOTO GALLERIES & LIGHTBOX
   ========================================================================== */
.gallery-grid-preview {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
  height: 380px;
  border-radius: 1.25rem;
  overflow: hidden;
}

@media (max-width: 640px) {
  .gallery-grid-preview {
    grid-template-columns: 1fr;
    grid-template-rows: 240px;
    height: auto;
  }
  .gallery-grid-preview > div:not(:first-child) {
    display: none;
  }
}

.gallery-grid-preview > div:first-child {
  grid-row: span 2;
}

.gallery-item-wrap {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery-item-wrap:hover img {
  transform: scale(1.06);
}

.gallery-thumb-btn {
  width: 68px;
  height: 48px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 180ms ease;
}

.gallery-thumb-btn.active-thumb {
  border-color: var(--brand);
  transform: scale(1.05);
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   VERIFIED GUEST REVIEWS & VISITOR PHOTOS
   ========================================================================== */
.visitor-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 0.6rem;
}

.visitor-photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.85rem;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.visitor-photo-item:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.visitor-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card {
  border-radius: 1.1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem;
}

.trust-score-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--surface-soft);
  overflow: hidden;
}

.trust-score-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

/* ==========================================================================
   AUTH GUARD & SOCIAL BUTTONS
   ========================================================================== */
.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  border-radius: 0.95rem;
  padding: 0.75rem 1rem;
  font-weight: 800;
  font-size: 0.88rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all 180ms ease;
}

.btn-social:hover {
  background: var(--surface-soft);
  border-color: var(--brand);
  transform: translateY(-1px);
}

.btn-social.btn-google:hover {
  border-color: #ea4335;
  color: #ea4335;
}

.btn-social.btn-apple:hover {
  border-color: #000000;
}

.dark .btn-social.btn-apple:hover {
  border-color: #ffffff;
}

.btn-social.btn-facebook:hover {
  border-color: #1877f2;
  color: #1877f2;
}

/* ==========================================================================
   AUTOMATED ITINERARY & LOCAL RECOMMENDATIONS
   ========================================================================== */
.timeslot-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
}

.timeslot-morning {
  background: #fef3c7;
  color: #b45309;
}

.dark .timeslot-morning {
  background: #78350f;
  color: #fde68a;
}

.timeslot-afternoon {
  background: #e0f2fe;
  color: #0369a1;
}

.dark .timeslot-afternoon {
  background: #0c4a6e;
  color: #bae6fd;
}

.timeslot-evening {
  background: #ede9fe;
  color: #6d28d9;
}

.dark .timeslot-evening {
  background: #4c1d95;
  color: #ddd6fe;
}

.recommendation-type-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 900;
}

.tag-landmark {
  background: rgba(13, 148, 136, 0.12);
  color: var(--brand);
}

.tag-restaurant {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

.dark .tag-restaurant {
  color: #fbbf24;
}

.tag-activity {
  background: rgba(2, 132, 199, 0.15);
  color: #0284c7;
}

.dark .tag-activity {
  color: #38bdf8;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
#mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  display: none;
}

.dark #mobile-bottom-nav {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  #mobile-bottom-nav {
    display: block;
  }
  body {
    padding-bottom: 74px;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.25rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 150ms ease;
  position: relative;
}

.mobile-nav-item i {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.mobile-nav-item.active-mobile-tab {
  color: var(--brand);
}

.mobile-nav-item.active-mobile-tab::after {
  content: "";
  position: absolute;
  top: 0;
  width: 24px;
  height: 3px;
  background: var(--brand);
  border-radius: 0 0 4px 4px;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
#wanderly-toast {
  position: fixed;
  bottom: 84px;
  right: 20px;
  z-index: 9999;
  background: var(--surface);
  color: var(--text-strong);
  border: 1px solid var(--border);
  padding: 0.85rem 1.25rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 0.88rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

#wanderly-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   NAVBAR CURRENCY & HERO ENHANCEMENTS
   ========================================================================== */
#nav-currency-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 0.85rem;
  padding-right: 1.5rem;
}

.search-field-group input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  width: 14px;
  height: 14px;
  margin-left: 4px;
  opacity: 0.8;
  filter: brightness(0);
  transition: opacity 150ms, filter 150ms;
}

.dark .search-field-group input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.95;
  filter: brightness(0) invert(1);
}

.search-field-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* ==========================================================================
   MODAL & DIALOG SYSTEM (Fixed Positioning & Layout Shift Prevention)
   ========================================================================== */
body.modal-open {
  overflow: hidden !important;
}

#auth-modal,
#booking-modal,
#gallery-modal,
#reviews-modal,
#hotel-details-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

#auth-modal:not(:empty),
#booking-modal:not(:empty),
#gallery-modal:not(:empty),
#reviews-modal:not(:empty),
#hotel-details-modal:not(:empty) {
  pointer-events: auto;
}

.modal-backdrop-custom {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem;
  overflow-y: auto;
  animation: modalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-dialog-custom {
  position: relative;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  margin: auto;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalScaleUp {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Gallery Lightbox Custom Styles */
.gallery-thumbnail-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem;
  scrollbar-width: thin;
}

.gallery-thumb-btn {
  position: relative;
  width: 4.5rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 180ms ease;
  background: #000;
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb-btn.active-thumb {
  border-color: var(--brand);
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(20, 184, 166, 0.5);
  opacity: 1 !important;
}

/* ==========================================================================
   LEAFLET MAP CONTAINER & PINS
   ========================================================================== */
#destination-map {
  min-height: 360px !important;
  height: 360px !important;
  width: 100% !important;
  z-index: 10 !important;
  position: relative !important;
  background-color: #e2e8f0;
  border-radius: 1rem;
}

.dark #destination-map {
  background-color: #1e293b;
}

.leaflet-container {
  font-family: inherit !important;
  z-index: 10 !important;
  width: 100% !important;
  height: 100% !important;
}

.custom-place-pin,
.custom-rest-pin,
.custom-hotel-pin {
  background: transparent !important;
  border: none !important;
}

/* ==========================================================================
   PRINT / PDF MEDIA STYLES
   ========================================================================== */
@media print {
  #site-header,
  #site-footer,
  #mobile-bottom-nav,
  .btn-primary,
  .btn-soft,
  #wanderly-toast,
  button,
  .no-print {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #summary-report {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
  }

  .rounded-2xl,
  .rounded-xl {
    border-radius: 8px !important;
  }
}
