/* Guest portal: the approved aviation identity, with page-level scrolling. */
.portal-requests {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 14px;
  font-size: 14px;
}
.portal-requests summary {
  cursor: pointer;
  color: var(--navy);
}
.portal-requests p {
  white-space: pre-line;
  margin-top: 8px;
}
.portal-page {
  --gold: #c3a160;
  --ink: #39303b;
  --muted: #706770;
  color: var(--ink);
  background: #fffcf6;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}
.portal-page h1,
.portal-page h2,
.portal-page h3 {
  color: var(--navy);
}
.portal-page h1 {
  font-size: clamp(40px, 4.8vw, 66px);
  letter-spacing: -1.4px;
  line-height: 1.05;
  margin: 0 0 10px;
  text-wrap: balance;
}
.portal-page h1[tabindex="-1"]:focus {
  outline: none;
}
.portal-page h2 {
  font-size: 34px;
  letter-spacing: -0.4px;
}
.portal-page h3 {
  font-size: 27px;
}
.portal-page button:disabled {
  cursor: wait;
  opacity: 0.55;
}
.portal-page button:focus-visible,
.portal-page a:focus-visible {
  outline-offset: 5px;
}
.portal-header {
  background: #8e2a38;
  color: #fffcf6;
  border-bottom: 2px solid var(--gold);
  border-radius: 0 0 50% 50% / 0 0 14px 14px;
  padding: 16px 32px 22px;
}
.portal-header > div {
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.portal-header img {
  width: 310px;
}
.portal-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.portal-header a {
  text-decoration: none;
}
.portal-header nav a,
.portal-header nav button {
  font-size: 15px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: none;
  color: inherit;
  padding: 6px 0;
}
.portal-header [aria-current] {
  border-bottom: 1px solid var(--gold);
}
.portal-header nav button {
  border-left: 1px solid var(--gold);
  padding-left: 26px;
}
#portal {
  flex: 1;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 38px 32px 48px;
  outline: none;
  min-height: 55vh;
}
.portal-loading {
  text-align: center;
  padding: 80px 0;
  color: var(--muted);
}
.portal-page .portal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 49px;
  padding: 10px 24px;
  border: 1px solid var(--gold);
  border-radius: 32px;
  font:
    600 23px/1.2 Display,
    Georgia,
    serif;
  text-decoration: none;
  background: transparent;
  color: var(--navy);
}
.portal-page .portal-button.primary {
  width: 100%;
  background: #982c3b;
  color: #fffcf6;
  border: 2px solid var(--gold);
  box-shadow: none;
}
.portal-page .portal-button.primary:hover {
  background: #7f2634;
  transform: none;
}
.portal-button.secondary:hover {
  background: #f5ecdc;
}
.portal-button.destructive {
  width: 100%;
  margin-top: 12px;
}
.portal-link {
  background: none;
  padding: 8px 0;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
  font: inherit;
  min-height: 40px;
  text-align: left;
}
.portal-back {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 25px;
  font:
    600 20px/1.4 Display,
    Georgia,
    serif;
  color: var(--navy);
  text-decoration: none;
}
.portal-intro {
  font-size: 19px;
  margin-bottom: 24px;
}
.portal-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.portal-center {
  text-align: center;
}
.portal-error {
  background: #fff0e9;
  color: #8e281d;
  border: 1px solid #dcad9e;
  padding: 12px 15px;
  border-radius: 8px;
  margin: 18px 0;
  overflow-wrap: anywhere;
}
.portal-error:empty {
  display: none;
}
.portal-success {
  background: #edf3e4;
  color: #3f5f35;
  padding: 15px 18px;
  border: 1px solid #a8bd91;
  border-radius: 8px;
  margin-bottom: 24px;
}
.portal-success:empty {
  display: none;
}
.portal-section-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 24px 0 16px;
}
.portal-section-title:after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.portal-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(260px, 1fr);
  gap: 36px;
}
.portal-dashboard-main {
  min-width: 0;
}
.portal-profile {
  padding-left: 30px;
  border-left: 1px solid var(--line);
  grid-column: 2;
  grid-row: 1/5;
  overflow-wrap: anywhere;
}
.portal-profile h2 {
  margin: 8px 0 22px;
}
.portal-profile dl {
  margin: 0 0 24px;
}
.portal-profile dl > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.portal-profile dd {
  margin: 0;
}
.portal-profile .portal-button {
  width: 100%;
  font-size: 21px;
}
.portal-profile img {
  width: 100%;
  margin-top: 35px;
  mix-blend-mode: multiply;
}
.portal-profile .portal-note {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 28px;
}
.portal-payment {
  display: flex;
  align-items: center;
  gap: 32px;
  background: #8e2a38;
  color: #fffcf6;
  border: 1px solid var(--gold);
  border-radius: 9px;
  padding: 20px 28px;
  margin-bottom: 24px;
}
.portal-payment-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.portal-payment-amount {
  font:
    600 49px/1.05 Display,
    Georgia,
    serif;
}
.portal-payment-details {
  border-left: 1px solid var(--gold);
  padding-left: 28px;
}
.portal-payment-details strong {
  display: block;
  font:
    600 30px/1.2 Display,
    Georgia,
    serif;
  margin-bottom: 3px;
}
.portal-payment-details p {
  font-size: 14px;
}
.portal-booking {
  border: 1px solid var(--gold);
  border-radius: 9px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fffefd;
}
.portal-booking-top {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}
.portal-van {
  width: 155px;
  mix-blend-mode: multiply;
}
.portal-booking-heading {
  flex: 1;
  min-width: 0;
}
.portal-booking-heading h3 {
  font-size: 31px;
  margin-bottom: 5px;
}
.portal-booking-meta {
  font-size: 14px;
  color: var(--muted);
}
.portal-booking-price {
  text-align: right;
  flex-shrink: 0;
}
.portal-booking-price strong {
  display: block;
  color: var(--navy);
  font:
    600 30px/1.3 Display,
    Georgia,
    serif;
}
.portal-status {
  display: inline-block;
  background: #f3ead7;
  color: #66522b;
  border-radius: 20px;
  padding: 3px 11px;
  font-size: 12px;
  margin: 0 0 6px;
}
.portal-status.confirmed {
  background: #eaf2df;
  color: #415c31;
}
.portal-status.cancelled,
.portal-status.completed {
  background: #eeeae5;
  color: #635c63;
}
.portal-ride-line {
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.8fr 1fr;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
  font-size: 14px;
}
.portal-ride-line h4 {
  font:
    600 24px/1.1 Display,
    Georgia,
    serif;
  color: var(--navy);
  margin: 0 0 4px;
}
.portal-ride-line > div + div {
  border-left: 1px solid var(--line);
  padding-left: 15px;
}
.portal-ride-line .ride-due {
  text-align: right;
}
.portal-booking > .portal-button {
  margin-top: 8px;
}
.portal-muted {
  color: var(--muted);
}
.portal-history {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 28px;
}
.portal-history > summary {
  font:
    600 27px/1.4 Display,
    Georgia,
    serif;
  color: var(--navy);
  padding: 10px 0;
  cursor: pointer;
}
.portal-history .portal-booking {
  margin-top: 16px;
}
.portal-empty {
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: 9px;
}
.portal-empty p {
  margin: 12px 0 20px;
}
.portal-narrow {
  max-width: 610px;
  margin: auto;
}
.portal-detail {
  max-width: 880px;
  margin: auto;
}
.portal-detail-heading {
  margin-bottom: 24px;
}
.portal-detail-heading h1 {
  font-size: 45px;
}
.portal-detail-heading .portal-note {
  margin-top: 8px;
}
.portal-detail-ride {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.portal-detail-ride header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}
.portal-detail-ride h2 {
  font-size: 32px;
}
.portal-detail-ride .ride-copy p {
  margin: 5px 0;
}
.portal-detail-ride .ride-copy strong {
  font-weight: 600;
}
.portal-ride-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.portal-ride-actions .portal-button {
  font-size: 20px;
  min-height: 44px;
  padding: 9px 22px;
}
.portal-info {
  padding: 13px 16px;
  background: #f8f1e4;
  border-radius: 7px;
  font-size: 14px;
  margin: 18px 0;
}
.portal-card-line {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  margin: 16px 0;
}
.portal-total {
  font-size: 18px;
  margin: 18px 0;
}
.portal-total strong {
  font:
    600 32px Display,
    Georgia,
    serif;
  color: var(--navy);
  margin-left: 12px;
}
.portal-dispatch {
  margin-top: 15px;
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px 16px;
}
.portal-dispatch p {
  white-space: pre-line;
}
.portal-form {
  margin-top: 25px;
}
.portal-form .field {
  font-size: 15px;
  margin: 0 0 20px;
  color: var(--ink);
}
.portal-form .field input,
.portal-form .field select {
  font-size: 16px;
  border: 1px solid #cfc5b8;
  border-radius: 7px;
  min-height: 51px;
  background: #fffefd;
  padding: 12px 14px;
  color: var(--ink);
}
.portal-form .field input[readonly] {
  background: #f3efe8;
  color: var(--muted);
}
.portal-form .field [aria-invalid="true"] {
  border: 2px solid #b43329;
  background: #fff4ec;
}
.portal-form .field-error {
  font-size: 14px;
}
.portal-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.portal-form details {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 16px;
  margin: 10px 0 20px;
}
.portal-form details summary {
  padding: 15px 0;
  color: var(--navy);
  font-weight: 500;
}
.portal-form details .field:first-of-type {
  margin-top: 12px;
}
.portal-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.portal-form .portal-note {
  margin: 12px 0 0;
}
.portal-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #982c3b;
  flex: none;
  margin-top: 3px;
}
.portal-consent {
  display: flex;
  align-items: start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  margin: 18px 0;
}
.portal-review {
  border-block: 1px solid var(--line);
  margin: 24px 0;
  padding: 16px 0;
}
.portal-review dl {
  margin: 0;
}
.portal-review dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
}
.portal-review dt {
  font-weight: 500;
}
.portal-review dd {
  margin: 0;
  text-align: right;
}
.portal-review dd del {
  color: var(--muted);
  display: block;
}
.portal-review dd ins {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
}
.portal-fee {
  text-align: center;
  padding: 23px 0;
}
.portal-fee h2 {
  font-size: 30px;
}
.portal-fee strong {
  font:
    600 70px/1.1 Display,
    Georgia,
    serif;
  color: var(--navy);
  display: block;
  margin: 6px 0;
}
.portal-fee p {
  font-size: 15px;
}
.portal-reassurance {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 22px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.portal-auth {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}
.portal-auth .portal-back {
  display: flex;
  justify-content: flex-start;
}
.portal-auth h1 {
  font-size: 64px;
}
.portal-auth h2 {
  font-size: 34px;
  margin: 15px 0;
}
.portal-auth .portal-intro {
  font-size: 17px;
  margin: 18px 0 24px;
}
.portal-auth .portal-form {
  text-align: left;
}
.portal-auth .field {
  margin-bottom: 20px;
}
.portal-auth-art {
  width: 360px;
  margin: 30px auto 0;
  mix-blend-mode: multiply;
}
.portal-auth .portal-note {
  margin-top: 14px;
}
.portal-code {
  width: 100%;
  border: 1px solid #cfc5b8;
  background: #fffefd;
  border-radius: 9px;
  padding: 14px;
  font:
    600 38px/1.2 Display,
    Georgia,
    serif;
  text-align: center;
  letter-spacing: 0.45em;
  min-height: 70px;
  margin: 6px 0 22px;
  color: var(--navy);
}
.portal-phone-countries {
  display: flex;
  gap: 6px;
  margin: 0 0 10px;
  flex-wrap: wrap;
}
.portal-phone-countries button {
  border: 1px solid var(--line);
  background: #fffefd;
  color: var(--navy);
  min-height: 42px;
  border-radius: 7px;
  padding: 7px 14px;
  font-size: 14px;
}
.portal-phone-countries button[aria-pressed="true"] {
  background: #982c3b;
  color: #fffefd;
}
.portal-phone-row {
  display: flex;
  gap: 10px;
}
.portal-phone-row > input {
  flex: 1;
  min-width: 0;
}
.portal-phone-row > label {
  width: 95px;
  flex: none;
}
.portal-phone-row > label span {
  font-size: 12px;
  display: block;
}
.portal-form .schedule-trigger {
  background: #fffefd;
  border-color: #cfc5b8;
  border-radius: 7px;
  box-shadow: none;
  font-size: 24px;
  min-height: 51px;
  color: var(--navy);
}
.portal-form .schedule-panel {
  background: #faf4e8;
  box-shadow: none;
  border-radius: 9px;
}
.portal-form .schedule-title {
  font-family: Display, Georgia, serif;
  font-weight: 600;
}
.portal-form .schedule-set {
  background: #982c3b;
  border-color: var(--gold);
  box-shadow: none;
}
.portal-form .schedule-tile {
  box-shadow: none;
  transform: none;
}
.portal-footer {
  background: #8e2a38;
  color: #fffcf6;
  border-top: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px max(32px, calc((100vw - 1236px) / 2));
  gap: 30px;
}
.portal-footer img {
  width: 205px;
}
.portal-footer nav {
  display: flex;
  gap: 35px;
  font-size: 13px;
}
.portal-footer a {
  text-decoration: none;
}
.portal-footer a:hover {
  text-decoration: underline;
}
.portal-noscript {
  padding: 32px;
  text-align: center;
}
@media (max-width: 900px) {
  .portal-header img {
    width: 255px;
  }
  .portal-dashboard {
    grid-template-columns: 1fr;
  }
  .portal-profile {
    grid-column: auto;
    grid-row: auto;
    border-left: 0;
    border-block: 1px solid var(--line);
    padding: 16px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 20px;
  }
  .portal-profile h2 {
    margin: 0;
    font-size: 28px;
  }
  .portal-profile dl {
    width: 100%;
    margin: 8px 0 0;
    order: 3;
  }
  .portal-profile dl > div {
    display: block;
    border: 0;
    padding: 0;
  }
  .portal-profile dt {
    display: none;
  }
  .portal-profile .portal-button {
    width: auto;
    border: 0;
    padding: 6px 0;
    font:
      14px DM,
      sans-serif;
    text-decoration: underline;
    min-height: 36px;
  }
  .portal-profile img,
  .portal-profile .portal-note {
    display: none;
  }
  .portal-dashboard-main {
    display: contents;
  }
  .portal-dashboard-title {
    order: -3;
  }
  .portal-profile {
    order: -2;
  }
  .portal-payment {
    order: -1;
  }
  .portal-dashboard {
    gap: 20px;
  }
  .portal-intro {
    margin-bottom: 0;
  }
  .portal-dashboard .portal-section-title {
    margin-top: 0;
  }
  .portal-dashboard-list {
    min-width: 0;
  }
  .portal-payment {
    margin-bottom: 0;
  }
  .portal-header nav {
    gap: 18px;
  }
  .portal-header nav button {
    padding-left: 18px;
  }
}
@media (max-width: 600px) {
  .portal-header {
    padding: 13px 22px 20px;
    border-radius: 0 0 50% 50% / 0 0 11px 11px;
  }
  .portal-header > div {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  .portal-header img {
    width: 250px;
  }
  .portal-header nav {
    justify-content: center;
    width: 100%;
    gap: 28px;
  }
  .portal-header nav a,
  .portal-header nav button {
    min-height: 32px;
    font-size: 13px;
  }
  .portal-header nav button {
    padding-left: 23px;
  }
  #portal {
    padding: 26px 22px 32px;
  }
  .portal-page h1 {
    font-size: 44px;
  }
  .portal-page h2 {
    font-size: 29px;
  }
  .portal-back {
    margin-bottom: 22px;
  }
  .portal-auth h1 {
    font-size: 53px;
  }
  .portal-auth h2 {
    font-size: 30px;
  }
  .portal-auth .portal-intro {
    font-size: 16px;
  }
  .portal-auth-art {
    max-width: 90%;
    margin-top: 22px;
  }
  .portal-payment {
    gap: 18px;
    padding: 18px;
  }
  .portal-payment-amount {
    font-size: 47px;
  }
  .portal-payment-details {
    padding-left: 18px;
  }
  .portal-payment-details strong {
    font-size: 25px;
  }
  .portal-payment-details p {
    font-size: 12px;
  }
  .portal-payment-label {
    font-size: 10px;
  }
  .portal-booking {
    padding: 16px;
  }
  .portal-van {
    display: none;
  }
  .portal-booking-top {
    align-items: start;
    gap: 10px;
  }
  .portal-booking-heading h3 {
    font-size: 28px;
  }
  .portal-booking-meta {
    font-size: 13px;
  }
  .portal-booking-price strong {
    font-size: 28px;
  }
  .portal-status {
    font-size: 11px;
  }
  .portal-ride-line {
    grid-template-columns: 1fr 1fr;
    gap: 5px 16px;
  }
  .portal-ride-line > div + div {
    border: 0;
    padding: 0;
  }
  .portal-ride-line > div:nth-child(2) {
    grid-column: 1;
    grid-row: auto;
  }
  .portal-ride-line > div:nth-child(3) {
    font-size: 12px;
    grid-column: 1;
  }
  .portal-ride-line .ride-due {
    grid-column: 2;
    grid-row: 1/4;
    border-left: 1px solid var(--line);
    padding-left: 10px;
    align-self: center;
  }
  .portal-ride-line h4 {
    font-size: 24px;
  }
  .portal-detail-heading h1 {
    font-size: 39px;
  }
  .portal-detail-ride {
    padding: 21px 0;
  }
  .portal-detail-ride header {
    align-items: start;
  }
  .portal-detail-ride h2 {
    font-size: 29px;
  }
  .portal-form .form-grid {
    gap: 0 13px;
  }
  .portal-form .schedule-trigger {
    font-size: 21px;
    padding-inline: 10px;
  }
  .portal-form .schedule-trigger svg {
    width: 20px;
  }
  .portal-review {
    font-size: 14px;
  }
  .portal-review dl > div {
    gap: 15px;
  }
  .portal-card-line {
    padding: 10px 12px;
    font-size: 14px;
  }
  .portal-footer {
    flex-direction: column;
    padding: 22px;
    gap: 18px;
  }
  .portal-footer img {
    width: 185px;
  }
  .portal-footer nav {
    gap: 25px;
    font-size: 12px;
  }
  .portal-code {
    font-size: 34px;
    letter-spacing: 0.4em;
  }
  .portal-form .field {
    font-size: 14px;
  }
  .portal-phone-countries {
    gap: 6px;
  }
  .portal-phone-countries button {
    padding: 7px 11px;
  }
  .portal-detail .portal-total {
    font-size: 16px;
  }
}
@media (max-width: 360px) {
  #portal {
    padding-inline: 17px;
  }
  .portal-header {
    padding-inline: 17px;
  }
  .portal-header nav {
    gap: 20px;
  }
  .portal-auth h1 {
    font-size: 47px;
  }
  .portal-payment {
    padding: 14px;
    gap: 13px;
  }
  .portal-payment-details {
    padding-left: 13px;
  }
  .portal-payment-details strong {
    font-size: 23px;
  }
  .portal-form .form-grid {
    grid-template-columns: 1fr;
  }
  .portal-code {
    letter-spacing: 0.3em;
  }
  .portal-booking {
    padding: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portal-page {
    scroll-behavior: auto;
  }
  .portal-page * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
