.pnr-page {
  width: min(1140px, calc(100% - 40px));
  min-height: 60vh;
  margin: 34px auto 72px;
}
.pnr-page_hero {
  padding: 25px;
  border: 1px solid #e5eaf2;
  border-radius: 14px;
  background: linear-gradient(125deg, #fff, #f3f6ff);
}
.pnr-page_hero h1 {
  margin: 9px 0 7px;
  color: #293750;
  font-size: var(--font-size-h1);
  letter-spacing: -0.8px;
}
.pnr-page_hero > p {
  margin: 0 0 18px;
  color: #748198;
  font-size: 13px;
  line-height: 1.55;
}
.pnr-page_message {
  margin-top: 16px;
}
.pnr-result {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  padding: 21px;
  border: 1px solid #e5eaf2;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 4px 15px #26375408;
}
.pnr-result_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid #edf0f5;
}
.pnr-result_header h2 {
  margin: 6px 0 0;
  color: #293750;
  font-size: var(--font-size-h2);
}
.pnr-result_updated {
  margin: -10px 0 0;
  color: #8490a2;
  font-size: 10px;
}
.pnr-result_messages {
  padding: 12px 14px;
  border: 1px solid #f2dfb7;
  border-radius: 8px;
  color: #79571d;
  background: #fff9ec;
  font-size: 11px;
}
.pnr-result_messages ul {
  display: grid;
  gap: 4px;
  margin: 6px 0 0;
  padding-left: 18px;
}
.pnr-chart-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #f3dfb5;
  border-radius: 999px;
  color: #9b6b1f;
  background: #fff9ec;
  font-size: 11px;
  font-weight: 700;
}
.pnr-chart-status.is-prepared {
  border-color: #b8e4ca;
  color: #247349;
  background: #eefaf2;
}
.pnr-result_train {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pnr-result_train-icon {
  display: grid;
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 10px;
  color: var(--color-primary);
  background: #eef2ff;
}
.pnr-result_train-name {
  min-width: 0;
}
.pnr-result_train-name > span {
  color: #718098;
  font-size: 10px;
  font-weight: 700;
}
.pnr-result_train-name h3 {
  overflow: hidden;
  margin: 3px 0 0;
  color: #293750;
  font-size: var(--font-size-h3);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pnr-result_route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  margin-left: auto;
  color: #65748d;
  font-size: 11px;
}
.pnr-result_route strong {
  color: #34435d;
  font-size: 11px;
}
.pnr-result_route .fa-arrow-right {
  color: var(--color-primary);
}
.pnr-result_facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.pnr-result_facts > div {
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: 12px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #fbfcff;
}
.pnr-result_facts span {
  color: #8490a2;
  font-size: 10px;
}
.pnr-result_facts strong {
  overflow-wrap: anywhere;
  color: #34435d;
  font-size: 14px;
}
.pnr-passengers h3 {
  margin: 0 0 11px;
  color: #293750;
  font-size: var(--font-size-h3);
}
.pnr-passengers_table-wrap {
  overflow-x: auto;
  border: 1px solid #e7ebf2;
  border-radius: 9px;
}
.pnr-passengers_table {
  width: 100%;
  border-collapse: collapse;
  color: #52617a;
  font-size: 14px;
  text-align: left;
}
.pnr-passengers_table th,
.pnr-passengers_table td {
  padding: 11px 12px;
  border-bottom: 1px solid #edf0f5;
  white-space: nowrap;
}
.pnr-passengers_table thead th {
  color: #65748d;
  background: #f7f9fc;
  font-size: 9px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.pnr-passengers_table tbody tr:last-child td {
  border-bottom: 0;
}
.pnr-passenger-status {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 999px;
  color: #9b6b1f;
  background: #fff5df;
  font-size: 10px;
  font-weight: 700;
}
.pnr-passenger-status.is-confirmed {
  color: #247349;
  background: #eaf8ef;
}
.pnr-passenger-status.is-rac {
  color: #315ca8;
  background: #edf3ff;
}
.pnr-passenger-status.is-waitlisted {
  color: #9b6b1f;
  background: #fff5df;
}
.pnr-passengers_empty {
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  color: #748198;
  background: #f7f9fc;
  font-size: 12px;
}
.pnr-chart-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
}
.pnr-result_disclaimer {
  margin: 0;
  padding: 11px 13px;
  border-left: 3px solid #9eb1f4;
  color: #69778d;
  background: #f7f9ff;
  font-size: 11px;
  line-height: 1.6;
}
.pnr-guide {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}
.pnr-guide_intro,
.pnr-guide_section {
  padding: 22px;
  border: 1px solid #e5eaf2;
  border-radius: 12px;
  background: #fff;
}
.pnr-guide_intro {
  background: linear-gradient(130deg, #fff, #f5f7ff);
}
.pnr-guide h2 {
  margin: 8px 0 10px;
  color: #293750;
  font-size: var(--font-size-h2);
  letter-spacing: -0.35px;
}
.pnr-guide p,
.pnr-guide li {
  color: #69778d;
  font-size: 14px;
  line-height: 1.75;
}
.pnr-guide_intro > p {
  max-width: 760px;
  margin-bottom: 14px;
}
.pnr-guide_highlights {
  display: grid;
  gap: 8px;
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
}
.pnr-guide_highlights li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.pnr-guide_highlights .fa-check {
  margin-top: 4px;
  color: #278053;
  font-size: 11px;
}
.pnr-guide_tip {
  margin: 0 !important;
  padding: 11px 13px;
  border-radius: 8px;
  color: #79571d !important;
  background: #fff8e9;
}
.pnr-guide_tip .fa-lightbulb {
  margin-right: 5px;
  color: #d28e22;
}
.pnr-guide_toc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border: 1px solid #e5eaf2;
  border-radius: 10px;
  background: #fff;
}
.pnr-guide_toc strong {
  margin-right: 3px;
  color: #44536d;
  font-size: 11px;
}
.pnr-guide_toc a {
  padding: 6px 9px;
  border: 1px solid #e5eaf2;
  border-radius: 999px;
  color: #52617a;
  font-size: 10px;
}
.pnr-guide_toc a:hover {
  border-color: #b7c5f5;
  color: var(--color-primary);
}
.pnr-guide_section h2 {
  margin-top: 0;
}
.pnr-guide_section p:last-child,
.pnr-guide_section ul:last-child {
  margin-bottom: 0;
}
.pnr-guide_section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}
.pnr-guide_section code {
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--color-primary);
  background: #eef2ff;
  font-size: 11px;
}
.pnr-guide_table-wrap {
  overflow-x: auto;
  border: 1px solid #e7ebf2;
  border-radius: 8px;
}
.pnr-guide_table {
  width: 100%;
  border-collapse: collapse;
  color: #69778d;
  font-size: 14px;
  text-align: left;
}
.pnr-guide_table th,
.pnr-guide_table td {
  padding: 10px 12px;
  border-bottom: 1px solid #edf0f5;
  line-height: 1.55;
}
.pnr-guide_table thead th {
  color: #52617a;
  background: #f7f9fc;
  font-size: 10px;
}
.pnr-guide_table tbody th {
  width: 90px;
  color: var(--color-primary);
  white-space: nowrap;
}
.pnr-guide_table tbody tr:last-child th,
.pnr-guide_table tbody tr:last-child td {
  border-bottom: 0;
}
.pnr-guide_faq details {
  border-top: 1px solid #edf0f5;
}
.pnr-guide_faq details:last-child {
  border-bottom: 1px solid #edf0f5;
}
.pnr-guide_faq summary {
  padding: 13px 3px;
  color: #34435d;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.pnr-guide_faq details p {
  margin: -3px 3px 13px;
}
.pnr-guide_disclaimer {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--color-accent);
  color: #778399;
  background: #fff;
  font-size: 10px !important;
}
@media (max-width: 680px) {
  .pnr-page {
    width: min(100% - 28px, 500px);
    margin-top: 23px;
  }
  .pnr-page_hero,
  .pnr-result {
    padding: 16px;
  }
  .pnr-result_header {
    align-items: flex-start;
    flex-direction: column;
  }
  .pnr-result_train {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .pnr-result_route {
    width: 100%;
    margin-left: 0;
    padding-left: 51px;
  }
  .pnr-result_facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pnr-guide_intro,
  .pnr-guide_section {
    padding: 16px;
  }
  .pnr-guide_toc {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .pnr-result_facts {
    grid-template-columns: 1fr;
  }
  .pnr-passengers_table,
  .pnr-passengers_table tbody,
  .pnr-passengers_table tr,
  .pnr-passengers_table td {
    display: block;
    width: 100%;
  }
  .pnr-passengers_table thead {
    display: none;
  }
  .pnr-passengers_table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 7px;
    border-bottom: 1px solid #edf0f5;
  }
  .pnr-passengers_table tbody tr:last-child {
    border-bottom: 0;
  }
  .pnr-passengers_table td {
    display: grid;
    gap: 4px;
    padding: 6px;
    border: 0;
    white-space: normal;
  }
  .pnr-passengers_table td::before {
    color: #8995a8;
    content: attr(data-label);
    font-size: 9px;
  }
}

.pnr-page {
  width: 100%;
  margin: 0 auto 72px;
}
.pnr-page_hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(
      90deg,
      rgb(4 31 68 / 95%) 0%,
      rgb(6 43 88 / 86%) 48%,
      rgb(8 48 92 / 48%) 100%
    ),
    url("../images/live-stations-hero.png") center 56% / cover no-repeat;
}
.pnr-page_hero-inner {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 34px;
}
.pnr-page_breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 27px;
  color: #d1e2f6;
  font-size: 11px;
}
.pnr-page_breadcrumbs a {
  color: #fff;
  font-weight: 600;
}
.pnr-page_breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pnr-page_hero-copy {
  max-width: 700px;
  margin-bottom: 20px;
}
.pnr-page_hero .route-results_eyebrow {
  color: #d7e7fb;
}
.pnr-page_hero h1 {
  margin: 8px 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.045em;
}
.pnr-page_hero-copy > p {
  margin: 0;
  color: #e0ebf9;
  font-size: 14px;
}
.pnr-page_hero .pnr-form {
  max-width: 660px;
  padding: 7px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(3 23 52 / 24%);
}
.pnr-page_hero .pnr-form input {
  min-height: 46px;
  font-size: 14px;
}
.pnr-page_hero .pnr-form button {
  min-height: 46px;
  border-radius: 7px;
}
.pnr-page_hero .pnr-form_field-wrap {
  position: relative;
  display: block;
  flex: 1;
  min-width: 0;
}
.pnr-page_hero .pnr-form_field-wrap input {
  width: 100%;
}
.pnr-recent-suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 11px);
  left: -7px;
  display: grid;
  width: calc(100% + 14px);
  gap: 4px;
  padding: 9px;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgb(16 40 73 / 22%);
}
.pnr-recent-suggestions[hidden] {
  display: none;
}
.pnr-recent-suggestions_title {
  padding: 3px 7px 5px;
  color: #77869c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pnr-recent-suggestions_option {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  color: #284565;
  background: #f6f9fd;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.pnr-recent-suggestions_option::before {
  color: #7891b0;
  font-family: "Font Awesome 6 Free";
  font-size: 11px;
  font-weight: 900;
  content: "\f017";
}
.pnr-recent-suggestions_option:hover,
.pnr-recent-suggestions_option:focus-visible {
  color: var(--color-primary);
  background: #eaf2ff;
}
.pnr-page_hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 16px;
  color: #e0ebf9;
  font-size: 10px;
}
.pnr-page_hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pnr-page_hero-points i {
  color: #a9c9f1;
}
.pnr-page > .pnr-page_message,
.pnr-page > .pnr-result,
.pnr-page > .pnr-guide {
  width: min(1140px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}
.pnr-page > .pnr-page_message {
  margin-top: 18px;
}
.pnr-page > .pnr-result {
  margin-top: 24px;
}
.pnr-page > .pnr-guide {
  margin-top: 28px;
}
.pnr-page_recent-searches {
  padding: 16px 0;
  border: 0;
  background: #f3f6fb;
}
.pnr-page_recent-searches .home-recent-searches_inner {
  width: min(1140px, calc(100% - 40px));
  padding: 14px 17px;
}
.pnr-page_recent-searches .home-recent-searches_title {
  margin-bottom: 10px;
  font-size: 15px;
}
.pnr-page_recent-searches .home-hero_recent-trains {
  margin: 0;
  padding: 0;
  border: 0;
}
.pnr-page_recent-searches .home-hero_recent-train-list {
  gap: 9px;
}
.pnr-page_recent-searches .home-hero_recent-entry {
  width: min(100%, 360px);
}
.pnr-page_recent-searches .home-hero_recent-train {
  grid-template-columns: 40px minmax(0, 1fr) auto 20px;
  padding: 9px 11px;
}
.pnr-page_recent-searches .home-hero_recent-train > i {
  width: 34px;
  height: 34px;
  font-size: 17px;
}
.pnr-page_recent-searches .home-hero_recent-train-title {
  font-size: 12px;
}
.pnr-page_recent-searches .home-hero_recent-train-route {
  font-size: 10px;
}
.pnr-page_recent-searches .home-hero_recent-train-arrow {
  font-size: 17px;
}

@media (max-width: 680px) {
  .pnr-page {
    margin-bottom: 56px;
  }
  .pnr-page_hero {
    background-position:
      center,
      61% center;
  }
  .pnr-page_hero-inner {
    width: calc(100% - 32px);
    padding: 14px 0 23px;
  }
  .pnr-page_breadcrumbs {
    margin-bottom: 20px;
  }
  .pnr-page_hero-copy {
    margin-bottom: 15px;
  }
  .pnr-page_hero h1 {
    margin: 6px 0;
    font-size: 27px;
  }
  .pnr-page_hero-copy > p {
    font-size: 12px;
  }
  .pnr-page_hero .pnr-form {
    gap: 4px;
  }
  .pnr-page_hero .pnr-form input {
    min-width: 0;
    min-height: 43px;
    font-size: 13px;
  }
  .pnr-page_hero .pnr-form button {
    min-height: 43px;
    padding: 0 12px;
    font-size: 11px;
  }
  .pnr-page_hero-points {
    gap: 8px 13px;
    font-size: 9px;
  }
  .pnr-page_recent-searches {
    padding: 12px 0;
  }
  .pnr-page_recent-searches .home-recent-searches_inner {
    width: calc(100% - 28px);
    padding: 12px;
  }
  .pnr-page_recent-searches .home-hero_recent-entry {
    width: 100%;
  }
  .pnr-page > .pnr-page_message,
  .pnr-page > .pnr-result,
  .pnr-page > .pnr-guide {
    width: calc(100% - 28px);
  }
}
