.booking-seat-page {
  width: min(1040px, calc(100% - 48px));
  min-height: 60vh;
  margin: 34px auto 72px;
}
.booking-seat-message {
  margin-top: 18px;
}
.booking-seat-intro {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #e2e9fa;
  border-radius: 9px;
  color: #52617a;
  background: #f7f9ff;
}
.booking-seat-intro .fa-solid {
  margin-top: 2px;
  color: var(--color-primary);
}
.booking-seat-intro p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
}
.booking-seat-results {
  display: grid;
  gap: 12px;
  margin-top: 23px;
}
.booking-seat-results_heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 19px 21px;
  border: 1px solid #e5eaf2;
  border-radius: 12px;
  background: #fff;
}
.booking-seat-results_heading h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 7px 0 5px;
  color: #293750;
  font-size: var(--font-size-h2);
}
.booking-seat-results_heading h2 .fa-arrow-right {
  color: var(--color-primary);
  font-size: 13px;
}
.booking-seat-results_heading p {
  margin: 0;
  color: #748198;
  font-size: 11px;
}
.booking-seat-results_count {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--color-primary);
  background: #eef2ff;
  font-size: 11px;
  font-weight: 700;
}
.booking-seat-results_found {
  margin: -3px 0 0;
  color: #748198;
  font-size: 12px;
}
.booking-seat-results_list {
  display: grid;
  gap: 11px;
}
.booking-train-card {
  overflow: hidden;
  border: 1px solid #e2e8f1;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 3px 11px #26375408;
}
.booking-train-card_header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid #edf0f5;
}
.booking-train-card_icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: var(--color-primary);
  background: #eef2ff;
}
.booking-train-card_identity {
  min-width: 0;
}
.booking-train-card_identity h3 {
  overflow: hidden;
  margin: 0 0 3px;
  color: #34435d;
  font-size: var(--font-size-h3);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.booking-train-card_identity > span {
  color: #8390a4;
  font-size: 10px;
}
.booking-train-card_rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: #9b6b1f;
  font-size: 10px;
  font-weight: 700;
}
.booking-train-card_rating .fa-star {
  color: var(--color-accent);
}
.booking-train-card_route {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  justify-content: space-between;
}
.booking-train-card_route > div:not(.booking-train-card_duration) {
  display: grid;
  min-width: 0;
  gap: 5px;
}
.booking-train-card_route > div:last-child {
  text-align: right;
}
.booking-train-card_route strong {
  color: #34435d;
  font-size: 16px;
}
.booking-train-card_route > div > span {
  overflow: hidden;
  color: #7a879b;
  text-overflow: ellipsis;
}
.booking-train-card_duration {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #8995a8;
  font-size: 9px;
}
.booking-train-card_duration i {
  position: relative;
  width: 100%;
  height: 1px;
  background: #dce2ed;
}
.booking-train-card_duration i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid #a8b3c2;
  border-right: 1px solid #a8b3c2;
  content: "";
  transform: rotate(45deg);
}
.booking-train-card_availability {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: 1px solid #edf0f5;
  background: #fbfcff;
}
.booking-class {
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: 12px 14px;
  border-right: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
}
.booking-class--expandable {
  width: 100%;
  border: 0;
  border-right: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.booking-class--expandable:hover,
.booking-class--expandable:focus-visible,
.booking-class--expandable[aria-expanded="true"] {
  background: #f1f5ff;
  outline: 0;
}
.booking-availability-panel {
  padding: 0 14px 14px;
  border-top: 1px solid #edf0f5;
}
.booking-availability-panel[hidden] {
  display: none;
}
.booking-availability-panel_title {
  margin: 12px 0 0;
  color: #58677f;
  font-size: 11px;
  font-weight: 600;
}
.booking-availability-panel_debug {
  margin: 5px 0 0;
  color: #78869a;
  font-size: 10px;
}
.booking-availability-panel_debug strong {
  color: #34435d;
  font-family: Consolas, monospace;
}
.booking-availability-panel_debug span {
  margin-left: 5px;
}
.booking-availability-panel_tabs {
  display: flex;
  overflow-x: auto;
  gap: 22px;
  margin: 0 -14px;
  padding: 0 14px;
  border-bottom: 1px solid #d9e0ea;
  scrollbar-width: thin;
}
.booking-availability-panel_tab {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 12px 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #52617a;
  background: transparent;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
}
.booking-availability-panel_tab:hover,
.booking-availability-panel_tab[aria-selected="true"] {
  border-bottom-color: var(--color-accent);
  color: #27466c;
  font-weight: 700;
}
.booking-availability-panel_dates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
}
.booking-availability-day {
  position: relative;
  display: grid;
  min-height: 78px;
  align-content: start;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid #dce2eb;
  border-radius: 9px;
  background: #fafbfd;
}
.booking-availability-day_date {
  color: #45566e;
  font-size: 11px;
  font-weight: 700;
}
.booking-availability-day_status {
  color: #29965f;
  font-size: 14px;
  font-weight: 800;
}
.booking-availability-day_status.is-waitlist {
  color: #e66a1b;
}
.booking-availability-day_status.is-error {
  color: #a54a43;
  font-size: 11px;
}
.booking-availability-day_fare {
  color: #60728b;
  font-size: 10px;
  font-weight: 600;
}
.booking-availability-day_refresh {
  position: absolute;
  right: 8px;
  bottom: 6px;
  padding: 2px;
  border: 0;
  color: #536171;
  background: transparent;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.booking-availability-day_refresh:disabled {
  opacity: 0.5;
  cursor: wait;
}
.booking-availability-panel_message {
  grid-column: 1 / -1;
  margin: 0;
  color: #78869a;
  font-size: 11px;
}
.booking-availability-panel_message--error {
  padding: 9px 10px;
  border-radius: 6px;
  color: #9f332b;
  background: #fff3f1;
  overflow-wrap: anywhere;
}
.booking-class_name {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #34435d;
  font-size: 12px;
}
.booking-class_name small {
  color: #8994a6;
  font-size: 9px;
  font-weight: 500;
}
.booking-class_status {
  color: #68778e;
  font-size: 11px;
  font-weight: 700;
}
.booking-class_status.is-available {
  color: #25804e;
}
.booking-class_status.is-waitlist {
  color: #b26d1d;
}
.booking-class_fare {
  color: #34435d;
  font-weight: 700;
}
.booking-class_fare {
  font-size: 14px;
  line-height: 15px;
}
.booking-class_prediction {
  color: #8994a6;
  font-size: 9px;
}
.booking-train-card_empty {
  margin: 0;
  padding: 14px 16px;
  border-top: 1px solid #edf0f5;
  color: #748198;
  font-size: 11px;
}
.booking-seat-results_disclaimer {
  margin: 0;
  padding: 11px 14px;
  border-left: 3px solid var(--color-accent);
  color: #778399;
  background: #fff;
  font-size: 10px;
  line-height: 1.6;
}

.booking-seat-page {
  width: 100%;
  margin: 0 auto 72px;
}
.booking-seat-hero {
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: var(--color-route-night);
  background-image:
    linear-gradient(
      90deg,
      rgb(5 37 79 / 96%) 0%,
      rgb(5 45 94 / 88%) 39%,
      rgb(5 48 97 / 40%) 67%,
      rgb(5 48 97 / 8%) 100%
    ),
    url("../images/live-stations-hero.png");
  background-position:
    center,
    center 56%;
  background-size: cover;
}
.booking-seat-hero .route-hero_inner {
  padding: 22px 0 40px;
}
.booking-seat-hero .route-hero_breadcrumbs {
  margin-bottom: 20px;
}
.booking-seat-hero_eyebrow {
  margin: 0;
  color: #c6dcf7;
}
.booking-seat-hero h1 {
  margin: 6px 0 15px;
  color: #fff;
  font-size: clamp(1.8rem, 2.7vw, 2.3rem);
  letter-spacing: -0.045em;
}
.booking-seat-hero .route-hero_description {
  max-width: 740px;
  margin-bottom: 20px;
}
.booking-seat-hero .booking-seat-form {
  width: min(900px, 100%);
  padding: 12px;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 12px 32px #001a3e33;
}
.booking-seat-hero .between-form_stations {
  margin: 0;
}
.booking-seat-hero .booking-seat-form_filters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  padding: 0;
}
.booking-seat-hero .home-hero_live-submit {
  min-height: 42px;
  justify-content: center;
  padding-right: 10px;
  padding-left: 10px;
  font-size: 12px;
  white-space: nowrap;
}
.booking-seat-hero_meta {
  margin-top: 17px;
}
.booking-seat-page_content {
  width: min(1040px, calc(100% - 48px));
  min-height: 50vh;
  margin: 0 auto;
}
.booking-seat-recent-searches {
  margin: 28px 0 0;
}
.booking-seat-recent-searches .home-recent-searches_inner {
  width: 100%;
}
#booking-seat-destination-guides {
  margin-top: 34px;
  padding: 23px 25px;
  border: 1px solid #e5eaf2;
  border-radius: 13px;
  background: linear-gradient(135deg, #fff, #f7f9fd);
}
#booking-seat-destination-guides h2 {
  margin: 0 0 10px;
  color: #293750;
  font-size: var(--font-size-h2);
  line-height: 1.35;
}
#booking-seat-destination-guides h3 {
  margin: 24px 0 8px;
  color: #34435d;
  font-size: 16px;
}
#booking-seat-destination-guides p {
  margin: 0 0 12px;
  color: #64728a;
  font-size: 13px;
  line-height: 1.7;
}
#booking-seat-destination-guides ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
#booking-seat-destination-guides li {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #e4eaf2;
  border-radius: 8px;
  background: #fff;
}
#booking-seat-destination-guides li a {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
#booking-seat-destination-guides li a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
#booking-seat-destination-guides li span {
  color: #758198;
  font-size: 10px;
  line-height: 1.5;
}
.booking-seat-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 10px 14px;
  border: 1px solid #dce3ee;
  border-radius: 8px;
  color: #40516b;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.booking-seat-back:hover {
  border-color: #b9c9e0;
  color: var(--color-primary);
}

.booking-seat-page--results .booking-seat-hero .route-hero_inner {
  padding-top: 18px;
  padding-bottom: 25px;
}
.booking-seat-page_content {
  width: min(1160px, calc(100% - 40px));
}
.booking-seat-page--results .booking-seat-hero .route-hero_inner {
  width: min(1160px, calc(100% - 40px));
  padding-top: 35px;
  padding-bottom: 40px;
}
.booking-seat-page--results .booking-seat-hero .route-hero_breadcrumbs {
  display: none;
}
.booking-seat-page--results .booking-seat-hero_eyebrow {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
}
.booking-seat-page--results .booking-seat-hero h1 {
  max-width: 900px;
  gap: 7px;
  margin: 4px 0 5px;
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  line-height: 1.15;
}
.booking-seat-page--results .booking-seat-hero h1 > span {
  color: #d9e9ff;
  font-size: 0.85em;
}
.booking-seat-page--results .booking-seat-hero .route-hero_description {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.35;
}
.booking-seat-page--results .booking-seat-hero_meta {
  display: none;
}
.booking-seat-page--results .booking-seat-hero .booking-seat-form {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgb(3 23 52 / 20%);
  margin-bottom: -67px;
  margin-top: 27px;
}
.booking-seat-page--results .booking-seat-form_stations {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  border: 0;
  background: transparent;
  width: 59%;
}
.booking-seat-page--results .booking-seat-form_stations::before {
  display: none;
}
.booking-seat-page--results
  .booking-seat-form_stations
  .station-field[data-station-picker] {
  min-width: 0;
  min-height: 42px;
  gap: 0;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: #fff;
  width: 50%;
}
.booking-seat-page--results .booking-seat-form_stations .station-field_marker {
  display: none;
}
.booking-seat-page--results .booking-seat-form_stations .station-field_content {
  display: grid;
  min-width: 0;
  gap: 2px;
  width: 100%;
}
.booking-seat-page--results
  .booking-seat-form_stations
  .station-field_content
  .visually-hidden {
  position: static !important;
  overflow: visible;
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  margin: 0;
  font-weight: 700;
  opacity: 1;
  color: #000;
}
.booking-seat-page--results
  .booking-seat-form_stations
  input.station-field_input {
  width: 100%;
  min-width: 0;
  height: 18px;
  min-height: 18px;
  padding: 0;
  border: 0;
  color: #253b58;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid #dce4ef;
  border-radius: 5px;
  height: 40px;
  padding: 0 9px;
  font-weight: 500;
}
.booking-seat-page--results .booking-seat-form_stations .station-field_clear {
  flex-basis: 15px;
  width: 15px;
  height: 15px;
  padding: 3px;
}
.booking-seat-page--results .booking-seat-form_stations .swap-stations {
  position: static;
  width: 25px;
  height: 25px;
  padding: 5px;
}
.booking-seat-page--results .booking-seat-form_filters {
  display: flex;
  gap: 6px;
  padding: 0;
}
.booking-seat-page--results .booking-seat-form_field {
  gap: 2px;
  color: #000;
}
.booking-seat-page--results
  .booking-seat-form_filters
  .booking-seat-form_field
  input,
.booking-seat-page--results
  .booking-seat-form_filters
  .booking-seat-form_field
  select {
  height: 40px;
  padding: 0 6px;
  border-color: #dce4ef;
  border-radius: 5px;
}
.booking-seat-page--results
  .booking-seat-form_filters
  .booking-seat-form_field
  input[type="date"] {
  min-width: 0;
  padding-right: 2px;
  padding-left: 3px;
  font-size: 14px;
}
.booking-seat-page--results
  .booking-seat-form_filters
  .booking-seat-form_field
  input[type="date"]::-webkit-calendar-picker-indicator {
  width: 13px;
  margin: 0;
  padding: 0;
}
.booking-seat-page--results .home-hero_live-submit {
  min-height: 40px;
  gap: 5px;
  padding: 0 30px;
  border-radius: 5px;
  min-width: auto;
  width: 169px;
}
.booking-seat-results {
  gap: 12px;
  margin-top: 80px;
}
.booking-seat-results_heading {
  min-height: 92px;
  padding: 17px 20px;
}
.booking-seat-results_heading h2 {
  margin-top: 5px;
  font-size: 20px;
}
.booking-seat-results_heading p {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.booking-seat-results_heading p .fa-arrow-right {
  color: var(--color-primary);
}
.booking-seat-results_count {
  display: grid;
  justify-items: end;
  gap: 2px;
  padding: 0;
  color: #34435d;
  background: transparent;
}
.booking-seat-results_count strong {
  font-size: 18px;
}
.booking-seat-results_count span {
  color: #7a879b;
  font-size: 10px;
  font-weight: 500;
}
.booking-seat-filters {
  display: grid;
  grid-template-columns: 1.05fr repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  border: 1px solid #e2e8f1;
  border-radius: 10px;
  background: #fff;
}
.booking-seat-filters_heading {
  display: grid;
  gap: 8px;
}
.booking-seat-filters_heading h3 {
  margin: 0;
  color: #34435d;
  font-size: 13px;
}
.booking-seat-filters_heading h3 i {
  margin-right: 4px;
  color: var(--color-primary);
}
.booking-seat-filters_heading button {
  width: fit-content;
  padding: 0;
  border: 0;
  color: var(--color-primary);
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}
.booking-seat-filters label {
  display: grid;
  min-width: 0;
  gap: 5px;
  color: #40516b;
  font-size: 13px;
  font-weight: 500;
}
.booking-seat-filters select {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 8px;
  border: 1px solid #dce3ec;
  border-radius: 6px;
  color: #52617a;
  background: #fff;
  font: inherit;
}
.booking-seat-results_toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid #e7ebf1;
  border-radius: 8px;
  background: #fff;
}
.booking-seat-sort,
.booking-seat-view {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.booking-seat-sort > span {
  margin-right: 3px;
  color: #52617a;
  font-size: 13px;
}
.booking-seat-sort button,
.booking-seat-view button {
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid #e0e6ef;
  border-radius: 6px;
  color: #52617a;
  background: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.booking-seat-sort button[aria-pressed="true"],
.booking-seat-view button[aria-pressed="true"] {
  border-color: var(--color-primary);
  color: #fff;
  background: var(--color-primary);
}
.booking-seat-sort button i,
.booking-seat-view button i {
  margin-right: 4px;
}
.booking-seat-date-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  padding: 7px 8px;
  border: 1px solid #e1e8f1;
  border-radius: 8px;
  background: #fff;
}
.booking-seat-date-strip_list {
  display: grid;
  grid-auto-columns: minmax(76px, 1fr);
  grid-auto-flow: column;
  gap: 5px;
  overflow-x: auto;
  padding: 0 0 3px;
  scrollbar-width: thin;
}
.booking-seat-date-card {
  display: grid;
  min-width: 0;
  min-height: 46px;
  align-content: center;
  justify-items: center;
  gap: 1px;
  border: 1px solid #dce4ee;
  border-radius: 6px;
  color: #314760;
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.booking-seat-date-card span {
  color: #536b86;
  font-size: 9px;
  font-weight: 600;
}
.booking-seat-date-card strong {
  color: #1e3d68;
  font-size: 11px;
}
.booking-seat-date-card:hover {
  border-color: #79a7d3;
  background: #f2f7fc;
}
.booking-seat-date-card.is-selected,
.booking-seat-date-card[aria-current="date"] {
  border-color: #205983;
  color: #fff;
  background: #205983;
  box-shadow: 0 2px 5px #123e6426;
}
.booking-seat-date-card.is-selected span,
.booking-seat-date-card[aria-current="date"] span,
.booking-seat-date-card.is-selected strong,
.booking-seat-date-card[aria-current="date"] strong {
  color: #fff;
}
.booking-seat-date-picker {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #ffb08a;
  border-radius: 6px;
  color: #f07818;
  background: #fffaf7;
  cursor: pointer;
}
.booking-seat-date-picker i {
  pointer-events: none;
}
.booking-seat-date-picker input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.booking-seat-date-picker:focus-within {
  outline: 2px solid #f07818;
  outline-offset: 2px;
}
.booking-seat-results_list {
  gap: 12px;
}
.booking-train-card {
  border-color: #e1e8f2;
  border-radius: 10px;
  box-shadow: 0 3px 12px #16365a0a;
}
.booking-train-card[hidden] {
  display: none;
}
.booking-train-card_header {
  min-height: 58px;
  padding: 11px 15px;
}
.booking-train-card_icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}
.booking-train-card_identity h3 {
  color: #243750;
  font-size: 19px;
}
.booking-train-card_badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.booking-train-card_badges > span {
  color: #758198;
  font-size: 12px;
  font-weight: 500;
}
.booking-train-card_badges > span:not(:first-child) {
  padding: 3px 6px;
  border-radius: 999px;
  background: #f0f4ff;
}
.booking-train-card_badges > .is-running {
  color: #168650;
  background: #e6f8ef;
}
.booking-train-card_badges > .is-departed {
  color: #a35a20;
  background: #fff2e3;
}
.booking-train-card_rating {
  font-size: 11px;
}
.booking-train-card_main {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
}
.booking-train-card_route {
  width: 38%;
  gap: 9px;
  padding: 0;
}
.booking-train-card_route > div:not(.booking-train-card_duration) {
  gap: 4px;
}
.booking-train-card_route strong {
  color: #183c70;
  font-size: 18px;
}
.booking-train-card_route > div > span {
  font-size: 14px;
  font-weight: 600;
}
.booking-train-card_route > div > small {
  color: #71809a;
  font-size: 9px;
}
.booking-train-card_route > div > small .fa-solid {
  color: var(--color-primary);
}
.booking-train-card_duration {
  gap: 5px;
  font-size: 9px;
}
.booking-train-card_class-panel {
  min-width: 0;
  padding: 10px;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  background: #f8faff;
  width: 62%;
}
.booking-train-card_class-panel h4 {
  margin: 0 0 8px;
  color: #40516b;
  font-size: 10px;
}
.booking-train-card_availability {
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
  gap: 5px;
  border: 0;
  background: transparent;
}
.booking-class {
  align-content: start;
  justify-items: center;
  gap: 4px;
  padding: 7px 5px;
  border: 1px solid #e5ebf3;
  border-radius: 6px;
  background: #fff;
  text-align: center;
}
.booking-class--expandable {
  border: 1px solid #e5ebf3;
}
.booking-class_name {
  display: grid;
  gap: 2px;
  font-size: 16px;
  font-weight: 700;
}
.booking-class_name small {
  font-size: 13px;
  line-height: 12px;
}
.booking-class_status {
  font-size: 9px;
}
.booking-class_status {
  font-size: 17px;
}
.booking-class_prediction {
  font-size: 8px;
}
.booking-train-card_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  border-top: 1px solid #edf0f5;
  background: #fbfcff;
}
.booking-train-card_days {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #68778e;
  font-size: 9px;
}
.booking-train-card_days > div {
  display: flex;
  gap: 3px;
}
.booking-train-card_days > div > span {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  color: #9aa5b5;
  background: #edf0f4;
  font-size: 8px;
  font-weight: 700;
}
.booking-train-card_days > div > span.is-active {
  color: #fff;
  background: #31a66a;
}
.booking-train-card_days small {
  color: #758198;
  font-size: 9px;
}
.booking-train-card_footer > a {
  color: var(--color-primary);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}
.booking-train-card_footer > a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.booking-train-card_footer > a.booking-train-card_schedule-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid #b7cae7;
  border-radius: 8px;
  color: #17477e;
  background: #edf4ff;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 7px rgb(27 73 126 / 10%);
}
.booking-train-card_footer > a.booking-train-card_schedule-link:hover,
.booking-train-card_footer > a.booking-train-card_schedule-link:focus-visible {
  border-color: #7196c6;
  color: #103967;
  background: #e1edff;
  text-decoration: none;
}
.booking-train-card_schedule-link i {
  font-size: 12px;
}
.booking-seat-results_list.is-grid-view {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.booking-seat-no-matches {
  margin: 0;
  padding: 17px;
  border: 1px solid #e2e8f1;
  border-radius: 8px;
  color: #64728a;
  background: #fff;
  font-size: 12px;
}
.booking-seat-no-matches[hidden] {
  display: none;
}
#booking-route-guide {
  margin-top: 30px;
  padding: 22px 24px;
  border: 1px solid #e5eaf2;
  border-radius: 12px;
  background: #fff;
}
#booking-route-guide h2 {
  margin: 0 0 10px;
  color: #293750;
  font-size: 20px;
}
#booking-route-guide h3 {
  margin: 20px 0 8px;
  color: #34435d;
  font-size: 15px;
}
#booking-route-guide p,
#booking-route-guide li {
  color: #64728a;
  font-size: 12px;
  line-height: 1.7;
}
#booking-route-guide ol {
  display: grid;
  gap: 5px;
  padding-left: 20px;
}
#booking-route-guide nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
}
#booking-route-guide nav a {
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
}
.booking-seat-page--results .booking-seat-back {
  margin-top: 20px;
}

@media (max-width: 700px) {
  .booking-seat-page {
    width: min(100% - 32px, 520px);
    margin: 23px auto 58px;
  }
  .booking-seat-hero {
    padding: 17px;
  }
  .booking-seat-results_heading {
    align-items: flex-start;
    padding: 16px;
  }
  .booking-train-card_route {
    gap: 8px;
    padding: 13px;
  }
  .booking-train-card_availability {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .booking-availability-panel_dates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .booking-seat-page {
    width: 100%;
    margin: 0 auto 56px;
  }
  .booking-seat-hero {
    padding: 0;
  }
  .booking-seat-hero .route-hero_inner {
    width: calc(100% - 32px);
    padding: 13px 0 20px;
  }
  .booking-seat-hero .booking-seat-form {
    padding: 10px;
  }
  .booking-seat-hero .booking-seat-form_filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .booking-seat-page--results .booking-seat-hero .route-hero_breadcrumbs {
    display: none;
  }
  .booking-seat-page_content {
    width: calc(100% - 32px);
  }
  #booking-seat-destination-guides {
    padding: 18px;
  }
  #booking-seat-destination-guides ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .booking-seat-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .booking-seat-filters_heading {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .booking-seat-results_toolbar {
    align-items: flex-start;
  }

  .booking-seat-results_list.is-grid-view {
    grid-template-columns: 1fr;
  }
  #booking-route-guide {
    padding: 18px;
  }
}

@media (min-width: 701px) and (max-width: 960px) {
  .booking-seat-page--results
    .booking-seat-form_stations
    input.station-field_input {
    font-size: 9px !important;
  }
  .booking-seat-page--results
    .booking-seat-form_filters
    .booking-seat-form_field
    input[type="date"] {
    font-size: 8px !important;
  }
}

@media (max-width: 420px) {
  #booking-seat-destination-guides ul {
    grid-template-columns: 1fr;
  }
  .booking-seat-filters {
    grid-template-columns: 1fr;
  }
  .booking-seat-filters_heading {
    grid-column: auto;
  }
  .booking-train-card_footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .booking-seat-results_heading {
    flex-direction: column;
  }
  .booking-train-card_route strong {
    font-size: 14px;
  }

  .booking-train-card_availability {
    grid-template-columns: 1fr 1fr;
  }
  .booking-class {
    padding: 10px;
  }
  .booking-availability-panel {
    padding-right: 10px;
    padding-left: 10px;
  }
  .booking-availability-panel_tabs {
    margin-right: -10px;
    margin-left: -10px;
    padding-right: 10px;
    padding-left: 10px;
  }
  .booking-availability-panel_dates {
    gap: 7px;
  }
  .booking-availability-day {
    padding: 9px 8px;
  }
}

@media (max-width: 700px) {
  .booking-seat-page--results
    .booking-seat-form_stations
    input.station-field_input {
    font-size: 11px !important;
  }
}

.booking-train-card_title {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 7px;
}
.booking-train-card_number {
  flex: 0 0 auto;
  color: #fd6503;
  font-weight: 900;
  font-size: 19px;
}
.booking-train-card_title h3 {
  min-width: 0;
  margin: 0;
}
.booking-train-card_check-availability {
  display: none;
}
.booking-mobile-menu-toggle {
  display: none;
}

.booking-seat-page--results .booking-seat-form_stations .station-field_clear {
  position: absolute;
  right: 13px;
  top: 33px;
}
span.visually-hidden {
  display: none;
}
@media (max-width: 700px) {
  .booking-seat-date-picker {
    right: 9px;
  }

  .booking-train-card_main {
    display: block;
  }
  .booking-train-card_route {
    width: 100%;
  }
  body.has-booking-header {
    padding-bottom: 0;
  }
  body.has-booking-header .floating-footer-nav {
    display: none;
  }
  .site-header--booking {
    height: 62px;
  }
  .site-header--booking .header-inner {
    position: relative;
    display: grid;
    width: calc(100% - 32px);
    height: 62px;
    grid-template-areas: "brand menu";
    grid-template-columns: minmax(0, 1fr) 40px;
    align-items: center;
    gap: 8px;
    padding: 0;
  }
  .site-header--booking .brand {
    grid-area: brand;
  }
  .site-header--booking .brand-logo {
    width: min(160px, 48vw);
  }
  .booking-mobile-menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    grid-area: menu;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid #e1e8f1;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
  }
  .booking-mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #25415f;
  }
  .site-header--booking .main-nav,
  .site-header--booking .main-nav.is-mobile-open {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    display: none;
    width: min(240px, calc(100vw - 32px));
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 8px;
    border: 1px solid #e1e8f1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px #142c4a24;
  }
  .site-header--booking .main-nav.is-mobile-open {
    display: flex;
  }
  .site-header--booking .main-nav a {
    min-height: 42px;
    padding: 0 10px;
  }
  .booking-seat-page--results .booking-seat-hero {
    background-position:
      center,
      61% center;
  }
  .booking-seat-page--results .booking-seat-hero .route-hero_inner {
    width: 100%;
    padding: 16px 16px 14px;
  }
  .booking-seat-page--results .booking-seat-hero_eyebrow {
    font-size: 9px;
  }
  .booking-seat-page--results .booking-seat-hero h1 {
    max-width: 300px;
    margin: 5px 0 4px;
    font-size: 20px;
    line-height: 1.22;
    display: none;
  }
  .booking-seat-page--results .booking-seat-hero .route-hero_description {
    display: block;
    max-width: 100%;
    margin: 0 0 13px;
    line-height: 1.4;
    font-weight: bold;
    text-shadow: 0 0 3px BLACK;
  }
  .booking-seat-page--results .booking-seat-hero .booking-seat-form {
    flex-wrap: wrap;
    margin-top: 0;
  }
  section.booking-seat-filters {
    display: none;
  }
  .booking-seat-page_content {
    padding-top: 87px;
  }
  .booking-seat-results_toolbar {
    position: relative;
  }
  .booking-seat-view {
    position: absolute;
    right: 12px;
    top: 44px;
  }
  .booking-seat-sort button,
  .booking-seat-view button {
    min-height: 28px;
    padding: 2px 4px;
  }
  .booking-seat-page--results .booking-seat-form_stations {
    display: block;
  }
  .booking-seat-page--results
    .booking-seat-form_stations
    .station-field[data-station-picker] {
    width: 100%;
  }

  .booking-seat-page--results .booking-seat-form_stations {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
    gap: 6px;
  }
  .booking-seat-page--results
    .booking-seat-form_stations
    .station-field[data-station-picker] {
    min-height: 48px;
    padding: 0 0 8px;
    border-radius: 7px;
  }
  .booking-seat-page--results
    .booking-seat-form_stations
    .station-field_content
    .visually-hidden {
    color: #77869c;
    font-size: 9px;
  }
  .booking-seat-page--results
    .booking-seat-form_stations
    input.station-field_input {
    height: 40px;
    min-height: 40px;
  }
  .booking-seat-page--results .booking-seat-form_stations .swap-stations {
    width: 26px;
    height: 26px;
    position: absolute;
    top: 63px;
  }
  .booking-seat-page--results .booking-seat-form_stations {
    width: 100% !important;
  }
  .booking-seat-page--results .home-hero_live-submit {
    width: 100%;
  }

  .booking-seat-page--results
    .booking-seat-form_filters
    .booking-seat-form_field {
    gap: 3px;
    font-size: 9px;
  }
  .booking-seat-page--results
    .booking-seat-form_filters
    .booking-seat-form_field
    input,
  .booking-seat-page--results
    .booking-seat-form_filters
    .booking-seat-form_field
    select {
    height: 38px;
    padding: 0 8px;
    border-radius: 7px;
    font-size: 11px;
  }
  .booking-seat-page--results
    .booking-seat-form_filters
    .booking-seat-form_field
    input[type="date"] {
    min-height: 38px;
    font-size: 10px !important;
  }
  .booking-seat-page--results
    .booking-seat-form_filters
    .booking-seat-form_field:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .booking-seat-page--results
    .booking-seat-form_filters
    .booking-seat-form_field:nth-of-type(2) {
    grid-column: 2;
    grid-row: 2;
  }
  .booking-seat-page--results
    .booking-seat-form_filters
    .booking-seat-form_field:nth-of-type(3) {
    grid-column: 1;
    grid-row: 2;
  }
  .booking-seat-page--results
    .booking-seat-form_filters
    .home-hero_live-submit {
    grid-column: 2;
    grid-row: 1;
    min-height: 38px;
    padding: 0 7px;
    font-size: 10px;
  }
  .booking-seat-page--results
    .booking-seat-form_filters
    .home-hero_live-submit
    span {
    line-height: 1.15;
  }
  .booking-seat-page--results .booking-seat-form_error {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 10px;
  }
  .booking-seat-page_content {
    width: calc(100% - 24px);
  }
  .booking-seat-results {
    margin-top: 12px;
  }
  .booking-seat-date-strip {
    grid-template-columns: minmax(0, 1fr) 34px;
    padding: 6px;
  }
  .booking-seat-date-strip_list {
    grid-auto-columns: 67px;
  }
  .booking-seat-date-card {
    min-height: 43px;
  }
  .booking-train-card_header {
    gap: 8px;
    padding: 10px 11px;
  }
  .booking-train-card_icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  .booking-train-card_title {
    gap: 6px;
  }
  .booking-train-card_title h3 {
    font-size: 17px;
  }
  .booking-train-card_number {
    font-size: 17px;
  }
  .booking-train-card_badges {
    gap: 5px;
  }
  .booking-train-card_badges > span {
    font-size: 8px;
  }
  .booking-train-card_rating {
    font-size: 9px;
  }
  .booking-train-card_main {
    gap: 0;
    padding: 0;
  }

  .booking-train-card_route strong {
    font-size: 16px;
    line-height: 10px;
  }
  .booking-train-card_route > div > span {
    font-size: 14px;
    color: #000;
    font-weight: bold;
    line-height: 20px;
  }
  .booking-train-card_duration {
    width: 83px !important;
  }

  .booking-train-card_route > div {
    width: 51%;
  }
  .booking-train-card_route > div > small {
    color: #91a0b3;
    font-size: 10px;
  }
  .booking-train-card_class-panel {
    min-width: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    width: 100%;
  }
  .booking-train-card_class-panel {
    padding: 0 10px 10px;
  }
  .booking-train-card_class-panel h4 {
    display: none;
  }
  .booking-train-card_availability {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding: 0 0 2px;
    scrollbar-width: thin;
  }
  .booking-class,
  .booking-class--expandable {
    flex: 0 0 130px;
    min-height: 58px;
    padding: 6px 5px;
    border-radius: 7px;
  }
  .booking-class_name {
    display: flex;
    align-items: baseline;
    gap: 3px;
    font-size: 16px;
  }
  .booking-class_name small {
    font-size: 13px;
    line-height: 6px;
  }
  .booking-class_status {
    padding: 2px 5px;
    border-radius: 999px;
    color: #25804e;
    background: #e7f7ed;
  }
  .booking-class_status {
    font-size: 13px;
    margin-top: 0;
  }
  .booking-class_status.is-waitlist {
    color: #a76114;
    background: #fff2df;
  }
  .booking-class_status:not(.is-available):not(.is-waitlist) {
    color: #69788c;
    background: #f0f3f7;
  }
  .booking-train-card_footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 0 10px 10px;
    border-top: 0;
    background: #fff;
  }
  .booking-train-card_days,
  .booking-train-card_footer > a {
    display: none;
  }
  .booking-train-card_check-availability {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: #1d5fae;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
  }
  .booking-train-card_check-availability:active {
    background: #174e91;
  }
  .booking-seat-results_list.is-grid-view {
    grid-template-columns: 1fr;
  }
}
