
/* Enhanced Seat Feature Icons */
.seat-cell .seat-feature-icon {
  font-size: 10.5px;
  line-height: 1;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
}

.legend-icon-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--wz-text-body, #334e68);
}

:root[data-theme="dark"] .legend-icon-badge {
  color: var(--wz-muted, #bdcadb);
}


/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  background: var(--wz-text, #0f172a);
  color: var(--wz-bg, #ffffff);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  z-index: 10000;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  left: 12px;
}

/* Carrier Search Box */
.carrier-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--wz-field, rgba(24,40,61,0.6));
  border: 1px solid var(--wz-line, rgba(83,102,127,0.4));
  border-radius: 99px;
  padding: 0 14px 0 34px;
  min-width: 240px;
}

:root[data-theme="light"] .carrier-search-wrapper {
  background: #edf2f7;
  border-color: #cbd2d9;
}

.carrier-search-wrapper .search-icon {
  position: absolute;
  left: 12px;
  font-size: 13px;
  opacity: 0.6;
  pointer-events: none;
}

.carrier-search-wrapper .carrier-search-input {
  height: 34px;
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 12.5px;
  font-weight: 550;
  outline: none;
  width: 100%;
}

.carrier-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--wz-field, rgba(24,40,61,0.7));
  border: 1px solid var(--wz-line, rgba(83,102,127,0.4));
  border-radius: 12px;
}

:root[data-theme="light"] .carrier-select-wrapper {
  background: #ffffff;
  border-color: #cbd2d9;
}

.carrier-select-wrapper .carrier-dropdown-select {
  width: 100%;
  padding-left: 40px;
}

/* Wayzuno Airline Seat Intelligence & Interactive Seat Map Styles */

:root {
  --wz-bg: #ffffff;
  --wz-bg-soft: #f8fafc;
  --wz-bg-inset: #f1f5f9;
  --wz-border: #e2e8f0;
  --wz-border-strong: #cbd5e1;
  --wz-text: #0f172a;
  --wz-text-muted: #64748b;
  --wz-text-body: #334155;
  --wz-accent: #0284c7;
  --wz-metal: #cbd5e1;
  --wz-metal-strong: #94a3b8;
  --wz-best: #10b981;
  --wz-caution: #f59e0b;
  --wz-avoid: #ef4444;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --wz-bg: #111827;
    --wz-bg-soft: #1a2333;
    --wz-bg-inset: #1e293b;
    --wz-border: #2d3b52;
    --wz-border-strong: #3d4d68;
    --wz-text: #f1f5f9;
    --wz-text-muted: #94a3b8;
    --wz-text-body: #cbd5e1;
    --wz-accent: #38bdf8;
    --wz-metal: #475569;
    --wz-metal-strong: #64748b;
  }
}

:root[data-theme="dark"] {
  --wz-bg: #111827;
  --wz-bg-soft: #1a2333;
  --wz-bg-inset: #1e293b;
  --wz-border: #2d3b52;
  --wz-border-strong: #3d4d68;
  --wz-text: #f1f5f9;
  --wz-text-muted: #94a3b8;
  --wz-text-body: #cbd5e1;
  --wz-accent: #38bdf8;
  --wz-metal: #475569;
  --wz-metal-strong: #64748b;
}

.seat-map-wrapper,
.wayzuno-seat-map-shell {
  max-width: 960px;
  margin: 0 auto;
  font-family: inherit;
  color: var(--wz-text-body);
}

/* Header & Controls */
.seat-map-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  background: var(--wz-bg);
  border: 1px solid var(--wz-border);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  margin-bottom: 24px;
}

.seat-map-header h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--wz-text);
}

.subvariant-meta {
  font-size: 13px;
  color: var(--wz-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.subvariant-meta .carrier-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--wz-text);
  background: var(--wz-bg-inset);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
}

/* Equipment Swap Consistency Scorecard */
.consistency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}

.consistency-badge.high {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.consistency-badge.medium {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.consistency-badge.low {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.consistency-badge strong {
  font-weight: 700;
  font-size: 14px;
}

.seat-map-badge-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.offline-data-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--wz-bg-inset);
  color: var(--wz-text-body);
  border: 1px solid var(--wz-border);
}

.seat-map-unavailable {
  padding: 48px 24px;
  text-align: center;
  color: var(--wz-text-muted);
  border: 1px dashed var(--wz-border-strong);
  border-radius: 16px;
  background: var(--wz-bg-soft);
}

.seat-map-unavailable h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--wz-text);
}

.seat-map-unavailable p {
  margin: 0;
  font-size: 14px;
}

.seat-grid-empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--wz-text-muted);
  font-size: 13px;
}

/* Amenity Bar */
.cabin-amenities-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--wz-bg-soft);
  border: 1px solid var(--wz-border);
  font-size: 12px;
  font-weight: 600;
  color: var(--wz-text-body);
}

.amenity-chip .chip-icon {
  font-size: 13px;
}

.amenity-chip.wifi-chip {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
  font-weight: 650;
}

.amenity-chip.wifi-chip.no-wifi {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

/* 4-Cabin Filter Tabs */
.cabin-filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.cabin-tab {
  background: var(--wz-bg);
  border: 1px solid var(--wz-border-strong);
  color: var(--wz-text-body);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.cabin-tab:hover {
  background: var(--wz-bg-inset);
  border-color: var(--wz-metal-strong);
}

.cabin-tab.active {
  background: var(--wz-accent);
  color: #ffffff;
  border-color: var(--wz-accent);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

/* Cabin Dimensions & Physical Intelligence Strip */
.cabin-dimensions-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--wz-bg-soft);
  border: 1px solid var(--wz-border);
  border-radius: 10px;
  align-items: center;
}

.dimension-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--wz-text-body);
}

.dimension-item strong {
  color: var(--wz-text);
  font-weight: 700;
}

.dimension-item .dim-icon {
  font-size: 14px;
}

/* Seat Photo Cards & Gallery */
.seat-photo-gallery {
  margin-top: 20px;
  border-top: 1px solid var(--wz-border);
  padding-top: 16px;
}

.seat-photo-gallery h4 {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wz-text-muted);
}

.seat-photo-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--wz-border);
  background: var(--wz-bg-soft);
  margin-bottom: 12px;
}

.seat-photo-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.seat-photo-meta {
  padding: 8px 12px;
  font-size: 11px;
  color: var(--wz-text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--wz-bg);
}

.verified-photo-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #a7f3d0;
}

/* Seat Filter Tabs */
.seat-filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--wz-border);
}

.seat-filter-tab {
  background: var(--wz-bg-inset);
  border: 1px solid transparent;
  color: var(--wz-text-body);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.seat-filter-tab:hover {
  background: var(--wz-border);
  color: var(--wz-text);
}

.seat-filter-tab.active {
  background: var(--wz-text);
  color: var(--wz-bg);
  border-color: var(--wz-text);
}

/* Main Layout Grid */
.seat-map-layout {
  display: grid;
  grid-template-columns: minmax(320px, 580px) 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 860px) {
  .seat-map-layout {
    grid-template-columns: 1fr;
  }
}

/* Fuselage Canvas */
.fuselage-container {
  position: relative;
  background: var(--wz-bg);
  border: 2px solid var(--wz-border-strong);
  border-radius: 64px 64px 32px 32px;
  padding: 64px 24px 56px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06),
    inset 0 0 0 1px rgba(148, 163, 184, 0.08);
  margin: 34px auto 44px;
  width: 100%;
  max-width: 540px;
}

/* Fuselage wall: mapped window-cutout row running the length of the cabin */
.fuselage-window-row {
  position: absolute;
  top: 40px;
  left: 24px;
  right: 24px;
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--wz-metal-strong) 0px,
    var(--wz-metal-strong) 8px,
    transparent 8px,
    transparent 20px
  );
  opacity: 0.45;
  border-radius: 3px;
  pointer-events: none;
}

/* Aircraft Nose Cone, Radome & Cockpit Windshield */
.fuselage-nose {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 40px;
  background: linear-gradient(180deg, var(--wz-bg-inset) 0%, var(--wz-metal) 100%);
  border-radius: 80px 80px 0 0 / 40px 40px 0 0;
  border: 2px solid var(--wz-border-strong);
  border-bottom: none;
  z-index: 2;
}

.fuselage-nose .radome {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 12px;
  background: var(--wz-metal);
  border-radius: 20px 20px 0 0;
  border: 1px solid var(--wz-border-strong);
  border-bottom: none;
}

.fuselage-nose .pitot-tube {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 8px;
  background: var(--wz-metal-strong);
}

.cockpit-windshield {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 16px;
}

.cockpit-window {
  width: 24px;
  height: 10px;
  background: linear-gradient(160deg, #7dd3fc, #0ea5e9);
  border-radius: 3px 3px 8px 8px;
  border: 1px solid var(--wz-border-strong);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}

/* Emergency Exit Door Markers */
.exit-door-marker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 5px;
  border-radius: 4px;
  background: #dc2626;
  color: #ffffff;
  z-index: 1;
  pointer-events: none;
}

.exit-door-marker .exit-arrow {
  font-size: 10px;
  line-height: 1;
}

.exit-door-l1, .exit-door-l2, .exit-door-l3, .exit-door-l4 {
  left: 4px;
}

.exit-door-r1, .exit-door-r2, .exit-door-r3, .exit-door-r4 {
  right: 4px;
}

.exit-door-l1, .exit-door-r1 {
  top: 44px;
}

/* Galley / Lavatory floorplan icons + Exit Separators */
.cabin-landmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  margin: 12px 0;
  background: var(--wz-bg-inset);
  border: 1px dashed var(--wz-border-strong);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wz-text-muted);
  position: relative;
}

.cabin-landmark.cabin-divider {
  position: relative;
}

.floorplan-icon {
  font-size: 12px;
  opacity: 0.8;
}

.floorplan-icon.galley-icon,
.floorplan-icon.divider-icon {
  color: var(--wz-metal-strong);
}

.floorplan-icon.lav-icon {
  filter: grayscale(1);
  opacity: 0.6;
}

.cabin-divider .exit-door-marker {
  position: static;
  display: inline-flex;
}

/* Bassinet-capable bulkhead row indicator */
.bassinet-bulkhead-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--wz-text-muted);
  background: var(--wz-bg-inset);
  border: 1px dashed var(--wz-border-strong);
  border-radius: 6px;
  padding: 3px 8px;
  margin: 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Class-divider partition with curtain effect */
.cabin-divider {
  position: relative;
  background: repeating-linear-gradient(
    90deg,
    var(--wz-bg-soft) 0px,
    var(--wz-bg-soft) 3px,
    var(--wz-bg-inset) 3px,
    var(--wz-bg-inset) 6px
  );
  border: 1px dashed var(--wz-border-strong);
  color: var(--wz-text-body);
  padding: 8px 12px;
  margin: 14px 0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Seat Grid */
.seat-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.row-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--wz-metal-strong);
  width: 24px;
  text-align: center;
  user-select: none;
}

.seat-cell {
  position: relative;
  width: 44px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border-radius: 8px 8px 4px 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  user-select: none;
  box-sizing: border-box;
  overflow: visible;
  padding-bottom: 2px;
}

.seat-cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  z-index: 2;
}

.seat-cell:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.seat-cell.selected {
  outline: 3px solid var(--wz-text);
  outline-offset: 2px;
}

.seat-cell .seat-letter {
  font-size: 10px;
  position: relative;
  z-index: 2;
}

.seat-cell .seat-feature-icon {
  font-size: 8px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

/* Aisle spacer */
.seat-aisle {
  width: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--wz-border-strong);
  font-size: 9px;
  user-select: none;
}

/* Condition Classes */
/* Green / Prime / Best Seat */
.seat-cell.seat-best {
  background: #10b981;
  color: #ffffff;
  border: 1px solid #059669;
}

/* Amber / Caution Seat */
.seat-cell.seat-caution {
  background: #f59e0b;
  color: #ffffff;
  border: 1px solid #d97706;
}

/* Red / Avoid Seat */
.seat-cell.seat-avoid {
  background: repeating-linear-gradient(
    -45deg,
    #ef4444,
    #ef4444 6px,
    #dc2626 6px,
    #dc2626 12px
  );
  color: #ffffff;
  border: 1px solid #b91c1c;
}

/* Dimmed when filtered out */
.seat-cell.filtered-out {
  opacity: 0.22;
  filter: grayscale(80%);
  cursor: default;
}

/* ==========================================================================
   High-Fidelity Seat Silhouettes
   ========================================================================== */
.seat-silhouette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Enclosed Suite (First/Business): shell perimeter, sliding door, side
   console, lie-flat bed outline, IFE screen, footwell ottoman */
.seat-cell.seat-shape-suite {
  height: 56px;
  border-radius: 6px 6px 3px 10px;
  border-width: 2px;
}

.suite-silhouette .suite-door {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 4px;
  height: 22px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 2px;
}

.suite-silhouette .suite-console {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 6px;
  height: 30px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 2px;
}

.suite-silhouette .suite-bed {
  position: absolute;
  bottom: 14px;
  left: 8px;
  right: 12px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
}

.suite-silhouette .suite-ife {
  position: absolute;
  top: 6px;
  left: 12px;
  right: 14px;
  height: 8px;
  background: rgba(15, 23, 42, 0.25);
  border-radius: 2px;
}

.suite-silhouette .suite-ottoman {
  position: absolute;
  bottom: 3px;
  left: 8px;
  right: 12px;
  height: 6px;
  background: rgba(255, 255, 255, 0.32);
  border-radius: 3px;
}

.seat-cell.seat-herringbone .suite-silhouette {
  transform: skewX(-8deg);
}

.seat-cell.seat-throne .suite-console {
  width: 8px;
  background: rgba(255, 215, 0, 0.35);
}

/* Premium Economy: wider frame, leg-rest indicator, center console */
.seat-cell.seat-shape-premium {
  width: 50px;
  height: 52px;
  border-radius: 10px 10px 4px 4px;
}

.premium-silhouette .pe-headrest {
  position: absolute;
  top: 3px;
  left: 10px;
  right: 10px;
  height: 6px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 4px 4px 0 0;
}

.premium-silhouette .pe-console {
  position: absolute;
  top: 4px;
  right: 2px;
  width: 4px;
  height: 24px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
}

.premium-silhouette .pe-legrest {
  position: absolute;
  bottom: 3px;
  left: 10px;
  right: 10px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

/* Economy: curved seatback, headrest wings, tray table outline */
.seat-cell.seat-shape-economy {
  border-radius: 40% 40% 4px 4px / 16px 16px 4px 4px;
}

.economy-silhouette .economy-headrest-wing {
  position: absolute;
  top: 3px;
  width: 6px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.economy-silhouette .economy-headrest-wing.left {
  left: 2px;
}

.economy-silhouette .economy-headrest-wing.right {
  right: 2px;
}

.economy-silhouette .economy-tray {
  position: absolute;
  bottom: 3px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 1px;
}

/* Pitch-based color coding for economy seats (dimensional intelligence) */
.seat-cell.seat-shape-economy[data-cabin="economy"] {
  border-bottom-width: 3px;
}

/* Side Inspection Details Panel */
.seat-details-panel {
  position: sticky;
  top: 24px;
  background: var(--wz-bg);
  border: 1px solid var(--wz-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  color: var(--wz-text-body);
}

.seat-details-panel h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: var(--wz-text);
}

.seat-info-section {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--wz-border);
}

.seat-info-section h4 {
  margin: 0 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wz-text-muted);
}

.seat-info-section .seat-attributes-list {
  margin-bottom: 4px;
}

.seat-details-panel .seat-type-label {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.seat-type-label.best {
  background: #d1fae5;
  color: #065f46;
}

.seat-type-label.caution {
  background: #fef3c7;
  color: #92400e;
}

.seat-type-label.avoid {
  background: #fee2e2;
  color: #991b1b;
}

.seat-attributes-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.seat-attributes-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--wz-border);
  color: var(--wz-text-body);
}

.seat-attributes-list li strong {
  color: var(--wz-text);
}

.seat-attributes-list li .attr-check {
  color: #10b981;
  font-weight: 700;
}

.seat-attributes-list li .attr-warn {
  color: #f59e0b;
  font-weight: 700;
}

/* Legend */
.seat-legend {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--wz-border);
}

.seat-legend h4 {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wz-text-muted);
}

.legend-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--wz-text-body);
}

.legend-swatch {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
}

.legend-swatch.best {
  background: #10b981;
}

.legend-swatch.caution {
  background: #f59e0b;
}

.legend-swatch.avoid {
  background: repeating-linear-gradient(-45deg, #ef4444, #ef4444 3px, #dc2626 3px, #dc2626 6px);
}

/* Flight Card Integration & Modal Styles */
.btn-view-seat-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wz-text);
  background: var(--wz-bg-inset);
  border: 1px solid var(--wz-border-strong);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-view-seat-map:hover {
  background: var(--wz-border);
  border-color: var(--wz-metal-strong);
  transform: translateY(-1px);
}

dialog.seat-map-dialog {
  padding: 0;
  border: none;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  max-width: 1000px;
  width: 94vw;
  max-height: 90vh;
  background: var(--wz-bg);
  overflow: hidden;
  margin: auto;
}

dialog.seat-map-dialog::backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.seat-map-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--wz-bg-soft);
  border-bottom: 1px solid var(--wz-border);
}

.seat-map-dialog-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.seat-map-dialog-header-title strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--wz-text);
}

.seat-map-dialog-header-title a {
  font-size: 12px;
  font-weight: 600;
  color: var(--wz-accent);
  text-decoration: none;
  padding: 4px 10px;
  background: #e0f2fe;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.seat-map-dialog-header-title a:hover {
  background: #bae6fd;
}

.seat-map-dialog-close {
  background: none;
  border: none;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  color: var(--wz-text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.seat-map-dialog-close:hover {
  background: var(--wz-border);
  color: var(--wz-text);
}

.seat-map-dialog-body {
  padding: 24px;
  overflow-y: auto;
  max-height: calc(90vh - 70px);
}

/* ==========================================================================
   Curated Best Seats Spotlight Bar (Cabin-Aware Recommendations)
   ========================================================================== */
.best-seats-spotlight {
  background: var(--wz-bg);
  border: 1px solid var(--wz-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.spotlight-header {
  margin-bottom: 16px;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wz-accent);
  background: #e0f2fe;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.spotlight-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--wz-text);
}

.spotlight-subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--wz-text-muted);
  line-height: 1.5;
}

.spotlight-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.spotlight-card {
  position: relative;
  background: var(--wz-bg-soft);
  border: 1px solid var(--wz-border);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spotlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border-color: var(--wz-accent);
}

.spotlight-card:focus {
  outline: 2px solid #0284c7;
  outline-offset: 2px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.card-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.spotlight-card.top_pick .card-category-pill {
  background: #fef9c3;
  color: #854d0e;
  border-color: #fde047;
}

.spotlight-card.best_solo .card-category-pill {
  background: #ede9fe;
  color: #5b21b6;
  border-color: #ddd6fe;
}

.spotlight-card.best_couples .card-category-pill {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #bae6fd;
}

.spotlight-card.best_legroom .card-category-pill {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.spotlight-card.best_window .card-category-pill {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}

.pick-pitch-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--wz-text-body);
  background: var(--wz-bg);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--wz-border-strong);
}

.card-seat-number {
  font-size: 18px;
  font-weight: 800;
  color: var(--wz-text);
  margin-bottom: 4px;
}

.card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--wz-text-body);
  margin-bottom: 6px;
}

.card-reason {
  font-size: 12px;
  line-height: 1.45;
  color: var(--wz-text-muted);
  margin-bottom: 12px;
  flex: 1;
}

.card-action {
  font-size: 11px;
  font-weight: 700;
  color: var(--wz-accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Avoid Card Variants */
.spotlight-card.avoid-card {
  background: #fff5f5;
  border-color: #fecaca;
}

.spotlight-card.avoid-card:hover {
  border-color: #ef4444;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.12);
}

.avoid-pill {
  background: #fee2e2 !important;
  color: #991b1b !important;
  border-color: #fca5a5 !important;
}

.avoid-seat-num {
  color: #b91c1c;
}

.avoid-title {
  color: #991b1b;
}

.avoid-action {
  color: #dc2626;
}

/* ==========================================================================
   Multi-Cabin Fuselage Architecture & Continuous Nose-to-Tail Views
   ========================================================================== */
.cabin-section-block {
  margin-bottom: 24px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cabin-section-block.cabin-dimmed {
  opacity: 0.38;
  filter: grayscale(0.2);
}

.cabin-section-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  margin: 16px 0 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}

.cabin-section-header.first {
  background: #faf5ff;
  border: 1px solid #e9d5ff;
  color: #581c87;
}

.cabin-section-header.business {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
}

.cabin-section-header.premium_economy {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  color: #0f766e;
}

.cabin-section-header.economy {
  background: var(--wz-bg-soft);
  border: 1px solid var(--wz-border);
  color: var(--wz-text-body);
}

.cabin-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
}

.cabin-badge.first { background: #d8b4fe; color: #3b0764; }
.cabin-badge.business { background: #7dd3fc; color: #082f49; }
.cabin-badge.premium_economy { background: #5eead4; color: #134e4a; }
.cabin-badge.economy { background: #cbd5e1; color: var(--wz-text); }

.cabin-name-text {
  font-weight: 700;
  color: var(--wz-text);
}

.cabin-pitch-pill,
.cabin-bed-pill {
  font-size: 11px;
  font-weight: 600;
  background: var(--wz-bg);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Wing Transition Indicators */
.wing-landmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px -32px;
  position: relative;
  z-index: 1;
}

.wing-left,
.wing-right {
  flex: 1;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--wz-metal-strong), var(--wz-metal-strong) 6px, transparent 6px, transparent 12px);
  position: relative;
}

.engine-nacelle {
  position: absolute;
  top: -6px;
  width: 20px;
  height: 14px;
  background: linear-gradient(180deg, var(--wz-bg-inset), var(--wz-metal));
  border: 1px solid var(--wz-border-strong);
  border-radius: 8px;
}

.wing-left .engine-nacelle {
  left: 20%;
}

.wing-right .engine-nacelle {
  right: 20%;
}

.wing-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wz-text-muted);
  background: var(--wz-bg-inset);
  border: 1px solid var(--wz-border-strong);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Fuselage Aerodynamic Tail Cone: horizontal stabilizer + APU exhaust */
.fuselage-tail {
  position: relative;
  width: 130px;
  height: 44px;
  margin: 16px auto -44px;
  background: linear-gradient(180deg, var(--wz-bg-inset) 0%, var(--wz-metal) 100%);
  clip-path: polygon(10% 0%, 90% 0%, 50% 100%);
  border-radius: 0 0 8px 8px;
}

.fuselage-tail .horizontal-stabilizer {
  position: absolute;
  top: 6px;
  left: -18px;
  right: -18px;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--wz-metal-strong), var(--wz-metal-strong) 6px, transparent 6px, transparent 12px);
  clip-path: polygon(0% 50%, 15% 0%, 85% 0%, 100% 50%, 85% 100%, 15% 100%);
}

.fuselage-tail .apu-exhaust {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 6px;
  background: var(--wz-text-muted);
  border-radius: 0 0 6px 6px;
}

/* Pulse Highlight for Click-to-Jump from Spotlight Cards */
@keyframes seatPulseHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.8);
    transform: scale(1.05);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(2, 132, 199, 0);
    transform: scale(1.12);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
    transform: scale(1.05);
  }
}

.seat-cell.pulse-highlight {
  animation: seatPulseHighlight 1.2s ease-in-out infinite;
  z-index: 20 !important;
  outline: 3px solid #0284c7 !important;
}

/* ==========================================================================
   Airline Intelligence Dossier & Modern Explorer UI
   ========================================================================== */

/* Top Stats Banner */
.seats-stats-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-pill {
  background: var(--wz-bg);
  border: 1px solid var(--wz-border);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stat-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.stat-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--wz-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  color: var(--wz-text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* Alliance Quick Filter Strip */
.alliance-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.alliance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wz-bg-soft);
  border: 1px solid var(--wz-border);
  color: var(--wz-text-body);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.alliance-pill:hover {
  background: var(--wz-bg-inset);
  color: var(--wz-text);
  border-color: var(--wz-border-strong);
}

.alliance-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: var(--wz-text);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

/* Carrier Search Bar */
.carrier-search-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.carrier-search-input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  background: var(--wz-bg);
  border: 1px solid var(--wz-border-strong);
  border-radius: 12px;
  font-size: 14px;
  color: var(--wz-text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.carrier-search-input:focus {
  border-color: var(--wz-accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.carrier-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--wz-metal-strong);
  pointer-events: none;
}

/* Airline Intelligence Dossier Card */
.airline-dossier-card {
  background: var(--wz-bg);
  border: 1px solid var(--wz-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  animation: fadeIn 0.2s ease-out;
}

.dossier-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wz-border);
}

.dossier-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dossier-iata-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #0f172a;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  border-radius: 12px;
  letter-spacing: -0.02em;
}

.dossier-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--wz-text);
  letter-spacing: -0.02em;
}

.dossier-country {
  display: block;
  font-size: 13px;
  color: var(--wz-text-muted);
  margin-top: 2px;
}

.dossier-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.alliance-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.alliance-star_alliance {
  background: var(--wz-bg-soft);
  color: var(--wz-text);
  border: 1px solid var(--wz-border-strong);
}

.alliance-oneworld {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.alliance-skyteam {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.alliance-independent,
.alliance-low_cost {
  background: var(--wz-bg-soft);
  color: var(--wz-text-body);
  border: 1px solid var(--wz-border);
}

.consistency-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.consistency-tag.risk-low {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.consistency-tag.risk-medium {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* Dossier 4-Column Grid */
.dossier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .dossier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .dossier-grid {
    grid-template-columns: 1fr;
  }
}

.dossier-box {
  background: var(--wz-bg-soft);
  border: 1px solid var(--wz-border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.dossier-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--wz-text-body);
  margin-bottom: 12px;
}

.dossier-box-title svg {
  color: var(--wz-accent);
}

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

.hub-pill-tag {
  display: inline-block;
  background: var(--wz-bg);
  border: 1px solid var(--wz-border-strong);
  color: var(--wz-text);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.dossier-val-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.dossier-val-main {
  font-size: 13px;
  font-weight: 700;
  color: var(--wz-text);
}

.wifi-speed-pill {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.baggage-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.baggage-pill.pill-free {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.baggage-pill.pill-fee {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.dossier-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--wz-text-muted);
}

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

.flagship-product-tag {
  display: inline-block;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Visual Aircraft Fleet Selector Cards */
.aircraft-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.aircraft-card {
  background: var(--wz-bg);
  border: 1px solid var(--wz-border-strong);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.aircraft-card:hover {
  border-color: var(--wz-accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.aircraft-card.selected {
  background: #f0f9ff;
  border-color: var(--wz-accent);
  box-shadow: 0 0 0 2px #0284c7;
}

.aircraft-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.aircraft-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--wz-text);
  margin: 0;
}

.aircraft-card-subtitle {
  font-size: 12px;
  color: var(--wz-text-muted);
  margin: 0 0 8px;
  line-height: 1.35;
}

.aircraft-card-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.cabin-tag-mini {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.cabin-tag-mini.cabin-first {
  background: #fdf4ff;
  color: #a21caf;
  border: 1px solid #f0abfc;
}

.cabin-tag-mini.cabin-business {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}

.cabin-tag-mini.cabin-premium_economy {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.cabin-tag-mini.cabin-economy {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.cabin-tag-mini.cabin-all {
  background: #0f172a;
  color: #ffffff;
}




/* ============================================================================
   SEATS PAGE OVERHAUL: GLASSMORPHIIC LAYOUT, CONTROLS & MODERN VISUAL HIERARCHY
   ============================================================================ */

.seats-page-shell {
  min-height: 100vh;
  background: var(--wz-ocean, #070b14);
  color: var(--wz-text, #f4f8ff);
  font-family: Geist, Inter, system-ui, -apple-system, sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
}

:root[data-theme="light"] .seats-page-shell {
  background: #f4f7fa;
  color: #102238;
}

.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: var(--wz-surface, rgba(16,27,43,0.95));
  border-bottom: 1px solid var(--wz-line, rgba(83,102,127,0.4));
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
}

:root[data-theme="light"] .site-header {
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid #d9e2ec;
}

.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.brand > span:first-child {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--wz-teal, #81e8d3);
  color: #071d25;
  border-radius: 9px;
  font-size: 16px;
}

.brand-dot {
  color: var(--wz-teal, #81e8d3);
  margin-left: -6px;
}

.site-header nav {
  display: flex;
  gap: 28px;
  height: 100%;
  align-items: center;
}

.site-header nav a {
  color: var(--wz-muted, #bdcadb);
  height: 100%;
  display: grid;
  place-items: center;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s;
}

:root[data-theme="light"] .site-header nav a {
  color: #486581;
}

.site-header nav a[aria-current="page"], .site-header nav a:hover {
  color: var(--wz-text, #f4f8ff);
  border-color: var(--wz-teal, #81e8d3);
}

:root[data-theme="light"] .site-header nav a[aria-current="page"] {
  color: #102238;
  border-color: #075949;
}

.icon-button {
  min-width: 42px;
  min-height: 42px;
  border-radius: 12px;
  font-size: 20px;
  background: var(--wz-field, rgba(24,40,61,0.6));
  color: inherit;
  border: 1px solid var(--wz-line, rgba(83,102,127,0.4));
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s;
}

.icon-button:hover {
  background: var(--wz-line, rgba(83,102,127,0.6));
}

.seats-main-layout {
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Glassmorphic Control Bar */
.seats-control-bar {
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.control-bar-primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.control-sublabel {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wz-muted, #bdcadb);
  margin-bottom: 6px;
}

:root[data-theme="light"] .control-sublabel {
  color: #627d98;
}

.carrier-input-wrapper, .aircraft-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--wz-field, rgba(24,40,61,0.7));
  border: 1px solid var(--wz-line, rgba(83,102,127,0.4));
  border-radius: 12px;
}

:root[data-theme="light"] .carrier-input-wrapper, :root[data-theme="light"] .aircraft-select-wrapper {
  background: #ffffff;
  border-color: #cbd2d9;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--wz-teal, #81e8d3);
  font-size: 16px;
  pointer-events: none;
}

.carrier-search-input {
  flex: 1;
  height: 48px;
  padding: 0 12px 0 40px;
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 13.5px;
  font-weight: 550;
  outline: none;
}

.carrier-dropdown-select, .aircraft-dropdown-select {
  height: 48px;
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 0 14px;
  outline: none;
  cursor: pointer;
}

.aircraft-dropdown-select {
  width: 100%;
  padding-left: 40px;
}

.carrier-dropdown-select option, .aircraft-dropdown-select option {
  background: var(--wz-surface, #101b2b);
  color: var(--wz-text, #f4f8ff);
}

:root[data-theme="light"] .carrier-dropdown-select option, :root[data-theme="light"] .aircraft-dropdown-select option {
  background: #ffffff;
  color: #102238;
}

.control-bar-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--wz-line, rgba(83,102,127,0.3));
}

/* Alliance Pills */
.alliance-filter-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.alliance-pill {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 99px;
  border: 1px solid var(--wz-line, rgba(83,102,127,0.4));
  background: var(--wz-field, rgba(24,40,61,0.5));
  color: var(--wz-muted, #bdcadb);
  cursor: pointer;
  transition: all 0.15s;
}

:root[data-theme="light"] .alliance-pill {
  background: #edf2f7;
  color: #486581;
  border-color: #cbd2d9;
}

.alliance-pill.active, .alliance-pill:hover {
  background: var(--wz-teal, #81e8d3);
  color: #071d25;
  border-color: var(--wz-teal, #81e8d3);
}

/* Cabin Spotlight Tabs */
.cabin-filter-tabs {
  display: flex;
  gap: 4px;
  background: var(--wz-field, rgba(24,40,61,0.6));
  padding: 4px;
  border-radius: 99px;
  border: 1px solid var(--wz-line, rgba(83,102,127,0.4));
}

:root[data-theme="light"] .cabin-filter-tabs {
  background: #edf2f7;
  border-color: #cbd2d9;
}

.cabin-tab {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 99px;
  color: var(--wz-muted, #bdcadb);
  border: 0;
  cursor: pointer;
  transition: all 0.15s;
}

:root[data-theme="light"] .cabin-tab {
  color: #486581;
}

.cabin-tab.active {
  background: var(--wz-blue, #9ac5ff);
  color: #071d25;
  font-weight: 700;
}

:root[data-theme="light"] .cabin-tab.active {
  background: #164c86;
  color: #ffffff;
}

/* Aircraft Fleet Quick Cards Grid */
.aircraft-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.aircraft-card {
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--wz-surface, rgba(16,27,43,0.85));
  border: 1px solid var(--wz-line, rgba(83,102,127,0.35));
  cursor: pointer;
  transition: all 0.15s;
}

:root[data-theme="light"] .aircraft-card {
  background: #ffffff;
  border-color: #d9e2ec;
}

.aircraft-card.selected, .aircraft-card:hover {
  border-color: var(--wz-teal, #81e8d3);
  box-shadow: 0 4px 16px rgba(129,232,211,0.15);
  background: var(--wz-field, rgba(24,40,61,0.95));
}

:root[data-theme="light"] .aircraft-card.selected {
  border-color: #075949;
  background: #f0fdf4;
}

.card-aircraft-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--wz-text, #f4f8ff);
  margin-bottom: 2px;
}

:root[data-theme="light"] .card-aircraft-name {
  color: #102238;
}

.card-aircraft-sub {
  font-size: 11px;
  color: var(--wz-muted, #bdcadb);
  margin-bottom: 8px;
}

:root[data-theme="light"] .card-aircraft-sub {
  color: #627d98;
}

.card-cabins-strip {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.cabin-badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--wz-field, rgba(24,40,61,0.7));
  color: var(--wz-muted, #bdcadb);
}

.cabin-badge.cabin-first { background: rgba(245,158,11,0.2); color: #fbbf24; }
.cabin-badge.cabin-business { background: rgba(129,232,211,0.2); color: var(--wz-teal, #81e8d3); }
.cabin-badge.cabin-premium_economy { background: rgba(154,197,255,0.2); color: var(--wz-blue, #9ac5ff); }
.cabin-badge.cabin-economy { background: rgba(189,202,219,0.2); color: var(--wz-muted, #bdcadb); }

/* Main Workspace: Fuselage + Floating Tools + Side Inspector */
.seats-workspace-container {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  position: relative;
  align-items: start;
}

.seats-viewport-wrapper {
  position: relative;
  background: var(--wz-surface, rgba(16,27,43,0.75));
  border: 1px solid var(--wz-line, rgba(83,102,127,0.35));
  border-radius: 20px;
  padding: 32px 16px;
  overflow: auto;
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

:root[data-theme="light"] .seats-viewport-wrapper {
  background: #ffffff;
  border-color: #d9e2ec;
}

.map-tools {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  background: var(--wz-surface, rgba(16,27,43,0.92));
  border: 1px solid var(--wz-line, rgba(83,102,127,0.4));
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
  z-index: 10;
  backdrop-filter: blur(16px);
}

:root[data-theme="light"] .map-tools {
  background: rgba(255,255,255,0.95);
  border-color: #cbd2d9;
}

.map-tools button {
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  color: var(--wz-text, #f4f8ff);
  background: transparent;
  border: 0;
  cursor: pointer;
}

:root[data-theme="light"] .map-tools button {
  color: #102238;
}

.map-tools button:hover {
  background: var(--wz-field, rgba(24,40,61,0.6));
}

.map-legend {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 12px;
  background: var(--wz-surface, rgba(16,27,43,0.92));
  border: 1px solid var(--wz-line, rgba(83,102,127,0.4));
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--wz-muted, #bdcadb);
  z-index: 10;
  backdrop-filter: blur(16px);
}

:root[data-theme="light"] .map-legend {
  background: rgba(255,255,255,0.95);
  color: #486581;
  border-color: #cbd2d9;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}

.legend-dot.best { background: #10b981; }
.legend-dot.caution { background: #f59e0b; }
.legend-dot.avoid { background: #ef4444; }
.legend-dot.exit { background: var(--wz-teal, #81e8d3); }

/* Side Inspector Drawer */
.seat-inspector-drawer {
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.inspector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 750;
  color: var(--wz-muted, #bdcadb);
}

/* Stats Banner & Editorial */
.seats-stats-banner {
  border-radius: 18px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--wz-teal, #81e8d3);
  letter-spacing: -0.5px;
}

:root[data-theme="light"] .stat-num {
  color: #075949;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--wz-muted, #bdcadb);
  margin-top: 2px;
}

.seats-editorial-card {
  border-radius: 18px;
  padding: 24px;
}

.seats-editorial-card h2 {
  font-size: 18px;
  font-weight: 750;
  margin: 0 0 10px;
}

.seats-editorial-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--wz-muted, #bdcadb);
  margin: 0;
}

:root[data-theme="light"] .seats-editorial-card p {
  color: #486581;
}

.site-footer {
  border-top: 1px solid var(--wz-line, rgba(83,102,127,0.3));
  padding: 32px 24px;
  background: var(--wz-surface, rgba(16,27,43,0.95));
}

:root[data-theme="light"] .site-footer {
  background: #ffffff;
  border-color: #d9e2ec;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--wz-muted, #bdcadb);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--wz-text, #f4f8ff);
}

@media (max-width: 1024px) {
  .seats-workspace-container {
    grid-template-columns: 1fr;
  }
  .control-bar-primary {
    grid-template-columns: 1fr;
  }
  .seats-stats-banner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0 16px;
    height: 60px;
  }
  .site-header nav {
    gap: 14px;
    font-size: 12px;
  }
  .seats-main-layout {
    padding: 12px 12px 48px;
  }
  .map-legend {
    display: none;
  }
}
