/* ========================================
   BUBBA HUB STYLES - COMPREHENSIVE GUIDE
   ========================================
   
   this is the main stylesheet for the entire site
   it uses css custom properties (variables) for theming
   
   HOW TO USE THIS FILE:
   
   1. UNDERSTANDING CSS VARIABLES
      - defined in :root { } at the top
      - used throughout with var(--variable-name)
      - change colors by editing the :root section
      - dark mode has separate values in :root[data-theme="dark"]
   
   2. HOW TO CREATE A NEW SECTION STYLE
      a. find similar existing section (e.g., .discovery-item for cards)
      b. copy the structure
      c. rename classes (e.g., .my-new-section)
      d. modify properties (padding, colors, etc)
      e. use existing variables (var(--card), var(--border), etc)
   
   3. COMMON PATTERNS
      - cards: background: var(--card); border: 1px solid var(--border);
      - hover effects: transition: all 0.25s ease; then change on :hover
      - forms: input styling with :focus for accent border
      - buttons: background: var(--accent); color: #fff;
   
   4. RESPONSIVE DESIGN
      - mobile styles at bottom in @media (max-width: 768px)
      - just override what needs to change on mobile
   
   5. KEY CLASSES TO REUSE
      .card - semi-transparent card with blur effect
      .section - standard padding for content sections
      .grid - responsive grid layout
      .cta - accent-colored button
      .muted - lighter text color
      .intro - section header with divider
   
   remember: lowercase comments, keep it simple, explain WHY not just WHAT
======================================== */

/* ========================================
   css variables for light & dark mode
   these control colors throughout the site
======================================== */

:root {
  /* light mode colors */
  --bg: #fefefe;
  --card: rgba(255, 255, 255, 0.7); /* semi-transparent cards for glass effect */
  --text: #1a1a1a;
  --muted: #737373;
  --accent: #c9a9a9; /* rose pink for buttons & highlights */
  --accent-hover: #b08989;
  --border: rgba(200, 200, 200, 0.3);
  --max-width: 1000px;
  --font-serif: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

:root[data-theme="dark"] {
  /* dark mode colors - warmer tones for cozy feel */
  --bg: #121212;
  --card: rgba(30, 25, 28, 0.6);
  --text: #f5f5f5;
  --muted: #a0a0a0;
  --accent: #d4a5a5;
  --accent-hover: #e8bebe;
  --border: rgba(80, 60, 70, 0.4);
}

/* ========================================
   base styles - applies to everything
======================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  /* gradient background with her favorite colors: white, pink, brown, blue, beige */
  background: linear-gradient(135deg, #fff9f5 0%, #ffe8f0 20%, #f5e8dc 40%, #e8dff5 60%, #f0e8dc 80%, #ffeef5 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s ease, color 0.3s ease;
}

/* dark mode gradient - dramatic, colorful with very visible shifts */
:root[data-theme="dark"] body {
  background: linear-gradient(135deg, 
    #1a0a1f 0%,      /* deep purple */
    #2d1535 20%,     /* rich violet */
    #1f1a0a 40%,     /* warm brown */
    #0a1a2d 60%,     /* deep blue */
    #2d1a0f 80%,     /* chocolate */
    #35152d 100%     /* plum burgundy */
  );
  background-attachment: fixed;
}

/* ========================================
   layout - main container wrapper
======================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 40px 80px 40px;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   navigation menu - apple inspired full-width bar
======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

:root[data-theme="dark"] .nav {
  background: rgba(29, 29, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  padding: 8px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  row-gap: 0;
}

/* add spacing between theme groups for visual separation */
.nav-btn:nth-child(8),
.nav-btn:nth-child(11) {
  margin-left: 12px;
}

.nav-btn {
  padding: 0 16px;
  height: 44px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.56);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

:root[data-theme="dark"] .nav-btn {
  color: rgba(255, 255, 255, 0.56);
}

.nav-btn:hover {
  color: rgba(0, 0, 0, 0.92);
}

:root[data-theme="dark"] .nav-btn:hover {
  color: rgba(255, 255, 255, 0.92);
}

.nav-btn.active {
  color: rgba(0, 0, 0, 0.92);
  font-weight: 500;
}

:root[data-theme="dark"] .nav-btn.active {
  color: rgba(255, 255, 255, 0.92);
}

/* special styling for the theme toggle button (moon/sun icon) */
.nav-btn--theme {
  padding: 0 12px;
  font-size: 0.9375rem;
  line-height: 1;
  margin-left: auto;
}

/* place tags for visited places map */
.place-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 10px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* visited places - blue accent */
.place-tag-visited {
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.08) 0%, rgba(74, 144, 226, 0.12) 100%);
  border-color: rgba(74, 144, 226, 0.2);
  color: #2c5aa0;
}

.place-tag-visited:hover {
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, rgba(74, 144, 226, 0.2) 100%);
  border-color: rgba(74, 144, 226, 0.4);
  box-shadow: 0 4px 16px rgba(74, 144, 226, 0.2);
  transform: translateY(-1px);
}

/* wishlist places - red accent */
.place-tag-wishlist {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.08) 0%, rgba(231, 76, 60, 0.12) 100%);
  border-color: rgba(231, 76, 60, 0.2);
  color: #c0392b;
}

.place-tag-wishlist:hover {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.15) 0%, rgba(231, 76, 60, 0.2) 100%);
  border-color: rgba(231, 76, 60, 0.4);
  box-shadow: 0 4px 16px rgba(231, 76, 60, 0.2);
  transform: translateY(-1px);
}

:root[data-theme="dark"] .place-tag {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

:root[data-theme="dark"] .place-tag-visited {
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, rgba(74, 144, 226, 0.2) 100%);
  border-color: rgba(74, 144, 226, 0.3);
  color: #6fa8dc;
}

:root[data-theme="dark"] .place-tag-visited:hover {
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.2) 0%, rgba(74, 144, 226, 0.25) 100%);
  border-color: rgba(74, 144, 226, 0.5);
  box-shadow: 0 4px 16px rgba(74, 144, 226, 0.3);
}

:root[data-theme="dark"] .place-tag-wishlist {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.15) 0%, rgba(231, 76, 60, 0.2) 100%);
  border-color: rgba(231, 76, 60, 0.3);
  color: #e57373;
}

:root[data-theme="dark"] .place-tag-wishlist:hover {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(231, 76, 60, 0.25) 100%);
  border-color: rgba(231, 76, 60, 0.5);
  box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
}

.place-tag-remove {
  width: 20px;
  height: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.08);
  border: none;
  border-radius: 50%;
  font-size: 0.75rem;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.6;
}

.place-tag-remove:hover {
  background: #e74c3c;
  color: #fff;
  opacity: 1;
  transform: scale(1.15) rotate(90deg);
}

:root[data-theme="dark"] .place-tag-remove {
  background: rgba(255, 255, 255, 0.1);
}

:root[data-theme="dark"] .place-tag-remove:hover {
  background: #e74c3c;
  color: #fff;
}

/* Google Places autocomplete styling */
.pac-container {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  font-family: var(--font-sans);
}

:root[data-theme="dark"] .pac-container {
  background: rgba(29, 29, 31, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.pac-item {
  padding: 8px 12px;
  border-top: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
}

.pac-item:first-child {
  border-top: none;
}

.pac-item:hover {
  background: rgba(201, 169, 169, 0.1);
}

.pac-item-query {
  color: var(--text);
  font-size: 0.9375rem;
}

.pac-matched {
  font-weight: 600;
}

/* Leaflet map popup styling */
.leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.leaflet-popup-content {
  margin: 8px 12px;
  font-family: var(--font-sans);
}

.leaflet-popup-tip {
  box-shadow: 0 3px 14px rgba(0,0,0,0.15);
}

:root[data-theme="dark"] .leaflet-popup-content-wrapper {
  background: rgba(29, 29, 31, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

:root[data-theme="dark"] .leaflet-popup-tip {
  background: rgba(29, 29, 31, 0.95);
}

/* add padding to body so content doesn't hide under fixed nav */
body {
  padding-top: 100px;
}

/* ========================================
   header - "for my beautiful" section
======================================== */

header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 50px;
  padding-top: 60px;
  border-bottom: 1px solid var(--border);
}

header h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text);
  min-height: 1.2em;
}

/* blinking cursor animation for typewriter effect */
.cursor {
  display: inline-block;
  color: var(--accent);
  animation: blink 1s infinite;
  font-weight: 300;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.accent {
  color: var(--accent);
}

.tagline {
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  font-weight: 300;
}

/* ========================================
   cards & sections - content boxes
======================================== */

.card {
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 50px;
  transition: all 0.3s ease;
}

.section {
  padding: 50px 45px;
}

.section h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

.intro {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.lead {
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  font-weight: 300;
}

/* ========================================
   story carousel - "our story" section
======================================== */

.story-carousel {
  margin-top: 16px;
}

.story-carousel-container {
  min-height: 140px;
  position: relative;
}

.story-slides-wrapper {
  width: 100%;
}

.story-slide {
  opacity: 0;
  animation: slideIn 0.5s ease forwards;
}

.story-slide.active {
  opacity: 1;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.story-slide-content {
  text-align: center;
  padding: 32px 20px;
}

.story-slide-date {
  font-size: 0.8125rem;
  color: var(--accent);
  letter-spacing: 0.01em;
  font-weight: 400;
  margin-bottom: 12px;
}

.story-slide-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.4;
  max-width: 480px;
  margin: 0 auto;
  color: var(--text);
}

/* carousel navigation buttons & dots */
.story-carousel .story-carousel-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  width: 100%;
}

.story-carousel .story-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.story-carousel .story-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.story-carousel .story-dots {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.story-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.story-indicator:hover {
  background: var(--accent);
}

.story-indicator.active {
  background: var(--accent);
  width: 18px;
  border-radius: 10px;
}

/* ========================================
   grid layouts - for notes, love things
======================================== */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.note-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  transition: all 0.25s ease;
  cursor: pointer;
}

.note-card:hover {
  border-color: var(--accent);
}

.note-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text);
}

.note-card p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ========================================
   pagination - page numbers at bottom
======================================== */

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}

.pagination .page {
  padding: 8px 14px;
  font-size: 0.8125rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
}

.pagination .page:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination .page.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ========================================
   forms & lists - bucket list, trips, etc
======================================== */

.bucket-container,
.trips-container,
.places-container,
.restaurants-container {
  margin-top: 16px;
}

/* ========================================
   restaurant rater - interactive hover scale
======================================== */

.restaurants-container {
  margin-top: 32px;
}

/* horizontal interactive rating scale */
.rating-scale-wrapper {
  position: relative;
  margin-top: 50px;
  padding: 0 40px;
}

/* the colorful scale bar */
.rating-scale-bar {
  display: flex;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
}

:root[data-theme="dark"] .rating-scale-bar {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* individual rating segments */
.rating-segment {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* color gradient for each segment */
.rating-segment[data-rating="1"] { background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%); }
.rating-segment[data-rating="2"] { background: linear-gradient(135deg, #e67e22 0%, #d35400 100%); }
.rating-segment[data-rating="3"] { background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%); }
.rating-segment[data-rating="4"] { background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%); }
.rating-segment[data-rating="5"] { background: linear-gradient(135deg, #f4d03f 0%, #f1c40f 100%); }
.rating-segment[data-rating="6"] { background: linear-gradient(135deg, #d4e157 0%, #c0ca33 100%); }
.rating-segment[data-rating="7"] { background: linear-gradient(135deg, #aed581 0%, #9ccc65 100%); }
.rating-segment[data-rating="8"] { background: linear-gradient(135deg, #81c784 0%, #66bb6a 100%); }
.rating-segment[data-rating="9"] { background: linear-gradient(135deg, #4caf50 0%, #43a047 100%); }
.rating-segment[data-rating="10"] { background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%); }

/* hover effect - segment grows */
.rating-segment:hover {
  transform: scaleY(1.15);
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* badge showing restaurant count */
.rating-count-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
  backdrop-filter: blur(4px);
}

/* popup that appears on hover */
.rating-popup {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  margin-bottom: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  min-width: 200px;
  max-width: 300px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

:root[data-theme="dark"] .rating-popup {
  background: rgba(29, 29, 31, 0.95);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.rating-segment:hover .rating-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

/* arrow pointing down to segment */
.rating-popup::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--border);
}

:root[data-theme="dark"] .rating-popup::after {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.rating-popup-header {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
  text-align: center;
  text-transform: lowercase;
}

.rating-popup-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rating-popup-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--text);
  transition: all 0.2s ease;
}

:root[data-theme="dark"] .rating-popup-item {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.08);
}

.rating-popup-item:hover {
  background: rgba(201, 169, 169, 0.15);
  border-color: var(--accent);
}

.rating-popup-name {
  flex: 1;
  font-weight: 500;
}

.rating-popup-delete {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.rating-popup-delete:hover {
  background: #e74c3c;
  color: white;
}

/* legend labels */
.rating-scale-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 400;
  font-style: italic;
  padding: 0 4px;
}

/* empty state */
.restaurants-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-style: italic;
  font-size: 1rem;
}

/* instruction hint */
.rating-scale-hint {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8125rem;
  color: var(--muted);
  font-style: italic;
}




.bucket-row,
.trip-row,
.place-row,
.restaurant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.trip-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.edit-btn {
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: lowercase;
}

.edit-btn:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--accent);
}

:root[data-theme="dark"] .edit-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.bucket-row input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.done {
  text-decoration: line-through;
  color: var(--muted);
}

.del {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.del:hover {
  color: #c00;
}

/* form input styling */
.bucket-form,
.trip-form,
.place-form,
.restaurant-form,
.recommendation-form {
  display: flex;
  margin-top: 20px;
}

.bucket-form input,
.trip-form input,
.place-form input,
.restaurant-form input,
.recommendation-form input {
  flex: 1;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 300;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  transition: border-color 0.2s ease;
}

.bucket-form input:focus,
.trip-form input:focus,
.place-form input:focus,
.restaurant-form input:focus,
.recommendation-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.bucket-form button,
.trip-form button,
.place-form button,
.restaurant-form button,
.recommendation-form button {
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.bucket-form button:hover,
.trip-form button:hover,
.place-form button:hover,
.restaurant-form button:hover,
.recommendation-form button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ========================================
   buttons & links - cta buttons, etc
======================================== */

.cta {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 10px;
  transition: all 0.25s ease;
}

.cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.muted {
  color: var(--muted);
}

.mt {
  margin-top: 16px;
}

/* centered sections like "book a massage" */
.book-section {
  text-align: center;
}

.book-section h2 {
  text-align: center;
}

.book-section p {
  text-align: center;
}

/* ========================================
   weekend plans generator
======================================== */

.weekend-activity {
  padding: 40px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 24px 0;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.weekend-emoji {
  font-size: 3rem;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.weekend-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  max-width: 400px;
  line-height: 1.5;
  transition: opacity 0.3s ease;
}

/* ========================================
   countdown timer - days/hours/mins/secs
======================================== */

.countdown-display {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}

.countdown-label {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 8px;
}

.countdown-message {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--accent);
  margin-top: 16px;
}

.countdown-input {
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
}

/* ========================================
   floating navigation - scroll to top, etc
======================================== */

.floating-nav {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-nav.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.floating-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.1);
}

/* dropdown nav that appears when scrolling */
.nav-dropdown {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 99;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-dropdown.visible {
  transform: translateY(0);
}

.nav-dropdown .nav {
  margin: 0;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-dropdown .nav-btn {
  padding: 8px 14px;
  font-size: 0.75rem;
}

/* ========================================
   watchlist - films & tv shows
======================================== */

.watchlist-section {
  margin-bottom: 32px;
}

.watchlist-section:last-child {
  margin-bottom: 0;
}

.watchlist-category {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.watchlist-container {
  margin-bottom: 16px;
}

/* watchlist form styling */
.watchlist-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.watchlist-form input,
.watchlist-form select {
  padding: 8px 12px;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
}

.watchlist-form input:first-child {
  flex: 1;
  min-width: 200px;
}

.watchlist-form button {
  padding: 8px 20px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.watchlist-form button:hover {
  opacity: 0.9;
}

.rating-loading {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.watchlist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.watchlist-title {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--text);
}

.watchlist-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.watchlist-ratings {
  display: flex;
  gap: 6px;
  align-items: center;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.rating-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.9;
}

.rating-imdb {
  background: linear-gradient(135deg, #f5c518 0%, #e6b800 100%);
  color: #000;
}

.rating-rt {
  background: linear-gradient(135deg, #fa320a 0%, #d92b08 100%);
  color: #fff;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.status-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.status-container {
  position: relative;
}

.status-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  padding: 4px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 0.75rem;
  z-index: 100;
  cursor: pointer;
}

.status-dropdown option {
  padding: 4px 8px;
}

:root[data-theme="dark"] .status-dropdown {
  background: rgba(29, 29, 31, 0.95);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.status-watching {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.15) 0%, rgba(52, 152, 219, 0.2) 100%);
  color: #3498db;
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.status-to-watch {
  background: linear-gradient(135deg, rgba(149, 165, 166, 0.15) 0%, rgba(149, 165, 166, 0.2) 100%);
  color: #7f8c8d;
  border: 1px solid rgba(149, 165, 166, 0.3);
}

.status-completed {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.15) 0%, rgba(46, 204, 113, 0.2) 100%);
  color: #27ae60;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-dropped {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.15) 0%, rgba(231, 76, 60, 0.2) 100%);
  color: #c0392b;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.status-on-hold {
  background: linear-gradient(135deg, rgba(241, 196, 15, 0.15) 0%, rgba(241, 196, 15, 0.2) 100%);
  color: #f39c12;
  border: 1px solid rgba(241, 196, 15, 0.3);
}

:root[data-theme="dark"] .status-watching {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0.25) 100%);
  color: #5dade2;
}

:root[data-theme="dark"] .status-to-watch {
  background: linear-gradient(135deg, rgba(149, 165, 166, 0.2) 0%, rgba(149, 165, 166, 0.25) 100%);
  color: #95a5a6;
}

:root[data-theme="dark"] .status-completed {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.2) 0%, rgba(46, 204, 113, 0.25) 100%);
  color: #58d68d;
}

:root[data-theme="dark"] .status-dropped {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(231, 76, 60, 0.25) 100%);
  color: #e74c3c;
}

:root[data-theme="dark"] .status-on-hold {
  background: linear-gradient(135deg, rgba(241, 196, 15, 0.2) 0%, rgba(241, 196, 15, 0.25) 100%);
  color: #f4d03f;
}

.watchlist-row .del {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.watchlist-row:hover .del {
  opacity: 1;
}

.watchlist-row .del:hover {
  color: #c00;
}

/* ========================================
   modals - popup overlays
======================================== */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
}

.modal-content.small {
  max-width: 380px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.04);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.125rem;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

:root[data-theme="dark"] .modal-close {
  background: rgba(255, 255, 255, 0.06);
}

.modal-close:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.08);
  transform: scale(1.05);
}

:root[data-theme="dark"] .modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   timeline - not currently used but kept for future
======================================== */

.timeline-container {
  position: relative;
  padding: 32px 16px;
  overflow-x: auto;
}

.timeline-wrapper {
  display: flex;
  gap: 20px;
}

.timeline-event {
  min-width: 260px;
  flex-shrink: 0;
}

.timeline-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.timeline-card:hover {
  border-color: var(--accent);
}

.timeline-date {
  font-size: 0.8125rem;
  color: var(--accent);
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
}

.timeline-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.timeline-modal.active {
  display: flex;
}

.timeline-modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
}

.timeline-form-group {
  margin-bottom: 18px;
}

.timeline-form-group label {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
  color: var(--muted);
}

.timeline-form-group input,
.timeline-form-group textarea,
.timeline-form-group select {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
}

.timeline-form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.timeline-form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ========================================
   discovery feed - share links
======================================== */

.discoveries-container {
  margin-bottom: 24px;
}

.discovery-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--card);
  transition: border-color 0.25s ease;
}

.discovery-item:hover {
  border-color: var(--accent);
}

.discovery-emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.discovery-content {
  flex: 1;
  min-width: 0;
}

.discovery-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text);
}

.discovery-title a {
  color: inherit;
  text-decoration: none;
}

.discovery-title a:hover {
  color: var(--accent);
}

.discovery-meta {
  font-size: 0.8125rem;
  color: var(--muted);
}

.discovery-form {
  margin-top: 24px;
}

.discovery-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.discovery-inputs input,
.discovery-inputs select {
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
}

.discovery-inputs input:focus,
.discovery-inputs select:focus {
  outline: none;
  border-color: var(--accent);
}

.discovery-form button {
  width: 100%;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.discovery-form button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ========================================
   quote logger - funny things we've said
======================================== */

.quotes-container {
  margin-bottom: 24px;
}

.quote-item {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--card);
  position: relative;
}

.quote-item::before {
  content: '"';
  position: absolute;
  top: 8px;
  left: 16px;
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 12px;
  padding-left: 24px;
  color: var(--text);
}

.quote-meta {
  font-size: 0.8125rem;
  color: var(--muted);
  padding-left: 24px;
}

.quote-form {
  margin-top: 24px;
}

.quote-inputs {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.quote-inputs input {
  flex: 1;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
}

.quote-inputs select {
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
}

.quote-inputs input:focus,
.quote-inputs select:focus {
  outline: none;
  border-color: var(--accent);
}

.quote-form button {
  width: 100%;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.quote-form button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ========================================
   packing list - what to bring on trips
======================================== */

.packing-section {
  margin-bottom: 32px;
}

.packing-section:last-child {
  margin-bottom: 0;
}

.packing-category {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.packing-container {
  margin-bottom: 16px;
}

.packing-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.packing-row input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.packing-row .packed {
  text-decoration: line-through;
  color: var(--muted);
}

/* ========================================
   would you rather - daily questions
======================================== */

.wyr-question {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  margin-bottom: 24px;
}

.wyr-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.wyr-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.wyr-btn {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  padding: 24px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.wyr-btn:hover {
  border-color: var(--accent);
}

.wyr-btn.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.wyr-btn.revealed {
  cursor: default;
}

.wyr-option-text {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: inherit;
}

.wyr-votes {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
}

.wyr-btn.selected .wyr-votes,
.wyr-btn.selected .wyr-option-text {
  color: #fff;
}

.wyr-or {
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
}

.wyr-result {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ========================================
   prompt journal - answer prompts together
======================================== */

.journal-prompt {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  margin-bottom: 24px;
  background: var(--card);
}

.journal-prompt-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.journal-status {
  text-align: center;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: var(--muted);
}

.journal-input-area {
  max-width: 500px;
  margin: 0 auto;
}

.journal-input-area textarea {
  width: 100%;
  padding: 16px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  resize: vertical;
  min-height: 120px;
}

.journal-input-area textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.journal-reveal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.journal-answer-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
}

.journal-answer-card h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--accent);
}

.journal-answer-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text);
}

/* ========================================
   future home city tracker
======================================== */

.cities-container {
  margin-bottom: 32px;
}

.city-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 16px;
  background: var(--card);
  position: relative;
  transition: border-color 0.25s ease;
}

.city-card:hover {
  border-color: var(--accent);
}

.city-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.city-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
}

.city-country {
  font-size: 0.875rem;
  color: var(--muted);
}

.city-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 12px;
}

.city-detail {
  font-size: 0.875rem;
}

.city-detail-label {
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.city-detail-value {
  color: var(--text);
}

.city-detail-value a {
  color: var(--accent);
  text-decoration: none;
}

.city-detail-value a:hover {
  text-decoration: underline;
}

.city-notes {
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.city-delete {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.city-card:hover .city-delete {
  opacity: 1;
}

.city-delete:hover {
  color: #c00;
}

.city-form {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
}

.city-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.city-inputs input {
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
}

.city-inputs input:focus {
  outline: none;
  border-color: var(--accent);
}

.city-form button {
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.city-form button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ========================================
   drawing board - synchronized canvas
======================================== */

.drawing-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--border);
  background: var(--card);
}

.drawing-colors {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.color-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.color-btn:hover {
  transform: scale(1.1);
}

.color-btn.active {
  border-color: var(--text);
  transform: scale(1.15);
}

.drawing-tools {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.drawing-canvas {
  width: 100%;
  max-width: 800px;
  height: 500px;
  border: 1px solid var(--border);
  background: #ffffff;
  cursor: crosshair;
  touch-action: none;
}

/* ========================================
   hotel location intelligence styles
   ======================================== */

/* clean minimal trip form - apple inspired */
.trip-form-clean {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

:root[data-theme="dark"] .trip-form-clean {
  background: rgba(30, 25, 28, 0.4);
  border-color: rgba(255, 255, 255, 0.06);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: lowercase;
  letter-spacing: -0.01em;
}

.form-group input {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  transition: all 0.2s ease;
}

:root[data-theme="dark"] .form-group input {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.1);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 4px rgba(201, 169, 169, 0.1);
}

:root[data-theme="dark"] .form-group input:focus {
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 4px rgba(212, 165, 165, 0.15);
}

.form-group input::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn-primary {
  flex: 1;
  padding: 11px 24px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 169, 169, 0.3);
}

.btn-secondary {
  padding: 11px 24px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.04);
}

:root[data-theme="dark"] .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

/* hotel modal styles - clean design */
.hotel-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: hotelFadeIn 0.2s ease;
}

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

.hotel-modal-content {
  background: var(--bg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 40px;
  max-width: 850px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

:root[data-theme="dark"] .hotel-modal-content {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.hotel-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.hotel-section {
  margin-bottom: 36px;
}

.hotel-section:last-child {
  margin-bottom: 0;
}

.hotel-section-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  letter-spacing: -0.02em;
}

:root[data-theme="dark"] .hotel-section-title {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* distances display - clean design */
.hotel-distances {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.distance-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  transition: all 0.2s ease;
}

:root[data-theme="dark"] .distance-item {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.06);
}

.distance-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.distance-label {
  font-weight: 500;
  color: var(--text);
  font-size: 0.9375rem;
}

.distance-value {
  font-weight: 400;
  color: var(--muted);
  text-align: right;
  font-size: 0.875rem;
}

/* nearby places - clean design */
.nearby-category {
  margin-bottom: 24px;
}

.nearby-category:last-child {
  margin-bottom: 0;
}

.nearby-category-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: lowercase;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.nearby-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nearby-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  transition: all 0.2s ease;
}

:root[data-theme="dark"] .nearby-item {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.06);
}

.nearby-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.nearby-name {
  font-weight: 500;
  color: var(--text);
  flex: 1;
  font-size: 0.9375rem;
}

.nearby-details {
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: right;
  line-height: 1.5;
  white-space: nowrap;
}

.walk-time {
  display: inline-block;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* hotel map */
.hotel-map {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ========================================
   responsive styles for mobile
======================================== */

@media (max-width: 768px) {
  .container {
    padding: 20px 20px 40px 20px;
  }
  
  header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    padding-top: 40px;
  }
  
  header h1 {
    font-size: 1.875rem;
  }
  
  .nav-container {
    padding: 6px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .nav-container::-webkit-scrollbar { display: none; }
  
  .nav-btn {
    padding: 0 10px;
    font-size: 0.6875rem;
  }
  
  .nav-btn--theme {
    padding: 0 8px;
  }
  
  body {
    padding-top: 80px;
  }
  
  .place-tag {
    font-size: 0.8125rem;
    padding: 8px 12px 8px 14px;
    gap: 6px;
  }

  .place-tag-remove {
    width: 18px;
    height: 18px;
    font-size: 0.6875rem;
  }
  
  .section {
    padding: 32px 20px;
  }
  
  .section h2 {
    font-size: 1.5rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .story-slide-title {
    font-size: 1.375rem;
  }
  
  .story-carousel .story-carousel-nav {
    gap: 12px;
    margin-top: 24px;
  }
  
  .story-carousel .story-nav-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }
  
  .countdown-display {
    gap: 16px;
  }
  
  .countdown-number {
    font-size: 2rem;
  }
  
  .countdown-item {
    min-width: 60px;
  }
  
  .watchlist-row .del {
    opacity: 1;
  }
  
  .watchlist-form {
    gap: 6px;
  }
  
  .watchlist-form input,
  .watchlist-form select {
    font-size: 0.8125rem;
    padding: 7px 10px;
  }
  
  .watchlist-form input:first-child {
    min-width: 100%;
  }
  
  .watchlist-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 0;
  }
  
  .watchlist-info {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .watchlist-ratings {
    flex: 1;
  }
  
  .rating-badge {
    font-size: 0.6875rem;
    padding: 3px 6px;
  }
  
  .status-badge {
    font-size: 0.625rem;
    padding: 3px 8px;
  }
  
  .status-dropdown {
    font-size: 0.6875rem;
    right: auto;
    left: 0;
  }
  
  .rating-loading {
    font-size: 0.6875rem;
  }
  
  .discovery-inputs {
    grid-template-columns: 1fr;
  }
  
  .quote-inputs {
    flex-direction: column;
  }
  
  .wyr-btn {
    min-width: 100%;
  }
  
  .wyr-options {
    flex-direction: column;
  }
  
  .city-inputs {
    grid-template-columns: 1fr;
  }
  
  .drawing-canvas {
    height: 300px;
  }
  
  .drawing-controls {
    flex-direction: column;
    align-items: flex-start;
  }
  
  /* hotel modal mobile styles */
  .hotel-modal-content {
    padding: 24px;
    max-height: 95vh;
  }
  
  .trip-form-clean {
    padding: 20px;
    gap: 16px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
  }
  
  .hotel-section-title {
    font-size: 0.9375rem;
  }
  
  .distance-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
  }
  
  .distance-value {
    text-align: left;
    white-space: normal;
  }
  
  .nearby-item {
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
  }
  
  .nearby-details {
    text-align: left;
    white-space: normal;
  }
  
  .hotel-map {
    height: 280px;
  }
  
  .trip-actions {
    gap: 6px;
  }
  
  .edit-btn {
    padding: 5px 10px;
    font-size: 0.6875rem;
  }
  
  /* restaurant scale mobile responsive */
  .rating-scale-wrapper {
    padding: 0 10px;
  }
  
  .rating-scale-bar {
    height: 50px;
  }
  
  .rating-segment {
    font-size: 1.125rem;
  }
  
  .rating-count-badge {
    font-size: 0.625rem;
    padding: 2px 6px;
  }
  
  .rating-popup {
    min-width: 160px;
    max-width: 240px;
    padding: 12px;
    margin-bottom: 8px;
  }
  
  .rating-popup-header {
    font-size: 0.75rem;
  }
  
  .rating-popup-item {
    padding: 6px 8px;
    font-size: 0.75rem;
  }
  
  .rating-scale-legend {
    font-size: 0.75rem;
    margin-top: 12px;
  }
  
  .rating-scale-hint {
    font-size: 0.75rem;
    margin-top: 16px;
  }
}
