.trip-tabs {
  background: #fff;
  color: #111;
  border-radius: 2px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

.trip-tabs__list {
  display: flex;
  gap: .5rem;
  padding: .5rem;
  border-bottom: 1px solid #ddd;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.trip-tabs__list::-webkit-scrollbar { height: 8px; }
.trip-tabs__list::-webkit-scrollbar-thumb { background: #ccc; border-radius: 999px; }

.trip-tabs__tab {
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  background: transparent;
  border: 1px solid #ddd;
  color: #111;
  padding: .6rem .9rem;
  border-radius:5px;
  cursor: pointer;

  font: 500 0.95rem/1 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  white-space: nowrap;
}
.trip-tabs__tab[aria-selected="true"] {
  background: #FDB813;
  border-color: transparent;
  color: #111;
  box-shadow: 0 0 0 4px rgba(79,70,229,.25);
}
.trip-tabs__tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(79,70,229,.25);
}

.trip-tabs__panels { padding: 1rem; }

.trip-tabs__panel {
  animation: trip-tabs-fade .18s ease-in;
}

@keyframes trip-tabs-fade {
  from { opacity: .85; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .trip-tabs__panels { padding: .9rem; }
  .trip-tabs__tab { padding: .55rem .8rem; font-size: .9rem; }
}


