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

:root {
  --bg-canvas: #09090b;
  --bg-surface: #121215;
  --border-dark: #27272a;
  
  --app-bg: #fafafa;
  --card-bg: #ffffff;
  --text-primary: #09090b;
  --text-secondary: #71717a;
  --text-tertiary: #a1a1aa;
  --border-light: #e4e4e7;
  --border-subtle: #f4f4f5;

  --accent: #18181b;
  --accent-indigo: #4f46e5;
  --accent-indigo-soft: #eef2ff;
  --green: #10b981;
  --green-soft: #ecfdf5;
  --amber: #f59e0b;
  --amber-soft: #fffbeb;
  --red: #ef4444;
  --red-soft: #fef2f2;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-canvas);
  color: #fafafa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================================================
   TOP MINIMALIST STUDIO BAR
   ============================================================================ */
.studio-topbar {
  display: none !important;
  height: 56px;
  background: rgba(18, 18, 21, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.studio-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #fafafa;
  color: #09090b;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.03em;
}

.brand-tagline {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fb923c;
  background: linear-gradient(90deg, #c084fc, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.studio-brand-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fafafa;
}

.studio-brand-sub {
  font-size: 11px;
  color: #71717a;
  font-weight: 400;
}

.studio-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ctrl-pill {
  height: 30px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  background: #18181b;
  color: #d4d4d8;
  font-size: 11.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ctrl-pill:hover {
  border-color: #3f3f46;
  background: #27272a;
  color: #ffffff;
}

.ctrl-pill.active-gps {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.dot-green { background: var(--green); }
.dot-amber { background: var(--amber); }
.dot-red { background: var(--red); }
.dot-blue { background: #38bdf8; }

.studio-toast {
  background: #18181b;
  border-bottom: 1px solid var(--border-dark);
  padding: 8px 24px;
  font-size: 12px;
  color: #a1a1aa;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toast-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e4e4e7;
}

/* ============================================================================
   MAIN 3-DEVICE STAGE
   ============================================================================ */
.studio-stage {
  display: grid;
  grid-template-columns: 375px 375px 1fr;
  gap: 24px;
  padding: 20px 24px 32px;
  max-width: 1640px;
  margin: 0 auto;
  width: 100%;
  align-items: start;
}

@media (max-width: 1360px) {
  .studio-stage {
    grid-template-columns: 375px 375px;
    justify-content: center;
  }
  .tv-col {
    grid-column: span 2;
  }
}

/* ============================================================================
   MOBILE DEVICE SWITCHER BAR & FULL-SCREEN NATIVE EXPERIENCE
   ============================================================================ */
.mobile-device-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #121214;
  border-bottom: 1px solid #27272a;
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-brand-mini {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  flex-shrink: 0;
}
.brand-mini-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
}
.brand-mini-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #fafafa;
  letter-spacing: -0.02em;
}

.mobile-device-toggle {
  display: inline-flex;
  align-items: center;
  background: #1c1c1f;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid #2e2e33;
  gap: 2px;
}

.m-dev-btn {
  background: transparent;
  border: none;
  color: #a1a1aa;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.m-dev-btn.active {
  background: #fafafa;
  color: #09090b;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.m-sim-btn {
  background: #27272a;
  border: 1px solid #3f3f46;
  color: #fbbf24;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.desktop-only {
  display: none !important;
}

@media (min-width: 901px) {
  .desktop-only {
    display: inline-flex !important;
  }
}

/* Stage visibility controls */
.studio-stage[data-active-device="b2c"] #colB2C,
.studio-stage[data-active-device="b2b"] #colB2B,
.studio-stage[data-active-device="tv"] #colTV,
.studio-stage[data-active-device="all"] #colB2C {
  display: flex;
}

@media (min-width: 901px) {
  .studio-stage[data-active-device="b2c"] #colB2B,
  .studio-stage[data-active-device="b2c"] #colTV,
  .studio-stage[data-active-device="b2b"] #colB2C,
  .studio-stage[data-active-device="b2b"] #colTV,
  .studio-stage[data-active-device="tv"] #colB2C,
  .studio-stage[data-active-device="tv"] #colB2B,
  .studio-stage[data-active-device="all"] #colB2B,
  .studio-stage[data-active-device="all"] #colTV {
    display: none !important;
  }
  .studio-stage[data-active-device="all"] #colB2C {
    display: flex !important;
  }
  .studio-stage[data-active-device="b2c"],
  .studio-stage[data-active-device="b2b"],
  .studio-stage[data-active-device="tv"],
  .studio-stage[data-active-device="all"] {
    display: flex !important;
    justify-content: center;
  }
}

/* ============================================================================
   RESPONSIVE LAYOUT FOR MOBILE SCREENS (max-width: 900px)
   ============================================================================ */
@media (max-width: 900px) {
  body {
    overflow-x: hidden;
    background: #09090b;
  }

  /* Hide desktop header & toast on real phone */
  .studio-topbar,
  .studio-toast {
    display: none !important;
  }

  .studio-stage {
    display: block;
    padding: 0;
    max-width: 100vw;
    width: 100%;
    margin: 0;
  }

  .device-col {
    display: none;
    width: 100vw;
    max-width: 100vw;
    gap: 0;
  }

  /* Show ONLY the selected device on mobile */
  .studio-stage[data-active-device="b2c"] #colB2C {
    display: flex;
  }
  .studio-stage[data-active-device="b2b"] #colB2B {
    display: flex;
  }
  .studio-stage[data-active-device="tv"] #colTV {
    display: flex;
  }
  .studio-stage[data-active-device="all"] #colB2B,
  .studio-stage[data-active-device="all"] #colTV {
    display: none !important;
  }
  .studio-stage[data-active-device="all"] #colB2C {
    display: flex !important;
  }

  /* Full screen native mobile appearance */
  .phone-shell {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100dvh - 47px) !important;
    height: calc(100vh - 47px) !important;
    background: var(--app-bg);
  }

  /* Hide simulated status bar on physical phones */
  .os-statusbar {
    display: none !important;
  }

  #colB2C .device-header {
    display: none !important;
  }

  #colB2B .device-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 6px 14px;
    background: #18181b;
    border-bottom: 1px solid var(--border-dark);
  }

  .phone-viewport {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 24px;
  }

  .app-tabbar {
    height: 56px;
    padding-bottom: env(safe-area-inset-bottom, 6px);
    flex-shrink: 0;
    border-top: 1px solid var(--border-light);
  }

  .tv-display {
    border: none !important;
    border-radius: 0 !important;
    min-height: calc(100dvh - 47px) !important;
    min-height: calc(100vh - 47px) !important;
    padding: 16px 14px !important;
  }
}

.device-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.device-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.device-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #71717a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.minimal-select {
  background: #18181b;
  color: #e4e4e7;
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11.5px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
}

/* ============================================================================
   MINIMALIST PHONE & WEB-APP FRAME
   ============================================================================ */
.phone-shell {
  background: var(--app-bg);
  color: var(--text-primary);
  border-radius: 20px;
  border: 1px solid var(--border-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  height: min(92vh, 880px);
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.os-statusbar {
  display: none !important;
  height: 32px;
  padding: 0 20px;
  background: var(--card-bg);
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  flex-shrink: 0;
}

.os-camera-hole {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #18181b;
}

/* IN-PHONE FLOATING NOTIFICATION */
.floating-push {
  position: absolute;
  top: 38px;
  left: 12px;
  right: 12px;
  background: rgba(24, 24, 27, 0.96);
  backdrop-filter: blur(10px);
  color: #fafafa;
  padding: 12px 14px;
  border-radius: 14px;
  z-index: 30;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  border: 1px solid #3f3f46;
  animation: fadeSlide 0.2s ease-out;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.push-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #a1a1aa;
  margin-bottom: 4px;
}

.push-body {
  font-size: 12px;
  line-height: 1.4;
  color: #f4f4f5;
  margin-bottom: 10px;
}

.push-btns {
  display: flex;
  gap: 8px;
}

.rating-stars-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.star-pick-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  width: 34px;
  height: 30px;
  font-size: 16px;
  color: #52525b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.star-pick-btn.active {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.16);
  border-color: rgba(251, 191, 36, 0.55);
  transform: scale(1.04);
}

.rating-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.rating-tag-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #d4d4d8;
  font-size: 10.5px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rating-tag-btn.active {
  background: #fbbf24;
  color: #09090b;
  border-color: #fbbf24;
  font-weight: 700;
}

.rated-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
}

/* APP HEADER INSIDE PHONE */
.app-nav-header {
  background: var(--card-bg);
  padding: 8px 14px 10px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-shrink: 0;
}

.app-header-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.tv-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.app-logo-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.app-loc-sub {
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
  min-width: 0;
  height: 16px;
  line-height: 16px;
  overflow: hidden;
}

#headerRotatingTagline {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.badge-minimal {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-good { background: var(--green-soft); color: #065f46; }
.badge-grey { background: var(--amber-soft); color: #92400e; }
.badge-banned { background: var(--red-soft); color: #991b1b; }
.badge-new { background: #f4f4f5; color: #3f3f46; }

/* SCROLLABLE VIEWPORT */
.phone-viewport {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone-viewport::-webkit-scrollbar {
  width: 4px;
}
.phone-viewport::-webkit-scrollbar-thumb {
  background: #d4d4d8;
  border-radius: 4px;
}

.view-pane {
  display: none;
  flex-direction: column;
  gap: 14px;
}
.view-pane.active {
  display: flex;
}

/* ============================================================================
   MINIMALIST SEARCH & AI BAR
   ============================================================================ */
.search-bar-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color 0.15s;
}
.search-bar-wrap:focus-within {
  border-color: var(--text-primary);
}

.search-input-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-input-line input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 12.5px;
  color: var(--text-primary);
  background: transparent;
}
.search-input-line input::placeholder {
  color: var(--text-tertiary);
}

.btn-dark-xs {
  background: var(--text-primary);
  color: #ffffff;
  border: none;
  border-radius: 7px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.ai-suggestions {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid var(--border-subtle);
}
.ai-suggestions::-webkit-scrollbar { display: none; }

.ai-chip {
  font-size: 10.5px;
  color: var(--text-secondary);
  background: #f4f4f5;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.12s;
}
.ai-chip:hover {
  background: #e4e4e7;
  color: var(--text-primary);
}

.ai-parsed-pill {
  margin-top: 8px;
  padding: 7px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 11px;
  color: #475569;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============================================================================
   HOME SCREEN: QUICK REBOOK & VISUAL CATEGORY GRID
   ============================================================================ */
.quick-rebook-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-rebook-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.quick-rebook-card:hover {
  border-color: var(--text-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.qr-left {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.qr-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f4f4f5;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qr-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qr-meta {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qr-btn {
  background: var(--text-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.qr-btn:hover {
  opacity: 0.85;
}

/* VISUAL CATEGORY GRID (2 COLUMNS) */
.category-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.cat-visual-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: all 0.16s ease;
  text-align: left;
}

.cat-visual-card:hover {
  border-color: var(--text-primary);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.cat-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f4f4f5;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.16s ease;
}

.cat-visual-card:hover .cat-icon-box {
  background: var(--text-primary);
  color: #ffffff;
}

.cat-visual-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.cat-visual-sub {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.step-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.step-title-pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* SEGMENTED CATEGORY FILTER */
.filter-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
}
.filter-row::-webkit-scrollbar { display: none; }

.filter-tab {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--card-bg);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s;
}

.filter-tab.active {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

/* MINIMAL VECTOR MAP */
.clean-map {
  position: relative;
  height: 175px;
  background: #f1f5f9;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.map-roads {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.8) 2px, transparent 2px),
    linear-gradient(0deg, rgba(255,255,255,0.8) 2px, transparent 2px),
    linear-gradient(45deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px, 88px 88px;
}

.map-radius-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(24, 24, 27, 0.25);
  background: rgba(24, 24, 27, 0.03);
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.2s ease;
}

.map-you-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  background: var(--accent-indigo);
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
  z-index: 2;
}

.pin-pill {
  position: absolute;
  transform: translate(-50%, -50%);
  background: #ffffff;
  color: var(--text-primary);
  padding: 3px 8px;
  height: 26px;
  border-radius: 13px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16), 0 1px 2px rgba(0, 0, 0, 0.08);
  border: 1.5px solid var(--c, #3b82f6);
  cursor: pointer;
  z-index: 3;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.pin-pill:hover, .pin-pill.active-pin {
  background: var(--c, #18181b);
  color: #ffffff;
  transform: translate(-50%, -60%) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

.map-radius-control {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
  border: 1px solid rgba(0,0,0,0.05);
}

.map-radius-control input[type="range"] {
  width: 110px;
  accent-color: var(--text-primary);
}

/* ============================================================================
   MINIMALIST CARDS & LISTS
   ============================================================================ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.clean-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  transition: all 0.15s ease;
}
.clean-card.clickable {
  cursor: pointer;
}
.clean-card.clickable:hover {
  border-color: #a1a1aa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

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

.card-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.price-rating-pill {
  background: #f4f4f5;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

/* ============================================================================
   INTERACTIVE MULTI-DAY & MONTH CALENDAR WIDGET
   ============================================================================ */
.calendar-container {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
}

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

.cal-month-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.cal-toggle-btn {
  background: #f4f4f5;
  border: none;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
}
.cal-toggle-btn:hover {
  background: #e4e4e7;
}

/* 7-DAY HORIZONTAL SCROLLER */
.date-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.day-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7px 2px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.12s ease;
  position: relative;
}
.day-cell:hover {
  background: #f4f4f5;
}
.day-cell.selected {
  background: var(--text-primary);
  color: #ffffff;
}
.day-cell .d-name {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 500;
}
.day-cell.selected .d-name {
  color: #a1a1aa;
}
.day-cell .d-num {
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
}
.day-cell .d-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-indigo);
  margin-top: 3px;
}
.day-cell.selected .d-dot {
  background: #34d399;
}

/* EXPANDED MONTH GRID */
.month-grid-wrap {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.month-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-bottom: 6px;
}

.month-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.m-day {
  height: 32px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-primary);
}
.m-day:hover:not(.disabled) {
  background: #f4f4f5;
}
.m-day.disabled {
  color: #d4d4d8;
  cursor: default;
}
.m-day.selected {
  background: var(--text-primary);
  color: #ffffff;
  font-weight: 600;
}
.m-day.has-booking::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-indigo);
  margin-top: 1px;
}
.m-day.selected.has-booking::after {
  background: #34d399;
}

/* SERVICE SELECTION LIST */
.service-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.12s;
  background: var(--card-bg);
}
.service-option + .service-option {
  margin-top: 6px;
}
.service-option.selected {
  border-color: var(--text-primary);
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px var(--text-primary);
}

.pause-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  color: #065f46;
  background: var(--green-soft);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
}

/* TIME SLOTS GRID */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.time-slot-pill {
  padding: 8px 6px;
  border-radius: 9px;
  border: 1px solid var(--border-light);
  background: var(--card-bg);
  text-align: center;
  cursor: pointer;
  transition: all 0.12s;
}
.time-slot-pill:hover {
  border-color: #a1a1aa;
}
.time-slot-pill .t-clock {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}
.time-slot-pill .t-tag {
  font-size: 9.5px;
  color: var(--text-secondary);
  display: block;
  margin-top: 1px;
}

.time-slot-pill.gap-highlight {
  border-color: rgba(16, 185, 129, 0.5);
  background: var(--green-soft);
}
.time-slot-pill.gap-highlight .t-clock,
.time-slot-pill.gap-highlight .t-tag {
  color: #065f46;
}

.time-slot-pill.selected {
  background: var(--text-primary);
  border-color: var(--text-primary);
}
.time-slot-pill.selected .t-clock,
.time-slot-pill.selected .t-tag {
  color: #ffffff;
}

/* PRIMARY CTA BUTTON */
.btn-primary-clean {
  width: 100%;
  height: 40px;
  background: var(--text-primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-primary-clean:hover {
  opacity: 0.9;
}
.btn-primary-clean:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ============================================================================
   B2B TIMELINE APPOINTMENTS
   ============================================================================ */
.b2b-appt-item, .b2c-my-appt-item {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.b2b-appt-item.st-in_progress, .b2c-my-appt-item.st-in_progress {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.b2b-appt-item.st-pending_24h, .b2c-my-appt-item.st-pending_24h {
  border-color: var(--amber);
}

.b2b-appt-item.st-no_show, .b2c-my-appt-item.st-no_show {
  opacity: 0.6;
  background: var(--red-soft);
}

.appt-time-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.action-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 6px;
  border-top: 1px solid var(--border-subtle);
}

.btn-minimal {
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--border-light);
  background: var(--card-bg);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.12s;
}
.btn-minimal:hover:not(:disabled) {
  background: #f4f4f5;
}
.btn-minimal:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-minimal.primary {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}
.btn-minimal.danger {
  color: #dc2626;
  border-color: #fecaca;
  background: #fef2f2;
}

/* ============================================================================
   BOTTOM TAB BAR
   ============================================================================ */
.app-tabbar {
  height: 56px;
  background: var(--card-bg);
  border-top: 1px solid var(--border-light);
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  flex-shrink: 0;
  overflow: hidden !important;
}

.tab-btn {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-tertiary);
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 500;
  transition: color 0.15s;
}
.tab-btn.active {
  color: var(--text-primary);
  font-weight: 600;
}
.tab-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* ============================================================================
   SMART TV MINIMALIST DISPLAY
   ============================================================================ */
.tv-display {
  background: #121215;
  border: 1px solid #27272a;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.7);
}

.tv-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid #27272a;
}

.tv-salon-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fafafa;
}

.tv-salon-sub {
  font-size: 12px;
  color: #71717a;
  margin-top: 3px;
}

.tv-active-card {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tv-Serving-code {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 4px 0;
}

.tv-queue-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 12px;
  margin-top: 8px;
}

.tv-qr-bar {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid #27272a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #a1a1aa;
}

/* FORM INPUTS IN B2B */
.clean-input, .clean-select, .clean-textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-primary);
  background: var(--card-bg);
  outline: none;
}
.clean-input:focus, .clean-select:focus, .clean-textarea:focus {
  border-color: var(--text-primary);
}

.field-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 4px;
  display: block;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
}

.modal-box {
  background: #ffffff;
  color: var(--text-primary);
  width: 100%;
  max-width: 400px;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

/* ============================================================================
   CLIENT (B2C) SCREEN — COLOR LAYER
   Scoped to .b2c-phone so the provider (B2B) phone and TV stay neutral.
   Per-category colors come from --c / --c-dark / --c-soft (set inline from JS).
   ============================================================================ */
.b2c-phone {
  --c: #4f46e5;
  --c-dark: #7c3aed;
  --c-soft: #e0e7ff;
}

/* Gradient app header */
.b2c-phone .os-statusbar {
  background: #4f46e5;
  color: #ffffff;
}
.b2c-phone .os-camera-hole { background: #1e1b4b; }

.b2c-phone .app-nav-header {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 60%, #c026d3 130%);
  border-bottom: none;
  padding: 8px 14px 12px;
}
.b2c-phone .app-header-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.tv-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.app-logo-text { color: #ffffff; }
.b2c-phone .app-loc-sub { color: rgba(255, 255, 255, 0.82); }

/* Soft tinted canvas behind content */
.b2c-phone .phone-viewport {
  background: linear-gradient(180deg, #eef2ff 0, #fafafa 220px);
}

/* Search + AI chips */
.b2c-phone .search-bar-wrap {
  border-color: #c7d2fe;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.10);
}
.b2c-phone .search-bar-wrap:focus-within { border-color: #4f46e5; }
.b2c-phone .btn-dark-xs {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}
.b2c-phone .ai-chip {
  background: #eef2ff;
  color: #4338ca;
}
.b2c-phone .ai-chip:hover { background: #e0e7ff; color: #3730a3; }

/* Colorful category cards */
.b2c-phone .cat-visual-card {
  background: var(--c-soft);
  border-color: transparent;
}
.b2c-phone .cat-visual-card:hover {
  background: var(--c-soft);
  border-color: var(--c);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.b2c-phone .cat-icon-box {
  background: #ffffff;
  color: var(--c);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.b2c-phone .cat-visual-card:hover .cat-icon-box {
  background: var(--c);
  color: #ffffff;
}
.b2c-phone .cat-visual-title { color: var(--c-dark); }

/* Quick rebook cards */
.b2c-phone .quick-rebook-card {
  border-left: 4px solid var(--c);
}
.b2c-phone .quick-rebook-card:hover { border-color: var(--c); }
.b2c-phone .qr-icon-circle {
  background: var(--c-soft);
  color: var(--c);
}
.b2c-phone .qr-btn {
  background: linear-gradient(135deg, var(--c), var(--c-dark));
}

/* Section headers */
.b2c-phone .section-header { color: #4338ca; }
.b2c-phone .section-header span:last-child { color: var(--text-secondary); }

/* Map */
.b2c-phone .clean-map {
  background:
    radial-gradient(circle at 88% 14%, #bfdbfe 0 13%, transparent 14%),
    radial-gradient(circle at 12% 82%, #bbf7d0 0 17%, transparent 18%),
    radial-gradient(circle at 70% 85%, #d9f99d 0 10%, transparent 11%),
    #eef1e6;
  border-color: #c7d2fe;
}
.b2c-phone .map-radius-ring {
  border-color: rgba(79, 70, 229, 0.55);
  background: rgba(79, 70, 229, 0.07);
}
.b2c-phone .pin-pill {
  border: 2px solid var(--c);
  color: var(--c);
  background: #ffffff;
}
.b2c-phone .pin-pill:hover,
.b2c-phone .pin-pill.active-pin {
  background: var(--c);
  color: #ffffff;
}

.title-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
}

/* Provider cards on the map screen */
.b2c-phone .provider-colored {
  border-left: 4px solid var(--c);
}
.b2c-phone .provider-colored .price-rating-pill {
  background: var(--c-soft);
  color: var(--c-dark);
}
.b2c-phone .provider-colored:hover { border-color: var(--c); }

/* Provider profile: gradient hero + category accents */
#b2cProfileContainer > .clean-card:first-child {
  background: linear-gradient(135deg, var(--c), var(--c-dark));
  border: none;
  color: #ffffff;
}
#b2cProfileContainer > .clean-card:first-child .card-title { color: #ffffff; }
#b2cProfileContainer > .clean-card:first-child .card-sub { color: rgba(255, 255, 255, 0.88); }
#b2cProfileContainer > .clean-card:first-child .price-rating-pill {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
#b2cProfileContainer .section-header > span:first-child { color: var(--c-dark); }

.b2c-phone .service-option.selected {
  border-color: var(--c);
  background: var(--c-soft);
  box-shadow: inset 0 0 0 1px var(--c);
}
.b2c-phone .day-cell.selected,
.b2c-phone .m-day.selected {
  background: var(--c);
  color: #ffffff;
}
.b2c-phone .day-cell .d-dot,
.b2c-phone .m-day.has-booking::after { background: var(--c); }
.b2c-phone .day-cell.selected .d-dot,
.b2c-phone .m-day.selected.has-booking::after { background: #ffffff; }
.b2c-phone .time-slot-pill.selected {
  background: var(--c);
  border-color: var(--c);
}
.b2c-phone .time-slot-pill:hover { border-color: var(--c); }
.b2c-phone .btn-primary-clean {
  background: linear-gradient(135deg, var(--c), var(--c-dark));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.b2c-phone .btn-primary-clean:disabled { box-shadow: none; }
.b2c-phone .cal-toggle-btn {
  background: var(--c-soft);
  color: var(--c-dark);
}
.b2c-phone .cal-toggle-btn:hover { background: var(--c-soft); filter: brightness(0.96); }
.b2c-phone .step-title-pill { color: var(--text-primary); }

/* Bottom tab bar */
.b2c-phone .app-tabbar { border-top-color: #e0e7ff; }
.b2c-phone .tab-btn.active { color: #4f46e5; }
.b2c-phone .tab-btn.active svg { stroke: #4f46e5; }

/* ============================================================================
   SERVICE GROUPS, SUBCATEGORIES & FOOD FILTERS (client screen)
   ============================================================================ */
.b2c-phone .group-card {
  padding: 16px 14px;
  min-height: 128px;
}
.b2c-phone .group-card .cat-icon-box {
  width: 46px;
  height: 46px;
  background: var(--c);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}
.b2c-phone .group-card:hover .cat-icon-box {
  background: var(--c-dark);
}

.all-map-btn {
  width: 100%;
  margin-top: 10px;
  height: 38px;
  border-radius: 12px;
  border: 1px dashed #a5b4fc;
  background: rgba(255, 255, 255, 0.7);
  color: #4338ca;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
}
.all-map-btn:hover {
  background: #eef2ff;
  border-style: solid;
}

/* Group hero on the subcategory screen */
.group-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--c, #4f46e5), var(--c-dark, #3730a3));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.group-hero-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.group-hero-icon svg { width: 24px; height: 24px; }
.group-hero-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.group-hero-sub {
  font-size: 11.5px;
  opacity: 0.9;
  margin-top: 2px;
  line-height: 1.35;
}

/* Subcategory rows */
.sub-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sub-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--c);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sub-row:hover {
  border-color: var(--c);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
  transform: translateY(-1px);
}
.sub-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--c-soft);
  color: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sub-text { flex: 1; min-width: 0; }
.sub-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}
.sub-sub {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 1px;
}
.sub-hint {
  display: inline-block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--c-dark);
  background: var(--c-soft);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}
.sub-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-dark);
  background: var(--c-soft);
  min-width: 24px;
  height: 24px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.sub-chev {
  font-size: 18px;
  color: var(--text-tertiary);
  line-height: 1;
}

/* Food & drink filter panel */
.food-filters {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--c);
  border-radius: 14px;
  padding: 10px 12px 12px;
}
.ff-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ff-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-dark);
}
.ff-reset {
  background: none;
  border: none;
  font-size: 11px;
  font-weight: 600;
  color: var(--c);
  cursor: pointer;
}
.ff-label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin: 10px 0 5px;
}
.ff-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ff-chip {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.12s ease;
}
.ff-chip:hover { border-color: var(--c); color: var(--c-dark); }
.ff-chip.active {
  background: var(--c);
  border-color: var(--c);
  color: #ffffff;
  font-weight: 600;
}
.ff-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--c-soft);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}
.ff-seg button {
  border: none;
  background: transparent;
  padding: 6px 4px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--c-dark);
  cursor: pointer;
  transition: all 0.12s ease;
}
.ff-seg button.active {
  background: #ffffff;
  color: var(--c);
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Venue tags (type, live music, extras) */
.meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}
.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: #f4f4f5;
  color: #52525b;
}
.b2c-phone .meta-tag.live {
  background: var(--c-soft);
  color: var(--c-dark);
  font-weight: 600;
}
#b2cProfileContainer > .clean-card:first-child .meta-tag {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
#b2cProfileContainer > .clean-card:first-child .meta-tag.live {
  background: #ffffff;
  color: var(--c-dark);
}

/* TABLE MANAGEMENT (RESTORANI & KAFANE) */
.table-capacity-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.table-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.table-counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #fbfbfa;
  border: 1px solid var(--border-light);
  border-radius: 10px;
}
.table-counter-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-qty {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-qty:hover {
  background: #f4f4f5;
  border-color: #a1a1aa;
}
.live-capacity-bar {
  height: 6px;
  border-radius: 999px;
  background: #e4e4e7;
  overflow: hidden;
  margin-top: 4px;
}
.live-capacity-fill {
  height: 100%;
  background: #10b981;
  border-radius: 999px;
  transition: width 0.3s ease;
}

/* TV HOST & AMBIENT DISPLAY */
.tv-host-card {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}
.tv-table-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.tv-stat-pill {
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 12px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.tv-stat-num {
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tv-stat-label {
  font-size: 10px;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* PLAYROOM DURATION PILLS */
.duration-pick-row {
  display: flex;
  gap: 6px;
}
.duration-pick-pill {
  flex: 1;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.duration-pick-pill.active {
  background: #09090b;
  color: #ffffff;
  border-color: #09090b;
}

/* ============================================================================
   MODERN PRESENTATION LANDING PAGE + APP GATEWAY (#authSplashScreen)
   ============================================================================ */
.landing-wrapper {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #07070a;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(99, 102, 241, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(139, 92, 246, 0.14) 0%, transparent 50%);
  color: #fafafa;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(9, 9, 13, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 24px;
}

.landing-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.landing-nav-links a {
  color: #a1a1aa;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.15s;
}

.landing-nav-links a:hover {
  color: #ffffff;
}

.landing-container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 24px 72px;
  display: flex;
  flex-direction: column;
  gap: 84px;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.landing-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.landing-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.landing-hero-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 14px;
}

.landing-gradient-tagline {
  display: block;
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 800;
  background: linear-gradient(135deg, #a5b4fc 0%, #38bdf8 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 8px;
  min-height: 44px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.landing-hero-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #a1a1aa;
  max-width: 560px;
  margin-bottom: 26px;
}

.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.landing-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}

.landing-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.55);
}

.landing-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #f4f4f5;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.landing-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.landing-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-metric-item strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.landing-metric-item span {
  font-size: 11.5px;
  color: #a1a1aa;
}

.landing-auth-card {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  background: rgba(18, 18, 23, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 24px;
  padding: 26px 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 40px rgba(99, 102, 241, 0.14);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.landing-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.landing-section-tag {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #818cf8;
  margin-bottom: 8px;
}

.landing-section-title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 10px;
}

.landing-section-sub {
  font-size: 14.5px;
  color: #a1a1aa;
  line-height: 1.6;
}

.landing-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.landing-pillar-card {
  background: rgba(24, 24, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s, border-color 0.2s;
}

.landing-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.45);
}

.landing-pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 4px;
}

.landing-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.landing-step-card {
  background: rgba(24, 24, 30, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 24px;
  position: relative;
}

.landing-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}

.landing-b2b-box {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.85) 0%, rgba(6, 78, 59, 0.55) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 26px;
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.landing-b2b-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.landing-b2b-perk {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #e4e4e7;
}

@media (max-width: 960px) {
  .landing-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .landing-auth-card {
    margin: 0 auto;
    max-width: 440px;
  }
  .landing-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .landing-steps-grid {
    grid-template-columns: 1fr;
  }
  .landing-b2b-box {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }
  .landing-nav-links {
    display: none;
  }
}

@media (max-width: 560px) {
  .landing-container {
    padding: 28px 16px 56px;
    gap: 56px;
  }
  .landing-pillars-grid {
    grid-template-columns: 1fr;
  }
  .landing-metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .landing-b2b-perks {
    grid-template-columns: 1fr;
  }
}


