:root {
  /* Sourced from Flutter AppTheme (lib/config/theme.dart) */
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --border: #e5e5e5;
  --accent: #000000;
  --accent-600: #1a1a1a;
  --brand-accent: #444444;
  --brand-highlight: #333333;
  --brand-red: #ce1126;
  --brand-green: #00a651;
  --radius-search: 8px;
  /* Two-tone typography tokens */
  --duo-1-light: var(--text);
  --duo-2-light: #4a4a4a; /* stronger two-tone on light bg */
  --duo-1-dark: #ffffff;
  --duo-2-dark: rgba(255, 255, 255, 0.92); /* brighter two-tone on dark bg */
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--text);
}

p {
  margin: 0 0 16px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.muted {
  color: var(--muted);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px; /* rectangular across site */
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--accent-600);
}
/* Subtle ghost/secondary button */
.btn-ghost {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 9999px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn-ghost:hover {
  background: #f8f8f8;
}

/* Hide auth tabs when locked (OTP or Host onboarding) */
.modal-tabs[hidden] {
  display: none !important;
}

/* Simple upload fields for Ghana Card */
.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
/* Modern dropzone-style upload */
.upload-box {
  position: relative;
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 16px;
  background: linear-gradient(180deg, #fff, #fafafa);
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.upload-box:hover {
  border-color: #cfcfcf;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
}
.upload-box.dragover {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05) inset;
}
.upload-box input[type="file"] {
  display: none; /* use custom trigger */
}
.upload-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none; /* container handles click */
}
.upload-icon::before {
  content: "🖼️";
  font-size: 28px;
}
.upload-copy strong {
  display: block;
  font-weight: 700;
}
.upload-copy .muted {
  font-size: 12px;
}
.upload-box img {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.upload-box.has-image .upload-cta {
  display: none;
}
.upload-box.has-image img {
  display: block;
}
.upload-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 9999px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
}
.btn-sm {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
}
.link {
  color: var(--muted);
}
.link:hover {
  color: var(--text);
}

/* ============================================
   WIZARD: modern stepper + sticky footer
   ============================================ */
.wizard-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 20px;
}
.wizard-step-chip {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  border-radius: 9999px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 13px;
  cursor: default;
  transition: all 0.2s ease;
}
.wizard-step-chip.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.wizard-step-chip.is-complete {
  border-color: #bbb;
  color: #555;
}
.wizard-footer {
  position: sticky;
  bottom: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  z-index: 10;
}

/* Wizard: vertical rail (left progress) */
.wizard-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  margin-top: 8px;
}
.wizard-rail {
  padding-top: 4px;
  position: sticky;
  top: 90px;
  align-self: start;
}
.wizard-rail ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.wizard-rail .rail-item {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.wizard-rail .rail-item:hover {
  background: rgba(0, 0, 0, 0.03);
}
.wizard-rail .rail-item::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 46px;
  width: 2px;
  height: calc(100% - 32px);
  background: var(--border);
}
.wizard-rail .rail-item:last-child::after {
  display: none;
}
.wizard-rail .rail-dot {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  border: 2px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  background: #fff;
  transition: all 0.2s ease;
}
.wizard-rail .rail-item.is-active {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
  font-weight: 600;
}
.wizard-rail .rail-item.is-active .rail-dot {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.wizard-rail .rail-item.is-complete {
  color: var(--text);
}
.wizard-rail .rail-item.is-complete .rail-dot {
  background: #111;
  color: #fff;
  border-color: #111;
}

@media (max-width: 820px) {
  .wizard-layout {
    grid-template-columns: 1fr;
  }
  .wizard-rail {
    display: none;
  }
}

/* ============================================
   CATEGORY CARDS — modern selection cards
   ============================================ */
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}
.category-card {
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 16px;
  padding: 20px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.category-card:hover {
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.category-card .c-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 12px;
  flex-shrink: 0;
}
.category-card .c-text {
  flex: 1;
  min-width: 0;
}
.category-card .c-title {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}
.category-card .c-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}
.category-card .check {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  border: 2px solid #ccc;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: transparent;
  transition: all 0.2s ease;
}
.category-card.is-selected {
  border-color: #111;
  background: #fafafa;
  box-shadow: 0 0 0 1px #111;
}
.category-card.is-selected .check {
  background: #111;
  color: #fff;
  border-color: #111;
}
.category-card.is-selected .c-icon {
  background: #eee;
}

/* ============================================
   UPLOADER TILES + PHOTO PREVIEWS
   ============================================ */
.uploader-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 16px;
}
.uploader-tile {
  border: 2px dashed var(--border);
  border-radius: 16px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  background: #fafafa;
  transition: all 0.2s ease;
}
.uploader-tile:hover {
  border-color: rgba(0, 0, 0, 0.25);
  background: #f5f5f5;
  color: var(--text);
}
.uploader-tile[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
}
.uploader-tile[aria-disabled="true"]:hover {
  border-color: var(--border);
  background: #fafafa;
  color: var(--muted);
}
.uploader-tile svg {
  width: 32px;
  height: 32px;
  color: #888;
}
.uploader-tile:hover svg {
  color: var(--text);
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
}
.preview-item {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}
.preview-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.preview-item .cover-badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: #111;
  color: #fff;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  display: none;
  letter-spacing: 0.02em;
}
.preview-item.is-cover {
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}
.preview-item.is-cover .cover-badge {
  display: inline-block;
}

/* ============================================
   AMENITY CHIPS — modern toggleable pills
   ============================================ */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 9999px;
  padding: 10px 18px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip:hover {
  border-color: rgba(0, 0, 0, 0.25);
  background: #f9f9f9;
}
.chip.is-selected {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Field validation + subtle helper */
.input-invalid {
  border-color: #e11 !important;
  box-shadow: 0 0 0 3px rgba(238, 17, 17, 0.08) !important;
  animation: shake-field 0.3s ease;
}
@keyframes shake-field {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}
.form-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.btn-link {
  background: transparent;
  border: 0;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
}
.btn-link:hover {
  color: var(--text);
}
.btn-secondary {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-secondary:hover {
  border-color: rgba(0, 0, 0, 0.25);
  background: #f9f9f9;
}
.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Drag & drop upload */
.preview-grid.drop-active {
  outline: 2px dashed #111;
  outline-offset: 6px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 12px;
}
.preview-item .remove {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease;
  border: none;
}
.preview-item:hover .remove {
  opacity: 1;
}
.preview-item .remove:hover {
  background: #000;
}

/* Modern Topbar */
.topbar-modern {
  position: sticky;
  top: 0;
  /* Needs to sit ABOVE the mobile nav backdrop (z-index: 998) */
  z-index: 1200;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.nav-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 40px;
}

.logo-modern {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-modern img {
  height: 44px;
  width: auto;
}

.logo-text {
  font-size: 26px;
  font-weight: 900;
  color: #000;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu .push-right {
  margin-left: auto;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.nav-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-menu a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nav-menu .nav-cta {
  background: #000;
  color: #fff;
  font-weight: 600;
}

.nav-menu .nav-cta:hover {
  background: #1a1a1a;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Account dropdown styles */
#navAccountItem.account-li {
  position: relative;
}
.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.account-chip:hover {
  background: rgba(0, 0, 0, 0.06);
}
.account-chip svg {
  transition: transform 0.2s ease;
}
#navAccountToggle[aria-expanded="true"] {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}
#navAccountToggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.account-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}
.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px;
}
.account-menu[hidden] {
  display: none !important;
}
.account-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
}
.account-menu a svg {
  width: 18px;
  height: 18px;
}
.account-menu a:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn-get-app {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-get-app:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  background: #333;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 900px) {
  /* Mobile: hide menu by default and render as a slide-down panel */
  .nav-menu {
    display: none;
    position: fixed;
    top: 72px; /* height of .nav-modern */
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 14px 20px;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    transform: translateY(-10px);
    opacity: 0;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  .menu-toggle {
    display: block;
  }

  .nav-actions {
    display: none;
  }

  /* Account dropdown adapts for mobile */
  .account-chip {
    width: 100%;
    justify-content: space-between;
  }
  #navAccountItem.account-li {
    width: 100%;
  }
  #accountMenu.account-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 10px;
    margin-top: 8px;
  }

  /* When opened, show the mobile panel */
  body.nav-open #navLinks {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }

  /* Prevent background scrolling when menu is open */
  body.nav-open {
    overflow: hidden;
  }

  /* Slightly larger tap targets on mobile */
  .nav-menu a {
    padding: 14px 12px;
    font-size: 16px;
  }
  .nav-menu .push-right {
    display: none;
  }

  /* Backdrop element under the dropdown (click to close) */
  .nav-backdrop {
    display: none;
  }
  body.nav-open .nav-backdrop {
    display: block;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 998;
  }
}

/* Legacy topbar (keep for compatibility) */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 20px;
}
.logo-img {
  height: 24px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-links a {
  color: #111;
}
.host-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
}

/* Search Results Section */
.search-results-section {
  padding: 60px 0 80px;
  background: var(--bg);
  min-height: 60vh;
}

.search-header {
  margin-bottom: 32px;
}

.search-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
}

.search-header p {
  color: var(--muted);
  margin: 0;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.listing-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.listing-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Card video previews match image sizing/behavior */
.listing-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
  transition: transform 0.3s ease;
}

.listing-card:hover .listing-image img {
  transform: scale(1.05);
}

.listing-card:hover .listing-image video {
  transform: scale(1.05);
}

.listing-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Occupancy status badge (top-right) */
.listing-status {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ef4444; /* red */
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Green variant when available */
.listing-status.available {
  background: #16a34a;
}

/* Listing detail page – modern UI */
.listing-page .listing-hero {
  min-height: 260px;
  border-radius: 16px;
  overflow: hidden;
}
.listing-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-top: 20px;
}
@media (max-width: 900px) {
  .listing-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.booking-card {
  position: sticky;
  top: 88px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.booking-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 18px;
}
.booking-card #lstPrice {
  font-size: 20px;
  font-weight: 800;
}
.bk-field {
  display: block;
  margin-top: 14px;
}
.bk-field input[type="date"],
.bk-field select,
.bk-field input[type="tel"] {
  width: 100%;
  margin-top: 6px;
}

/* Modern payment input */
.pay-modern .seg-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 6px 8px;
}
.pay-modern .seg-addon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 36px;
  margin-right: 6px;
  border-radius: 8px;
  background: #f2f2f2;
  color: #111111;
  font-weight: 700;
}
.pay-modern .seg-field {
  flex: 1;
  height: 36px;
  border: 0;
  outline: none;
  font-size: 16px;
  letter-spacing: 0.2px;
}
.pay-modern .tiny {
  font-size: 12px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
@media (min-width: 1100px) {
  .slot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.slot {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s ease;
}
.slot:hover {
  background: rgba(0, 0, 0, 0.035);
}
.slot.is-active {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.3);
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
}
.stepper button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}
.stepper input {
  width: 28px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 600;
  color: var(--text);
}

.bk-summary {
  margin-top: 6px;
  font-weight: 600;
}

/* Mobile sticky booking bar */
.booking-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 90;
}
.booking-bar .bar-price {
  font-weight: 700;
}
.booking-bar .btn-primary {
  padding: 10px 16px;
}
@media (max-width: 900px) {
  .booking-bar {
    display: grid;
    grid-template-columns: 1fr auto;
  }
}

/* ── Listing page mobile-responsive ── */
@media (max-width: 768px) {
  .listing-page .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .listing-page .listing-hero {
    min-height: 200px;
    border-radius: 10px;
  }
  .hero-carousel {
    min-height: 200px;
    aspect-ratio: 4 / 3;
  }
  .hero-overlay {
    padding: 12px;
  }
  .hero-title {
    font-size: 20px;
  }
  .listing-columns {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 14px;
  }
  .booking-card {
    position: static;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }
  .booking-card .price-row {
    font-size: 16px;
  }
  .booking-card #lstPrice {
    font-size: 18px;
  }
  .bk-field {
    margin-top: 12px;
  }
  .date-picker {
    padding: 6px;
    border-radius: 10px;
  }
  .cal-grid {
    gap: 3px;
  }
  .cal-cell {
    height: 32px;
    font-size: 12px;
    border-radius: 6px;
  }
  .time-rail {
    height: 18px;
  }
  .time-rail .knob {
    width: 24px;
    height: 24px;
  }
  .stepper {
    width: 100%;
    justify-content: center;
  }
  .bk-summary {
    font-size: 14px;
  }
  .chips {
    gap: 6px;
  }
  .chips .amenity {
    font-size: 13px;
    padding: 5px 8px;
  }
  .hero-thumbs button {
    width: 36px;
    height: 26px;
  }
  .hero-nav {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .listing-page .listing-hero {
    border-radius: 0;
    margin-left: -12px;
    margin-right: -12px;
  }
  .hero-carousel {
    min-height: 180px;
  }
  .hero-title {
    font-size: 18px;
  }
  .cal-cell {
    height: 30px;
    font-size: 11px;
  }
  .cal-wk {
    font-size: 10px;
  }
  .booking-card {
    padding: 12px;
  }
}

/* ── Force black & white theme on ALL time / date input popovers ── */
/* Webkit (Chrome, Safari, Edge) time picker accent override */
input[type="time"] {
  color-scheme: light;
  accent-color: #000;
}
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(0);
  opacity: 0.5;
}
input[type="time"]::-webkit-datetime-edit {
  color: #111;
}
input[type="time"]::-webkit-datetime-edit-fields-wrapper {
  color: #111;
}
input[type="time"]::-webkit-datetime-edit-ampm-field:focus,
input[type="time"]::-webkit-datetime-edit-hour-field:focus,
input[type="time"]::-webkit-datetime-edit-minute-field:focus,
input[type="time"]::-webkit-datetime-edit-second-field:focus {
  background: #000;
  color: #fff;
  border-radius: 2px;
}
/* Force Firefox and others to avoid blue */
input[type="time"]:focus {
  outline-color: #000;
  border-color: #111;
}

/* Modern date chips */
.date-chips {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding-bottom: 4px;
  margin-top: 6px;
}
.date-chips::-webkit-scrollbar {
  height: 6px;
}
.date-chips::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
}
.date-chips .chip-btn {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
  font-size: 13px;
}
.date-chips .chip-btn.is-active {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.3);
}
.native-date {
  width: 100%;
  margin-top: 8px;
}

/* Range selection styles */
.slot.is-in-range {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.25);
}
.slot.is-start,
.slot.is-end {
  outline: 2px solid rgba(0, 0, 0, 0.5);
}

/* Amenities icons */
.chips .amenity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: #fff;
}
.chips .amenity svg {
  width: 16px;
  height: 16px;
}

/* Hero carousel */
.listing-hero {
  position: relative;
  background: #f6f6f6;
}
.hero-carousel {
  position: relative;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  max-height: 70vh;
  overflow: hidden;
}
.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}
.hero-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 0 0 100%;
}
.hero-track video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 0 0 100%;
  display: block;
}
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.hero-nav.prev {
  left: 12px;
}
.hero-nav.next {
  right: 12px;
}
.hero-thumbs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  gap: 6px;
  justify-content: center;
  z-index: 2;
}
.hero-thumbs .is-video {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.06);
  color: #111111;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.hero-thumbs button {
  width: 46px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.hero-thumbs button.is-active {
  outline: 2px solid rgba(0, 0, 0, 0.85);
  border-color: #fff;
}
.hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  color: #fff;
  padding: 16px;
  z-index: 1;
}
.hero-title {
  margin: 0;
}
.hero-sub {
  opacity: 0.95;
}
.rating-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}
.rating-row .star {
  color: #fbbf24;
}

/* Time picker mode */
.time-toggle {
  display: inline-flex;
  gap: 6px;
  background: #f8f8f8;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  margin-top: 6px;
}
.time-toggle .tab {
  border: none;
  background: transparent;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.time-toggle .tab.is-active {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.time-custom {
  margin-top: 10px;
}
.time-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.time-row input[type="time"] {
  width: 100%;
  margin-top: 6px;
}

/* Modern time range picker */
.time-modern {
  margin-top: 8px;
}
.time-rail {
  position: relative;
  height: 14px;
  border-radius: 9999px;
  /* Light neutral track for a clean black/white theme */
  background: #eef1f5;
  border: 1px solid var(--border);
  overflow: hidden;
}
/* Add subtle dotted tick marks across the rail for a professional look */
.time-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.22) 1.5px,
    transparent 2px
  );
  background-size: 16px 100%;
  background-repeat: repeat-x;
  opacity: 0.35;
  pointer-events: none;
}
.time-rail .rail-availability {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.time-rail .rail-availability .seg {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.18);
}
.time-rail .rail-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.28);
  border: 2px solid #000000;
  border-radius: 9999px;
  pointer-events: none;
}
.time-rail .knob {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  cursor: pointer;
  background: #fff;
  border: 2px solid #000000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.time-rail .knob:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.24);
}
.time-rail .knob:focus {
  outline: 3px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
}
.time-rail .knob:active {
  transform: translate(-50%, -50%) scale(1.05);
}
.time-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
/* Polished fallback time inputs (keep the black & white theme) */
.time-row label {
  font-size: 12px;
  color: var(--muted);
}
.time-row input[type="time"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff;
  color: #111;
  color-scheme: light;
  accent-color: #000;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  height: 40px;
  font-family: inherit;
  font-size: 14px;
}
.time-row input[type="time"]::-webkit-calendar-picker-indicator {
  filter: grayscale(1) brightness(0.3);
  cursor: pointer;
}
.time-row input[type="time"]::-webkit-datetime-edit-ampm-field:focus,
.time-row input[type="time"]::-webkit-datetime-edit-hour-field:focus,
.time-row input[type="time"]::-webkit-datetime-edit-minute-field:focus {
  background: #111;
  color: #fff;
  border-radius: 3px;
}
.time-row input[type="time"]:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
  outline: none;
}

/* Inline calendar date picker */
.date-picker {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.cal-title {
  font-weight: 600;
}
.cal-nav {
  border: 1px solid var(--border);
  background: #f8f8f8;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-wk {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.cal-cell {
  display: grid;
  place-items: center;
  height: 34px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
}
.cal-cell.is-today {
  outline: 2px solid rgba(0, 0, 0, 0.25);
}
.cal-cell.is-selected {
  background: #000000;
  color: #fff;
  border-color: #000000;
}
.cal-cell.is-range-start {
  background: #000;
  color: #fff;
  border-radius: 8px 0 0 8px;
}
.cal-cell.is-range-end {
  background: #000;
  color: #fff;
  border-radius: 0 8px 8px 0;
}
.cal-cell.is-in-range {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text);
  border-radius: 0;
}
.cal-cell.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.cal-cell.empty {
  border: none;
  background: transparent;
  cursor: default;
}

/* Nightly check-in/out info */
.nightly-info {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}

.listing-content {
  padding: 16px;
}

.listing-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}

.listing-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.listing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.listing-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.listing-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.listing-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--text);
}

.listing-rating svg {
  color: var(--text);
}

.no-results {
  text-align: center;
  padding: 80px 20px;
}

.no-results svg {
  color: var(--muted);
  margin-bottom: 20px;
}

.no-results h3 {
  font-size: 24px;
  margin: 0 0 12px;
}

.no-results p {
  color: var(--muted);
  margin: 0 0 24px;
}

.book-cta-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 24px 32px;
  border-radius: 16px;
  color: #fff;
}

.cta-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.cta-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-content strong {
  font-size: 18px;
}

.cta-content span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.book-cta-banner .btn-primary {
  flex-shrink: 0;
  background: #000;
  color: #fff;
}

@media (max-width: 768px) {
  .book-cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .cta-content {
    align-items: center;
  }
}

/* Hero */
.hero {
  padding: 56px 0 28px;
}
.hero h1 {
  font-size: 36px;
  line-height: 1.15;
  margin: 0 0 18px;
  max-width: 780px;
}
.search-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 10px 6px;
  background: transparent;
}
.quick-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.tag {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
}
.tag:hover {
  border-color: var(--brand-accent);
}

/* Loading Spinner */
.loading-spinner {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 16px;
}

/* Highlight animation for app section */
.app-download-section.highlight {
  animation: highlightPulse 2s ease-out;
}

@keyframes highlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
  }
  50% {
    box-shadow: 0 0 40px 10px rgba(255, 255, 255, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Featured */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.card {
  grid-column: span 12;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
@media (min-width: 560px) {
  .card {
    grid-column: span 6;
  }
}
@media (min-width: 860px) {
  .card {
    grid-column: span 4;
  }
}
.thumb {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.card-body {
  padding: 12px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.meta {
  display: flex;
  gap: 10px;
  color: var(--muted);
}
.price {
  font-weight: 700;
  color: #111;
}

/* Host CTA */
.host-cta {
  margin: 48px 0;
  background: linear-gradient(135deg, #fff 0%, #fff 40%, #ffe4ea 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.host-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}
.host-content h2 {
  margin: 0 0 6px;
  font-size: 26px;
}
.host-content p {
  margin: 0 0 12px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 36px;
}
.cols {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  padding: 26px 0;
}
.cols > div:first-child {
  grid-column: span 12;
}
.cols > div {
  grid-column: span 6;
}
@media (min-width: 860px) {
  .cols > div:first-child {
    grid-column: span 6;
  }
  .cols > div {
    grid-column: span 3;
  }
}
.site-footer .logo {
  margin-bottom: 8px;
}
.legal {
  padding: 12px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

/* States */
.topbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Responsive nav */
@media (max-width: 780px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    inset: auto 0 0 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 14px 20px;
    display: none;
    gap: 12px;
  }
  body.nav-open #navLinks {
    display: flex;
    flex-direction: column;
  }
}

html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px; /* rectangular across site */
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--accent-600);
}
.link {
  color: var(--muted);
}
.link:hover {
  color: var(--text);
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 20px;
}
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-links a {
  color: #111;
}
.host-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
}
.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 22px;
}

/* Hero */
.hero {
  padding: 56px 0 28px;
}
.hero h1 {
  font-size: 36px;
  line-height: 1.15;
  margin: 0 0 18px;
  max-width: 780px;
}
.search-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 10px 6px;
  background: transparent;
}
.quick-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.tag {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
}
.tag:hover {
  border-color: var(--brand-accent);
}

/* Featured */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.card {
  grid-column: span 12;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
@media (min-width: 560px) {
  .card {
    grid-column: span 6;
  }
}
@media (min-width: 860px) {
  .card {
    grid-column: span 4;
  }
}
.thumb {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.card-body {
  padding: 12px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.meta {
  display: flex;
  gap: 10px;
  color: var(--muted);
}
.price {
  font-weight: 700;
  color: #111;
}

/* Host CTA */
.host-cta {
  margin: 48px 0;
  background: linear-gradient(135deg, #fff 0%, #fff 40%, #ffe4ea 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.host-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}
.host-content h2 {
  margin: 0 0 6px;
  font-size: 26px;
}
.host-content p {
  margin: 0 0 12px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 36px;
}
.cols {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  padding: 26px 0;
}
.cols > div:first-child {
  grid-column: span 12;
}
.cols > div {
  grid-column: span 6;
}
@media (min-width: 860px) {
  .cols > div:first-child {
    grid-column: span 6;
  }
  .cols > div {
    grid-column: span 3;
  }
}
.site-footer .logo {
  margin-bottom: 8px;
}
.legal {
  padding: 12px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

/* States */
.topbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Responsive nav */
@media (max-width: 780px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    inset: auto 0 0 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 14px 20px;
    display: none;
    gap: 12px;
  }
  body.nav-open #navLinks {
    display: flex;
    flex-direction: column;
  }
}

/* Nav search segmented */
.nav {
  height: auto;
  padding: 10px 0;
}
.nav-search {
  /* Hide on desktop to match hero-overlay search layout (Peerspace) */
  display: none;
}
.nav-search .seg {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-search);
  padding: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  max-width: 680px;
  width: 100%;
}
.seg-part {
  padding: 0 8px;
  display: flex;
  align-items: center;
}
.seg-part input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  padding: 8px 8px;
  min-width: 0;
}
.sep {
  width: 1px;
  height: 24px;
  background: var(--border);
}
.search-btn {
  margin-left: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-search);
}

/* Activities scroller */
.activities {
  padding: 12px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.activities-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0;
}
.activities-row::-webkit-scrollbar {
  display: none;
}

@media (max-width: 980px) {
  .hide-sm {
    display: none;
  }
}
@media (max-width: 780px) {
  .hide-md {
    display: none;
  }
  .nav-search {
    display: flex; /* Show compact nav search on mobile */
    flex: 1;
    justify-content: center;
    padding: 0;
  }
}

/* Categories tiles */
.categories {
  padding: 18px 0;
}
.categories .tiles {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.categories .tile {
  position: relative;
  display: block;
  grid-column: span 6;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  aspect-ratio: 3/2;
}
@media (min-width: 560px) {
  .categories .tile {
    grid-column: span 4;
  }
}
@media (min-width: 860px) {
  .categories .tile {
    grid-column: span 3;
  }
}
.categories .tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.45) 100%
  );
}
.categories .tile span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Utilities */
.muted {
  color: var(--muted);
}

/* Segmented search icons (CSS-only) */
.seg-part {
  position: relative;
}
.seg-what::before {
  content: "🔍";
  margin-right: 6px;
}
.seg-where::before {
  content: "📍";
  margin-right: 6px;
}
.seg-date::before {
  content: "📅";
  margin-right: 6px;
}
.seg-guests::before {
  content: "👥";
  margin-right: 6px;
}
.seg-part::before {
  color: var(--muted);
  display: inline-block;
}

/* How it works */
.how {
  padding: 18px 0;
}
.how .steps {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.how .step {
  grid-column: span 12;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
@media (min-width: 560px) {
  .how .step {
    grid-column: span 4;
  }
}
.step-icon {
  font-size: 20px;
  margin-bottom: 6px;
}

/* Hero landing with background slideshow */
.hero-landing {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background slideshow */
.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-bg-slide.is-active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 20px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 40px;
  font-weight: 400;
}
.hero-search {
  width: 100%;
  display: flex;
  justify-content: center;
}
/* generic segmented pill (works in hero and nav) */
.seg {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-search);
  padding: 4px;
  max-width: 960px;
  width: 100%;
}
.seg-labeled .seg-part {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 6px 12px;
}
.mini-label {
  font-size: 10px;
  line-height: 1;
  color: var(--muted);
  margin: 2px 2px 4px;
}
.hero-search .seg-part::before {
  display: none;
}
.hero-search .sep {
  height: 44px;
}
.hero-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.hero-text h1 {
  margin: 0;
  font-size: clamp(32px, 6.5vw, 72px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-credit {
  font-size: 12px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.9);
  text-align: right;
}

/* Make topbar overlay the hero like Peerspace */
.topbar {
  background: transparent;
}
.topbar .nav-links a {
  color: #fff;
}
.topbar .host-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.topbar.scrolled {
  background: #fff;
}
.topbar .logo-img {
  filter: invert(1) brightness(2);
}
.topbar.scrolled .logo-img {
  filter: none;
}
.topbar.scrolled .nav-links a {
  color: #111;
}
.topbar.scrolled .host-btn {
  color: #111;
  border-color: var(--border);
}

/* Hero split section (text left, image carousel right) */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 56px 0 24px;
}
.hero-left .display {
  margin: 0 0 10px;
  font-size: clamp(28px, 5.2vw, 56px);
  line-height: 1.05;
  font-weight: 800;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 18px 0 6px;
}
.hero-right .carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #000;
}
.hero-right .slides {
  display: flex;
  width: 100%;
  transition: transform 600ms ease;
}
.hero-right .slide {
  min-width: 100%;
  position: relative;
}
.hero-right .slide img {
  display: block;
  width: 100%;
  height: 64vh;
  object-fit: cover;
}
.hero-right .vcap {
  position: absolute;
  right: 8px;
  top: 12px;
  transform-origin: top right;
  transform: rotate(90deg);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 980px) {
  .hero-split {
    grid-template-columns: 1fr;
  }
  .hero-right .slide img {
    height: 40vh;
  }
}

/* Pixel-pass refinements for hero segmented search */
.hero-search .seg {
  padding: 6px;
}
.seg-labeled .seg-part {
  flex: 1;
  min-width: 0;
}
.seg-what {
  flex: 2;
}
.seg-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1;
}
.seg-icon {
  width: 16px;
  height: 16px;
  display: block;
  color: var(--muted);
}
.hero-search .sep {
  height: 56px;
}
.hero-search .search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 18px;
  border-radius: var(--radius-search);
}
@media (max-width: 720px) {
  .hero-center {
    padding-top: 18vh;
  }
  .hero-search .seg {
    flex-wrap: wrap;
    row-gap: 8px;
    column-gap: 0;
  }
  .hero-search .sep {
    display: none;
  }
  .hero-search .search-btn {
    width: 100%;
  }
  /* Fix mobile wrapping: each field on its own row */
  .hero-search .seg-labeled .seg-part,
  .hero-search .seg-part {
    flex: 1 1 100% !important;
    width: 100%;
    padding: 8px 10px;
  }
  /* Ensure small-screen hidden pieces remain hidden */
  .hero-search .hide-sm {
    display: none !important;
  }
  /* Prevent awkward multi-line labels and keep them readable */
  .hero-search .mini-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-search .seg-kicker {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .hero-search .seg-part input {
    width: 100%;
  }
}
/* SVG sizing for step icons */
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg {
  width: 22px;
  height: 22px;
}

/* Replace emoji pseudo-icons with SVGs */
.seg-what::before,
.seg-where::before,
.seg-date::before,
.seg-guests::before,
.seg-part::before {
  content: none !important;
  display: none !important;
}

/* Pixel-parity overrides to better match Peerspace proportions */
.container {
  max-width: 1200px;
  padding: 0 24px;
}
.grid {
  gap: 24px;
}
.section-head {
  margin: 40px 0 18px;
}
.card {
  border: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border-radius: 16px;
}
.hero-search .seg {
  max-width: 1040px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}
/* Show activities scroller (Popular cities) */
.activities {
  display: block;
}
/* Nav spacing & weight */
.nav {
  padding: 14px 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1px;
}

/* WHY Section - Professional */
.why-section {
  padding: 100px 0;
  background: var(--surface);
}

.why-header {
  text-align: center;
  margin-bottom: 60px;
}

.why-header h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin: 16px 0 0;
  line-height: 1.15;
}

/* Two-tone emphasis for headings on light sections */
.why-section .text-gold,
.activities-section .text-gold,
.how-section .text-gold,
.corporate-section .text-gold {
  color: var(--duo-2-light);
}

.why-carousel {
  max-width: 900px;
  margin: 0 auto;
}

.why-slides-wrap {
  position: relative;
}

.why-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.why-slide.is-active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  opacity: 1;
}

.why-slide-img {
  border-radius: 16px;
  overflow: hidden;
}

.why-slide-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.why-slide-content {
  padding: 20px 0;
}

.why-slide-num {
  font-size: 14px;
  font-weight: 700;
  color: #555;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.why-slide-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
}

.why-slide-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.why-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.why-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.why-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.why-dots {
  display: flex;
  gap: 8px;
}

.why-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.why-dot.is-active {
  background: #000;
  width: 32px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .why-slide.is-active {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .why-slide-img img {
    height: 280px;
  }
}

/* Activities Section - Professional */
.activities-section {
  padding: 100px 0;
  background: var(--bg);
}

.activities-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.activities-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin: 16px 0 20px;
  line-height: 1.15;
}

.activities-desc {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.activities-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.activity-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.activity-chip:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.activity-chip:hover svg {
  stroke: #fff;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.activities-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-img.is-active {
  opacity: 1;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
}

.gallery-thumb {
  flex: 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.gallery-thumb.is-active {
  border-color: var(--brand-accent);
}

@media (max-width: 900px) {
  .activities-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* How It Works Section - Professional */
.how-section {
  padding: 100px 0;
  background: var(--surface);
}

.how-header {
  text-align: center;
  margin-bottom: 60px;
}

.how-header h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin: 16px 0 16px;
  line-height: 1.15;
}

.how-header p {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}

.how-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.how-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 300px;
}

.how-step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.how-step-icon svg {
  stroke: #fff;
}

.how-step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.how-step h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
}

.how-step p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.how-step-connector {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin-top: 36px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .how-steps {
    flex-direction: column;
    gap: 40px;
  }
  .how-step-connector {
    display: none;
  }
  .how-step {
    max-width: 100%;
  }
}

/* Corporate Section */
.corporate-section {
  background: var(--bg);
  padding: 100px 0;
}

.corporate-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.corporate-content h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin: 16px 0 20px;
}

.corporate-content > p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.corporate-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.corp-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.corp-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #333;
}

.corp-feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.corp-feature-text strong {
  font-size: 16px;
  font-weight: 600;
}

.corp-feature-text span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.corporate-visual {
  position: relative;
}

.corporate-visual img {
  width: 100%;
  border-radius: 20px;
}

.corp-stats {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  gap: 32px;
}

.corp-stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: #000;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .corporate-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .corporate-content {
    order: 2;
  }
  .corporate-visual {
    order: 1;
  }
}

/* Host Section V2 - Clean Layout */
.host-section-v2 {
  background: #0a0a0a;
  padding: 100px 0;
  color: #fff;
}

.host-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.host-visual {
  position: relative;
}

.host-visual img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 16px;
}

.host-earnings {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  padding: 18px 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.host-earnings .earnings-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

.host-earnings .earnings-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-accent);
}

.host-info h2 {
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin: 16px 0 20px;
  /* Improve contrast on dark background */
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.host-info > p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 440px;
}

/* Earnings calculator heading */
.calc-heading {
  margin-top: 16px;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Host calculator controls */
.mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0 10px;
}
.mode-toggle button {
  appearance: none;
  border: none;
  background: transparent;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.mode-toggle button.is-active {
  background: #000;
  color: #fff;
}

.currency-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.currency-input.modern {
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: 14px;
  background: #fafafa;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.currency-input.modern:focus-within {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
  background: #fff;
}
.currency-input .prefix {
  color: var(--muted);
  font-weight: 700;
}
.currency-input.modern .prefix {
  color: #111;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
}
.currency-input input {
  border: none;
  outline: none;
  background: transparent;
  color: #111;
  font-size: 16px;
  width: 100%;
}
.currency-input.modern input {
  font-size: 18px;
  font-weight: 600;
}

/* Black & white range slider for host calculator */
#calcOcc {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: #ddd;
  border-radius: 999px;
  outline: none;
}
#calcOcc::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #111;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease;
}
#calcOcc::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
#calcOcc::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #111;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
#calcOcc::-moz-range-track {
  height: 6px;
  background: #ddd;
  border-radius: 999px;
  border: none;
}

.host-perks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.perk {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.perk-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-accent);
}

.perk > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.perk strong {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.perk span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.btn-host-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 40px;
  background: #111;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  border: 2px solid #333;
}

.btn-host-cta:hover {
  transform: translateY(-2px);
  background: #fff;
  color: #111;
  border-color: #111;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
  .host-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .host-visual img {
    height: 320px;
  }

  .host-info {
    text-align: center;
  }

  .host-info > p {
    max-width: 100%;
  }

  .host-perks {
    align-items: center;
  }

  .perk {
    text-align: left;
  }

  .btn-host-cta {
    width: 100%;
    justify-content: center;
  }
}

.btn-light {
  background: #fff;
  color: #111;
}

/* Footer (dark variant) */
.site-footer.dark {
  background: #0e0e0e;
  color: rgba(255, 255, 255, 0.9);
  border-top: none;
}
.site-footer.dark a {
  color: rgba(255, 255, 255, 0.85);
}
.site-footer.dark h4 {
  color: #fff;
  margin: 0 0 8px;
}
.site-footer.dark .footer-cols {
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  padding: 36px 0;
}
.site-footer.dark .footer-brand {
  grid-column: span 12;
}
.site-footer.dark .footer-cols > div {
  grid-column: span 6;
}
@media (min-width: 860px) {
  .site-footer.dark .footer-brand {
    grid-column: span 4;
  }
  .site-footer.dark .footer-cols > div {
    grid-column: span 2;
  }
}
.site-footer.dark .legal {
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Professional enhancements */

/* Accent text */
.text-gold {
  /* Neutral emphasis: inherit the surrounding color so it works on light and dark */
  color: inherit;
  text-shadow: none;
}

/* Section tag (small label above headers) */
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555;
  margin-bottom: 8px;
}
.section-tag-light {
  color: rgba(255, 255, 255, 0.85);
}

/* Centered section head */
.section-head-center {
  text-align: center;
  margin-bottom: 32px;
}
.section-head-center h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
}
.section-head-center p {
  margin: 0;
}

/* Step numbers */
.step {
  position: relative;
  text-align: center;
  padding: 24px 20px;
}
.step-num {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 28px;
  height: 28px;
  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 {
  margin: 8px 0 6px;
}

/* Host benefits list */
.host-benefits {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}
.host-benefits li {
  padding: 6px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

/* Nav button style */
.btn-nav {
  padding: 8px 16px;
  font-size: 14px;
}

/* Footer restructure */
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding: 48px 0 32px;
}
.footer-brand p {
  margin: 12px 0 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}
.footer-apps {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  transition: border-color 0.2s;
}
.app-badge:hover {
  border-color: var(--brand-accent);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer-links h4 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.footer-social a:hover {
  color: var(--brand-accent);
}
@media (max-width: 860px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Hero split section tag */
.hero-left .section-tag {
  margin-bottom: 12px;
}
.hero-left .btn-primary {
  margin-top: 20px;
}

/* App Download Section - Professional */
.app-download-section {
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
  padding: 100px 0;
  overflow: hidden;
}

/* Two-tone emphasis for headings on dark sections */
.host-section-v2 .text-gold,
.app-download-section .text-gold {
  color: var(--duo-2-dark);
}

.app-download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.app-download-content {
  color: #fff;
}

.app-download-content h2 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin: 16px 0 20px;
  /* Ensure heading remains crisp/visible on dark gradient */
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.app-download-content > p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.app-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.app-features-list svg {
  color: var(--brand-accent);
  flex-shrink: 0;
}

.app-download-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.app-store-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brand-accent);
}

.app-store-btn .btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.app-store-btn .btn-text span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.app-store-btn .btn-text strong {
  font-size: 16px;
  font-weight: 600;
}

.app-download-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 280px;
  padding: 12px;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border-radius: 40px;
  border: 3px solid #2a2a2a;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.phone-mockup::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #000;
  border-radius: 12px;
  z-index: 10;
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9/19;
  background: #111;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .app-download-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .app-features-list {
    align-items: center;
  }

  .app-download-buttons {
    justify-content: center;
  }

  .phone-mockup {
    width: 240px;
  }
}

@media (max-width: 480px) {
  .app-download-section {
    padding: 60px 0;
  }

  .app-store-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Profile page */
.profile-hero {
  background: #fafafa;
  border-bottom: 1px solid var(--border);
  padding: 56px 0 36px;
}
.profile-hero h1 {
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 800;
  margin: 0 0 8px;
}

.profile-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 40px 0 10px;
}
.profile-feature .feature-copy h2 {
  font-size: clamp(28px, 3.6vw, 36px);
  margin: 10px 0 12px;
}
.feature-bullets {
  margin: 12px 0 6px;
  padding-left: 18px;
}
.feature-bullets li {
  margin: 6px 0;
}

.screens-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  justify-content: center;
}
.profile-page .phone-mockup {
  width: 240px;
}

.referrals {
  padding: 16px 0 64px;
}
.referrals-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
}
.referrals-icon {
  color: var(--brand-accent);
}

@media (max-width: 920px) {
  .profile-feature {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .screens-row {
    justify-content: center;
  }
}

/* Profile page v2 (mimic Flutter mobile UI) */
.profile-header {
  padding: 36px 0 20px;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
}
.profile-header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}
.avatar-img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}
.avatar-edit {
  position: absolute;
  right: 4px;
  bottom: 6px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}
.role-badge svg {
  color: #fff;
}

.host-mode-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #0b0b0b;
  color: #fff;
  border-radius: 14px;
  margin: 16px 0 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hm-icon {
  opacity: 0.95;
}
.hm-title {
  font-weight: 800;
  font-size: 18px;
}
.hm-sub {
  font-size: 14px;
}
.hm-btn {
  margin-left: auto;
}

.profile-menu {
  list-style: none;
  padding: 0;
  margin: 10px 0 60px;
}
.profile-menu li + li {
  margin-top: 8px;
}
.menu-item {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  color: inherit;
  text-decoration: none;
}
.menu-item:hover {
  background: #fafafa;
}
.mi-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.mi-right {
  color: var(--muted);
}

/* Edit / Invite modal bits */
.form-grid label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin: 8px 0 6px;
}
.form-grid input[type="text"],
.form-grid input[type="email"],
.form-grid input[type="tel"],
.form-grid input[type="password"] {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.btn-primary.small,
.btn-outline.small,
.suffix-btn.small {
  padding: 8px 10px;
  font-size: 13px;
}

.ref-slab {
  background: #0a0a0a;
  color: #fff;
  border-radius: 14px;
  padding: 18px;
  margin: 6px 0 14px;
  text-align: center;
}
.ref-slab-amt {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 1px;
}
.ref-slab-caption {
  opacity: 0.9;
  margin-top: 4px;
  font-weight: 600;
}
.ref-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin: 8px 0 14px;
}
.ref-code-label {
  font-size: 13px;
  margin-bottom: 6px;
}
.ref-code-box {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding: 12px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 2px;
}
.ref-apply .apply-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.ref-apply input {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

@media (max-width: 780px) {
  .menu-item {
    padding: 12px;
  }
  .avatar-wrap {
    width: 104px;
    height: 104px;
  }
}

/* Modern Footer Styles */
.site-footer-modern {
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
  color: #fff;
  padding-top: 80px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo img {
  height: 44px;
  width: auto;
  /* Subtle white halo so the mark pops on dark backgrounds */
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.9))
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.25));
}

.footer-logo-text {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  /* White edging to stand out on the dark footer */
  -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.85);
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.4);
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 24px;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}

.social-icon:hover {
  background: #333;
  color: #fff;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--brand-accent);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-app-badges {
  display: flex;
  gap: 12px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-badge:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-brand-col {
    max-width: 100%;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .site-footer-modern {
    padding-top: 60px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-app-badges {
    justify-content: center;
  }
}

/* Legal Pages Styles */
.legal-page {
  padding: 120px 0 80px;
  background: var(--bg);
  min-height: 80vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin: 0 0 8px;
}

.legal-updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-content section {
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 12px;
}

.legal-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 24px;
}

.legal-content li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
  color: var(--text);
}

/* Trust Page Styles */
.trust-intro {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 48px;
}

.trust-section {
  margin-bottom: 48px;
  padding: 32px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.trust-icon {
  width: 72px;
  height: 72px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  margin-bottom: 20px;
}

.trust-section h2 {
  margin-top: 0;
}

/* Simple Footer */
.site-footer-simple {
  /* Hidden per request: remove the black footer banner across the site */
  display: none !important;
  background: #0a0a0a;
  padding: 0;
  text-align: center;
}

.site-footer-simple p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 0;
}

.site-footer-simple a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.site-footer-simple a:hover {
  color: var(--brand-accent);
}

/* About Page Styles */
.about-hero {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #fff;
  padding: 140px 0 80px;
  text-align: center;
}

.about-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px;
}

.about-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 0 auto;
}

.about-content {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
}

.about-values {
  margin-bottom: 80px;
}

.about-values h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 32px;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.value-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  margin: 0 auto 16px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.about-mission {
  background: #0a0a0a;
  color: #fff;
  padding: 60px;
  border-radius: 24px;
  text-align: center;
  margin-bottom: 80px;
}

.about-mission h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 20px;
}

.mission-text {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto;
}

.about-cta {
  text-align: center;
}

.about-cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
}

.about-cta p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid var(--text);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--text);
  color: #fff;
}

/* Activities Page Styles */
.activities-hero {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #fff;
  padding: 140px 0 80px;
  text-align: center;
}

.activities-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin: 0 0 16px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.activities-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto;
}

.activities-hero h1 .text-gold {
  /* use softer white for two-shade effect on dark */
  color: var(--duo-2-dark);
}

.activities-list {
  padding: 80px 0;
}

.activity-category {
  margin-bottom: 60px;
}

.activity-category h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 24px;
}

.activities-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.activity-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.activity-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.activity-card-content {
  padding: 16px;
}

.activity-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
}

.activity-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.activities-cta {
  text-align: center;
  padding: 60px;
  background: #0a0a0a;
  border-radius: 24px;
  color: #fff;
}

.activities-cta h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
}

.activities-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

/* Host Landing Page Styles */
.host-hero {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #fff;
  padding: 140px 0 80px;
}

.host-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.host-hero-content h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.host-hero-content h1 .text-gold {
  /* stronger emphasis on dark hero */
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  background-image: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.18)
  );
  background-size: 100% 0.12em;
  background-position: 0 88%;
  background-repeat: no-repeat;
}

.host-hero-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.host-earnings-preview {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}

.host-earnings-preview .earnings-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.host-earnings-preview .earnings-amount {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
}

.host-earnings-preview .earnings-amount small {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.host-hero-image img {
  width: 100%;
  border-radius: 16px;
}

.host-benefits {
  padding: 80px 0;
  background: var(--bg);
}

.host-benefits h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 40px;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}

.benefit-card .benefit-icon {
  width: 72px;
  height: 72px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  margin: 0 auto 20px;
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.host-how-it-works {
  padding: 80px 0;
}

.host-how-it-works h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 40px;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  background: #000;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.host-spaces {
  padding: 80px 0;
  background: var(--bg);
}

.host-spaces h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 40px;
  text-align: center;
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.space-type {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
}

.space-type span {
  font-size: 24px;
}

.host-cta-final {
  padding: 100px 0;
  text-align: center;
  background: #0a0a0a;
  color: #fff;
}

.host-cta-final h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #fff;
}

.host-cta-final p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

/* Responsive styles for new pages */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values-grid,
  .activities-page-grid,
  .benefits-grid,
  .steps-grid,
  .spaces-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .host-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .host-hero-content {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .values-grid,
  .activities-page-grid,
  .benefits-grid,
  .steps-grid,
  .spaces-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .about-mission {
    padding: 40px 24px;
  }
}

/* Minimal modal styles (auth) */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.modal.show {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.modal-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  width: min(540px, 94vw);
  padding: 26px 26px 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}
.modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: transparent;
  border: 0;
  font-size: 20px;
  cursor: pointer;
}
.modal-tabs {
  display: flex;
  gap: 6px;
  margin: 8px 0 16px;
  padding: 6px;
  background: #f7f7f7;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.modal-tabs .tab {
  flex: 1;
  border: none;
  background: transparent;
  color: #111;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 700;
}
.modal-tabs .tab.is-active {
  background: #000;
  color: #fff;
}
/* Accessibility helpers */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.auth-form label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 6px;
}
.auth-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  margin-top: 4px;
}
.auth-form .form-error {
  margin-top: 10px;
  color: #b91c1c;
  font-size: 13px;
  min-height: 1em;
}

/* OTP helpers */
.otp-hint {
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0 10px;
}

/* Modern OTP actions and tertiary buttons */
.otp-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 10px 0 12px;
}
.btn-ghost {
  border: 1px solid var(--border);
  background: #fff;
  color: #111;
  border-radius: 9999px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-ghost:hover {
  background: #f7f7f7;
  border-color: rgba(0, 0, 0, 0.25);
}
.btn-ghost[disabled],
.btn-ghost.is-wait {
  opacity: 0.6;
  cursor: default;
}

/* Input with prefix/suffix (phone + password reveal) */
.input-affix {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 10px;
  background: #fff;
}
/* Form spacing tweaks to modernize layout */
.auth-form .input-affix,
.auth-form input,
.auth-form .seg-toggle {
  margin-bottom: 10px;
}
.auth-form .btn-primary {
  margin-top: 6px;
}
.input-affix .prefix {
  color: var(--muted);
  font-weight: 700;
}
.input-affix input {
  border: none;
  outline: none;
  flex: 1;
  padding: 6px 4px;
  background: transparent;
}
.input-affix .suffix-btn {
  border: none;
  background: transparent;
  color: #111;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
}
.input-affix .suffix-btn:hover {
  background: #f2f2f2;
}

/* Invalid state (live validation) */
.input-affix[aria-invalid="true"] {
  border-color: #e11;
}

/* Segmented toggle (Guest/Host) */
.seg-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  background: #f4f4f4;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.seg-toggle .seg-radio {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.seg-toggle .seg-option {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
  color: #111;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}
.seg-toggle .seg-radio:focus + .seg-option {
  outline: 2px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
}
.seg-toggle .seg-radio:checked + .seg-option {
  background: #000;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) inset;
}

/* Password hint + meter */
.form-hint {
  color: var(--muted);
  font-size: 12px;
  margin: 6px 0 2px;
}
.form-hint.error {
  color: #b91c1c;
}
.pw-meter {
  height: 6px;
  background: #eee;
  border-radius: 9999px;
  overflow: hidden;
}
.pw-meter > span {
  display: block;
  height: 100%;
  width: 0;
  background: #ddd;
  transition:
    width 0.2s ease,
    background-color 0.2s ease;
}

/* OTP input polish */
#otpCode {
  letter-spacing: 3px;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  border-radius: 12px;
}

/* Button loading state */
.btn-primary {
  position: relative;
}
.btn-primary .btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-top-color: #fff;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: -3px;
  animation: spin 1s linear infinite;
}
.btn-primary[data-loading="true"] {
  opacity: 0.9;
  pointer-events: none;
}
.btn-primary[data-loading="true"] .btn-spinner {
  display: inline-block;
}
.btn-primary .btn-label {
  vertical-align: middle;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   WIZARD FORM — modern form controls
   ============================================ */
#listingForm {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
#listingForm h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--text);
}
#listingForm .muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
#listingForm label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
#listingForm input[type="text"],
#listingForm input[type="number"],
#listingForm input[type="tel"],
#listingForm input[type="email"],
#listingForm textarea,
#listingForm select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  outline: none;
}
#listingForm textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  min-height: 100px;
}
#listingForm input[type="text"]:focus,
#listingForm input[type="number"]:focus,
#listingForm input[type="tel"]:focus,
#listingForm input[type="email"]:focus,
#listingForm textarea:focus,
#listingForm select:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
#listingForm input::placeholder,
#listingForm textarea::placeholder {
  color: #aaa;
}
#listingForm select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Wizard form grid */
#listingForm .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
#listingForm .form-grid .full-width {
  grid-column: 1 / -1;
}
@media (max-width: 600px) {
  #listingForm .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Wizard step sections */
.wizard-step {
  animation: fadeInStep 0.25s ease;
}
@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Autocomplete list for location search (host-new.html) */
.auto-list {
  margin-top: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-height: 240px;
  overflow: auto;
}
.auto-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f2f2f2;
}
.auto-item:last-child {
  border-bottom: 0;
}
.auto-item:hover,
.auto-item[aria-selected="true"] {
  background: #f7f7f7;
}
.auto-item .title {
  font-weight: 600;
}
.auto-item .sub {
  color: #6b7280;
  font-size: 12px;
  margin-top: 2px;
}

/* Segmented toggle in wizard */
#listingForm .seg-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #f4f4f4;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-top: 2px;
}
#listingForm .seg-toggle .seg-option {
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}
#listingForm .seg-toggle .seg-radio:checked + .seg-option {
  background: #111;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* Form success/error states */
#listingForm .form-error {
  color: #b91c1c;
  font-size: 14px;
  font-weight: 500;
}
#listingForm .form-success {
  color: #059669;
  font-size: 14px;
  font-weight: 500;
  background: #ecfdf5;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #a7f3d0;
}

/* Page header for wizard */
.wizard-page-header {
  margin-bottom: 8px;
}
.wizard-page-header h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 4px;
}
.wizard-page-header p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* Wizard footer layout helpers */
.wizard-footer-left,
.wizard-footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Wizard form spacing overrides */
#listingForm h3 + .muted {
  margin-bottom: 20px;
}
#listingForm .preview-grid {
  margin-top: 16px;
}
#listingForm .chip-list {
  margin-top: 8px;
}

/* Segmented radio hide */
.seg-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* Media modal — wide card */
.modal-card--wide {
  width: min(900px, 96vw);
  padding: 26px 26px 18px;
}

/* Media grid and items */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.media-item {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.media-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
/* Match video to image sizing in media grid */
.media-item video {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  background: #000;
}
@media (min-width: 600px) {
  .media-item img {
    height: 180px;
  }
  .media-item video {
    height: 180px;
  }
}
.media-item .cover-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #111;
  color: #fff;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}
.media-item.is-cover {
  outline: 2px solid #111;
  box-shadow: 0 0 0 1px #111;
}
.media-item .item-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 8px;
  background: #fff;
  border-top: 1px solid var(--border);
}

/* Inline upload row in modal */
.upload-inline {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sticky modal actions */
.modal-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  position: sticky;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.96),
    rgba(255, 255, 255, 0.85)
  );
  padding-top: 12px;
}

/* Compact button for item actions */
.btn-mini {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
}

/* Card actions row on listing cards */
.card-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Small variant overrides for outline/secondary/ghost/primary buttons */
.btn-outline.btn-sm,
.btn-secondary.btn-sm,
.btn-ghost.btn-sm,
.btn-primary.btn-sm {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
}

/* Icon sizing for small outline buttons */
.btn-outline.btn-sm svg {
  width: 14px;
  height: 14px;
}

/* ======== iCal Sync Modal Styles ======== */

/* Section blocks */
.ical-section {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.ical-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
}
.ical-hint {
  font-size: 13px;
  color: #666;
  margin: 0 0 10px;
  line-height: 1.4;
}

/* Export URL row */
.ical-export-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.ical-url-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
  color: var(--text);
  min-width: 0;
  font-family: monospace;
}

/* Add-import form */
.ical-add-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.ical-input {
  flex: 1;
  min-width: 140px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
}

/* Import items */
.ical-import-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.ical-import-item:last-child {
  border-bottom: none;
}
.ical-import-info {
  flex: 1;
  min-width: 0;
}
.ical-import-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ical-import-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.ical-import-meta {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}
.ical-import-url-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.ical-import-url {
  font-size: 12px;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
  font-family: monospace;
}

/* Badge */
.ical-badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #f1f1f1;
  color: #888;
  font-weight: 500;
}
.ical-badge--active {
  background: #dcfce7;
  color: #15803d;
}

/* Import actions column */
.ical-import-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-top: 2px;
}

/* Small icon buttons */
.btn-icon-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  color: #555;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.btn-icon-sm:hover {
  background: #f5f5f5;
  border-color: #bbb;
}
.btn-icon-sm:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-danger-sm {
  color: #e53e3e;
}
.btn-danger-sm:hover {
  background: #fff5f5;
  border-color: #feb2b2;
}

/* Toggle switch */
.ical-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  cursor: pointer;
}
.ical-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.ical-switch-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 22px;
  transition: background 0.2s;
}
.ical-switch-slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.ical-switch input:checked + .ical-switch-slider {
  background: #111;
}
.ical-switch input:checked + .ical-switch-slider::before {
  transform: translateX(16px);
}

/* Small spinner */
.spinner-sm {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #ddd;
  border-top-color: #555;
  border-radius: 50%;
  animation: spin-sm 0.6s linear infinite;
}
@keyframes spin-sm {
  to {
    transform: rotate(360deg);
  }
}

/* Warning icon */
.ical-warn {
  flex-shrink: 0;
}

/* Empty state */
.ical-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  color: #888;
  font-size: 13px;
}

/* Help / details */
.ical-help {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.ical-help summary {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #f9fafb;
  color: var(--text);
}
.ical-help summary:hover {
  background: #f3f4f6;
}
.ical-help-body {
  padding: 10px 14px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}
.ical-help-body p {
  margin: 4px 0;
}
.ical-help-body code {
  font-size: 12px;
  background: #f1f1f1;
  padding: 2px 6px;
  border-radius: 4px;
  word-break: break-all;
}

/* Mobile responsive */
@media (max-width: 600px) {
  .ical-export-row {
    flex-direction: column;
    align-items: stretch;
  }
  .ical-export-row .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .ical-add-form {
    flex-direction: column;
    align-items: stretch;
  }
  .ical-add-form .ical-input {
    min-width: unset;
  }
  .ical-import-item {
    flex-direction: column;
    gap: 8px;
  }
  .ical-import-url {
    max-width: 200px;
  }
}
