.lopa-shell {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  overflow: hidden;
}

.lopa-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem;
  border-bottom: 1px solid #dbe4ef;
  background: #ffffff;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lopa-tabs::-webkit-scrollbar {
  display: none;
}

.lopa-tab {
  border: 1px solid #cbd5e1;
  background: #eef2f7;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  flex: 0 0 auto;
  white-space: nowrap;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lopa-tab.is-active {
  background: #f59e0b;
  border-color: #d97706;
  color: #111827;
}

.lopa-pane {
  display: none;
  padding: 1rem;
  background: #fff;
  border-top: 1px solid #dbe4ef;
}

.lopa-pane.is-active {
  display: block;
}

.lopa-pane-header {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.lopa-pane-header > p {
  overflow-wrap: anywhere;
}

.lopa-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.lopa-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #334155;
}

.lopa-legend-item::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid #64748b;
  background: #fff;
}

.lopa-legend-item[data-seat-status="available"]::before {
  background: #ffffff;
}

.lopa-legend-item[data-seat-status="selected"]::before {
  background: #f59e0b;
  border-color: #b45309;
}

.lopa-legend-item[data-seat-status="occupied"]::before {
  background: #cbd5e1;
  border-color: #94a3b8;
}

.lopa-legend-item[data-seat-status="blocked"]::before {
  background: #e2e8f0;
  border-color: #64748b;
}

.lopa-stage {
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 0.9rem;
}

.lopa-fuselage {
  margin: 0 auto;
  width: min(720px, 100%);
}

.lopa-row {
  display: grid;
  grid-template-columns: 40px 1fr 52px 1fr;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.2rem;
  border-bottom: 1px dashed #e2e8f0;
}

.lopa-row:last-child {
  border-bottom: none;
}

.lopa-row-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  text-align: center;
}

.lopa-col {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  min-height: 34px;
}

.lopa-aisle {
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lopa-seat {
  min-width: 40px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid #94a3b8;
  background: #fff;
  color: #0f172a;
  font-size: 0.67rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.35rem;
}

.lopa-seat[data-seat-status="available"] {
  background: #ffffff;
}

.lopa-seat[data-seat-status="selected"] {
  background: #f59e0b;
  border-color: #b45309;
  color: #111827;
}

.lopa-seat[data-seat-status="occupied"] {
  background: #cbd5e1;
  border-color: #94a3b8;
  color: #334155;
}

.lopa-seat[data-seat-status="blocked"] {
  background: #e2e8f0;
  border-color: #64748b;
  color: #475569;
}

.lopa-seat:disabled {
  cursor: not-allowed;
  opacity: 0.9;
}

.lopa-seat.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.lopa-passenger-card {
  margin-top: 0.9rem;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  background: #f8fafc;
  padding: 0.85rem;
}

@media (max-width: 768px) {
  .lopa-pane {
    padding: 0.75rem;
  }

  .lopa-row {
    grid-template-columns: 30px 1fr 40px 1fr;
    gap: 0.3rem;
  }

  .lopa-seat {
    min-width: 34px;
    height: 28px;
    font-size: 0.6rem;
    padding: 0 0.28rem;
  }

  .lopa-aisle {
    font-size: 0.56rem;
  }
}

@media (max-width: 640px) {
  .flow-steps .flow-step-label {
    display: none;
  }
}

.bg-slate-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity));
}

.bg-slate-950 {
  --tw-bg-opacity: 1;
  background-color: rgb(21 21 21);
}
