/* A native stretched link keeps cards navigable without intercepting actions. */
.booking-page-modern .reservation-details-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 18px;
}
.booking-page-modern .reservation-details-link:focus-visible::after {
  outline: 3px solid #25895a;
  outline-offset: -3px;
}
.booking-page-modern [data-reservation-card]:has(.reservation-details-link) {
  cursor: pointer;
}
.booking-page-modern [data-reservation-card] :is(a, button, form) {
  position: relative;
  z-index: 2;
}
.booking-page-modern [data-reservation-card] .reservation-details-link {
  position: static;
  z-index: auto;
}

/* Complete reservation view. Compact booking-list cards keep their existing layout. */
.booking-detail-page .booking-detail-main { background: #f4f7f5; padding: 24px 0 64px; min-height: 65vh; }
body.booking-detail-page .booking-detail-container { max-width: 1220px; }
.booking-detail-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #78837c; font-size: 11px; line-height: 20px; margin-bottom: 22px; }
.booking-detail-breadcrumb a { color: #65766b; }
.booking-detail-breadcrumb > i { color: #a5b3aa; }
.booking-detail-breadcrumb [aria-current] { color: #263f31; }
.booking-detail-back { display: inline-flex; align-items: center; gap: 9px; color: #34734f; font-size: 12px; font-weight: 700; line-height: 22px; }
.booking-detail-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 26px 0; }
.booking-detail-page .booking-section-kicker { color: #448160; letter-spacing: .14em; }
.booking-detail-heading h1 { color: #193e2b; font-size: 38px; font-weight: 800; letter-spacing: -.045em; line-height: 1.2; margin: 0 0 10px; }
.booking-detail-heading h1 > span { color: #779080; }
.booking-detail-heading p:last-child { color: #6b7c71; font-size: 13px; line-height: 22px; margin: 0; }
.booking-detail-heading .booking-live-status { flex: 0 1 auto; margin-bottom: 3px; }
.booking-detail-page .booking-list { display: block; }
body.booking-detail-page .booking-card[data-reservation-card], body.booking-detail-page .booking-card[data-reservation-card]:hover { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; padding: 0; }
.booking-detail-page [data-reservation-card] { --detail-border: #e0e8e2; --detail-green: #276d49; --detail-muted: #6c7b72; color: #294333; }
.booking-detail-page [data-reservation-card] :is(h2, h3, p, dl) { margin-top: 0; }
.booking-detail-reference { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border: 1px solid var(--detail-border); border-radius: 14px 14px 0 0; padding: 24px 28px; }
.booking-detail-page .booking-detail-reference .reservation-reference-icon { height: 54px; flex-basis: 54px; font-size: 26px; border: 0; background: #edf5ef; }
.booking-detail-reference h2 { font-size: 23px; font-weight: 800; line-height: 30px; color: #203d2c; margin: 3px 0 4px; overflow-wrap: anywhere; }
.booking-detail-reference p { color: var(--detail-muted); font-size: 11px; line-height: 18px; margin: 0; }
.booking-detail-page [data-reservation-card] .booking-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.booking-detail-page [data-reservation-card] :is(.booking-status, .booking-payment) { font-size: 11px; padding: 7px 11px; }
.booking-detail-progress { background: #edf4ef; border: 1px solid #dce8df; border-top: 0; border-radius: 0 0 14px 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0 0 24px; padding: 20px 28px; }
.booking-detail-progress li { align-items: center; color: #7b8c80; display: flex; gap: 12px; min-width: 0; font-size: 12px; font-weight: 700; line-height: 19px; }
.booking-detail-progress li > span { align-items: center; border: 1px solid #cbd9cf; border-radius: 50%; display: inline-flex; flex: 0 0 30px; height: 30px; justify-content: center; background: #f5f8f6; color: #83988a; }
.booking-detail-progress li > span > i { margin: 0; padding: 0; line-height: 1; text-align: center; }
.booking-detail-progress li.is-done { color: #2d6544; }
.booking-detail-progress li.is-done > span { background: #247f4e; border-color: #247f4e; color: #fff; }
.booking-detail-progress li[aria-current="step"] > span { box-shadow: 0 0 0 4px #d6e9dc; }
.booking-detail-cancelled { display: flex; align-items: flex-start; gap: 12px; padding: 18px 28px; margin-bottom: 24px; border: 1px solid #eadbde; background: #fcf3f4; color: #965060; border-radius: 0 0 14px 14px; font-size: 12px; line-height: 21px; }
.booking-detail-cancelled > i { margin-top: 4px; }
.booking-detail-cancelled p { margin: 4px 0; white-space: pre-line; overflow-wrap: anywhere; }
.booking-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 24px; }
.booking-detail-content, .booking-detail-sidebar { display: grid; gap: 22px; min-width: 0; }
.booking-detail-panel { background: #fff; border: 1px solid var(--detail-border); border-radius: 14px; min-width: 0; overflow: hidden; padding: 24px; }
.booking-detail-panel-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.booking-detail-page .booking-detail-panel-heading h2 { display: flex; align-items: center; gap: 10px; color: #284834; font-size: 15px; font-weight: 700; line-height: 23px; margin: 0; }
.booking-detail-panel-heading h2 i { color: #629475; font-size: 15px; }
.booking-detail-panel-heading > :is(a, span) { color: #738178; font-size: 10px; line-height: 18px; }
.booking-detail-panel-heading > a { color: var(--detail-green); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.booking-detail-van-overview { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.booking-detail-gallery { min-width: 0; }
.booking-detail-van-photo { display: block; position: relative; aspect-ratio: 16 / 10; background: #f2f5f2; border: 1px solid #e4ebe5; border-radius: 12px; overflow: hidden; touch-action: pan-y pinch-zoom; }
.booking-detail-van-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.booking-detail-gallery-controls { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 16px; pointer-events: none; }
.booking-detail-gallery-controls[hidden] { display: none; }
.booking-detail-page [data-reservation-card] .booking-detail-gallery-arrow { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 1px solid #dce6df; border-radius: 50%; background: rgba(255, 255, 255, .95); color: #315f42; box-shadow: 0 3px 12px rgba(28, 57, 39, .12); font-size: 26px; line-height: 1; cursor: pointer; pointer-events: auto; }
.booking-detail-page .booking-detail-gallery-arrow i { position: static; margin: 0; padding: 0; width: 1em; line-height: 1; text-align: center; }
.booking-detail-page .booking-detail-gallery-arrow:hover { background: #eaf3ed; border-color: #8db69b; }
.booking-detail-gallery-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); border-radius: 20px; background: rgba(27, 54, 38, .8); color: #fff; padding: 5px 12px; font-size: 11px; line-height: 18px; letter-spacing: .04em; }
.booking-detail-van-copy { min-width: 0; }
.booking-detail-van-copy .booking-detail-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.booking-detail-page .booking-detail-van-copy h3 { color: #23402d; font-size: 24px; font-weight: 700; letter-spacing: -.04em; line-height: 1.25; margin-bottom: 18px; overflow-wrap: anywhere; }
.booking-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 20px; margin-bottom: 0; }
.booking-detail-facts > div { min-width: 0; }
.booking-detail-facts dt { color: #77837a; font-size: 10px; font-weight: 500; line-height: 17px; margin-bottom: 3px; }
.booking-detail-facts dd { color: #354d3d; font-size: 12px; font-weight: 600; line-height: 19px; margin: 0; overflow-wrap: anywhere; }
.booking-detail-photos { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; padding: 4px; margin-top: 12px; scrollbar-width: thin; }
.booking-detail-page [data-reservation-card] .booking-detail-photos button { flex: 0 0 112px; width: 112px; padding: 3px; margin: 0; background: #f6f8f6; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; }
.booking-detail-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; }
.booking-detail-page .booking-detail-photos button[aria-current="true"] { border-color: #39865a; background: #eaf4ed; }
.booking-detail-page .booking-detail-photos button:hover { border-color: #9fc6ac; }
.booking-detail-page :is(.booking-detail-photos button, .booking-detail-gallery-arrow, .booking-detail-van-photo):focus-visible { outline: 2px solid #247f4e; outline-offset: 2px; }
.booking-detail-amenities { border-top: 1px solid #edf1ee; padding-top: 18px; margin-top: 20px; }
.booking-detail-page :is(.booking-detail-amenities, .booking-detail-people, .booking-detail-request, .booking-detail-manage) h3, .booking-detail-page .booking-detail-manage h2 { font-size: 12px; font-weight: 700; line-height: 20px; margin-bottom: 12px; color: #37553f; }
.booking-detail-amenities ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.booking-detail-page .booking-detail-amenities li { background: #f0f6f1; border: 1px solid #e7eee8; padding: 5px 10px; border-radius: 6px; color: #4e7059; font-size: 11px; line-height: 18px; width: auto; margin: 0; text-align: left; }
.booking-detail-amenities li i { margin-right: 3px; font-size: 10px; }
.booking-detail-documents { border-top: 1px solid #edf1ee; padding-top: 18px; margin-top: 20px; }
.booking-detail-page .booking-detail-documents h3 { font-size: 12px; line-height: 20px; font-weight: 700; margin-bottom: 12px; color: #37553f; }
.booking-detail-documents ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.booking-detail-page .booking-detail-documents li { width: auto; margin: 0; padding: 0; }
.booking-detail-page .booking-detail-documents .booking-detail-document-button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 76px; max-width: 100%; padding: 14px; border: 1px solid #dce7df; border-radius: 12px; background: #fbfdfb; font-size: 12px; font-weight: 600; line-height: 19px; text-align: left; text-decoration: none; color: #294d36; box-shadow: 0 2px 4px #193e2b04; transition: background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.booking-detail-document-button span { min-width: 0; overflow-wrap: anywhere; }
.booking-detail-page .booking-detail-document-button i { position: static; flex: 0 0 auto; margin: 0; padding: 0; line-height: 1; }
.booking-detail-document-icon { display: grid; place-items: center; flex: 0 0 36px; height: 42px; border: 1px solid #dce9df; border-radius: 9px; background: #eef6f0; color: #357a50; font-size: 18px; }
.booking-detail-document-copy { display: grid; flex: 1; gap: 3px; }
.booking-detail-document-copy small { color: #7b8a7f; font-size: 10px; font-weight: 400; line-height: 16px; }
.booking-detail-page .booking-detail-document-button .booking-detail-document-preview { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #edf5ef; color: #4e7f5e; font-size: 12px; }
.booking-detail-page .booking-detail-documents .booking-detail-document-button:hover { background: #f0f7f2; border-color: #a3c6ae; color: #20643a; box-shadow: 0 4px 12px #193e2b0a; }
.booking-detail-page .booking-detail-document-button:focus-visible { outline: 3px solid #4aba82; outline-offset: 3px; }
.booking-detail-muted { color: var(--detail-muted); font-size: 12px; margin-bottom: 0; }
.booking-detail-route { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; background: #f7faf7; border: 1px solid #e4ece5; border-radius: 10px; padding: 22px 20px; }
.booking-detail-route-stop { position: relative; padding-left: 21px; min-width: 0; }
.booking-detail-route-dot { position: absolute; top: 5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #328355; border: 2px solid #328355; }
.booking-detail-route-stop + .booking-detail-route-stop .booking-detail-route-dot { background: #fff; }
.booking-detail-route-stop p { text-transform: uppercase; letter-spacing: .1em; font-size: 10px; color: #6a8171; font-weight: 700; line-height: 18px; margin-bottom: 6px; }
.booking-detail-route-stop strong { display: block; color: #294c35; font-size: 16px; line-height: 25px; margin-bottom: 7px; }
.booking-detail-route-stop > span:last-child { color: #738077; display: block; font-size: 12px; line-height: 20px; overflow-wrap: anywhere; }
.booking-detail-trip-strip { display: flex; flex-wrap: wrap; gap: 9px 22px; padding: 16px 0 22px; color: #62816b; font-size: 11px; line-height: 19px; }
.booking-detail-trip-strip i { margin-right: 5px; }
.booking-detail-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; border-top: 1px solid #edf1ee; padding-top: 22px; }
.booking-detail-people > div { min-width: 0; }
.booking-detail-people h3 i, .booking-detail-request h3 i { color: #73967c; margin-right: 7px; }
.booking-detail-people strong { display: block; font-size: 13px; line-height: 22px; overflow-wrap: anywhere; margin-bottom: 4px; }
.booking-detail-people p, .booking-detail-driver-phone { color: #687f6f; font-size: 12px; line-height: 20px; margin: 0; overflow-wrap: anywhere; }
.booking-detail-driver-phone { display: inline-flex; gap: 7px; align-items: center; color: #28714a; }
.booking-detail-people small { display: block; color: #87958a; font-size: 10px; line-height: 17px; margin-top: 8px; }
.booking-detail-request { margin-top: 22px; padding: 16px 18px; background: #fafbf9; border-left: 3px solid #cbdccf; border-radius: 0 7px 7px 0; }
.booking-detail-request h3 { margin-bottom: 6px; }
.booking-detail-request p { font-size: 12px; line-height: 21px; color: #6a796d; margin-bottom: 0; overflow-wrap: anywhere; }
.booking-detail-record + .booking-detail-record { border-top: 1px solid #e8eee9; margin-top: 20px; padding-top: 20px; }
.booking-detail-record-title { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.booking-detail-record-title > div { min-width: 0; }
.booking-detail-record-title > div:last-child { text-align: right; }
.booking-detail-page .booking-detail-record-title h3 { color: #314c3a; font-size: 13px; font-weight: 700; line-height: 21px; margin: 0 0 3px; overflow-wrap: anywhere; }
.booking-detail-record-title p { color: #829086; font-size: 10px; line-height: 18px; margin-bottom: 0; }
.booking-detail-record-title strong { display: block; font-size: 16px; color: #2c4b36; line-height: 23px; margin-bottom: 4px; overflow-wrap: anywhere; }
.booking-detail-record-status { display: inline-block; color: #7b6a45; background: #f8f3e8; border-radius: 5px; font-size: 10px; line-height: 16px; padding: 3px 7px; overflow-wrap: anywhere; }
.booking-detail-record-status.is-paid { background: #edf6ef; color: #38754e; }
.booking-detail-text-link { color: var(--detail-green); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 11px; line-height: 20px; margin-top: 16px; }
.booking-detail-empty-note { color: #7b897f; font-size: 12px; line-height: 21px; padding: 15px; border: 1px dashed #dfe7e1; border-radius: 8px; margin-bottom: 0; }
.booking-detail-preserve, .booking-detail-review { white-space: pre-line; overflow-wrap: anywhere; color: #6a7e70; font-size: 12px; line-height: 21px; margin: 15px 0 0; }
.booking-detail-review { background: #f6f8f5; padding: 12px; border-radius: 6px; }
.booking-detail-cost { padding: 0; }
body.booking-detail-page .reservation-summary { display: block; border: 0; border-radius: 0; margin: 0; padding: 24px; background: #fff; }
body.booking-detail-page .reservation-summary-heading { font-size: 13px; font-weight: 700; line-height: 21px; color: #3e6048; display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
body.booking-detail-page .reservation-breakdown { display: grid; gap: 12px; margin: 0; }
body.booking-detail-page .reservation-breakdown > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
body.booking-detail-page .reservation-breakdown :is(dt, dd) { font-size: 11px; line-height: 19px; margin: 0; }
body.booking-detail-page .reservation-breakdown dt { color: #78867b; font-weight: 400; }
body.booking-detail-page .reservation-breakdown dd { color: #3b5844; font-weight: 600; text-align: right; max-width: 58%; overflow-wrap: anywhere; }
body.booking-detail-page .reservation-total { background: #f0f6f1; border: 1px solid #e1ebe3; border-radius: 10px; padding: 18px; margin: 22px 0 18px; text-align: left; }
body.booking-detail-page .reservation-total > span { color: #67816d; font-size: 10px; line-height: 17px; text-transform: uppercase; letter-spacing: .09em; }
body.booking-detail-page .reservation-total > strong { color: #25623e; display: block; font-size: 37px; line-height: 46px; letter-spacing: -.045em; margin: 4px 0; overflow-wrap: anywhere; }
.booking-detail-page .reservation-total small { display: block; color: #77917e; font-size: 10px; line-height: 18px; }
.booking-detail-page .reservation-payment-detail { border-top: 1px solid #e5ece6; margin-top: 22px; padding-top: 22px; }
.booking-detail-page .reservation-payment-detail .reservation-breakdown { margin-bottom: 15px; }
.reservation-payment-link { display: inline-flex; align-items: center; gap: 9px; color: #24774a; font-size: 11px; font-weight: 700; }
.booking-detail-manage { background: #fafcf9; border-top: 1px solid #e5ece6; padding: 22px 24px; }
body.booking-detail-page .booking-detail-manage .reservation-footer { display: block; border: 0; background: transparent; padding: 0; }
.booking-detail-page .booking-detail-manage .reservation-booked { display: none; }
body.booking-detail-page .booking-card .reservation-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; width: 100%; }
body.booking-detail-page .booking-card .reservation-actions > :is(a, button, form) { width: 100%; margin: 0; }
body.booking-detail-page .booking-card .reservation-actions .booking-button { width: 100%; justify-content: center; border-radius: 7px; padding: 11px 14px; font-size: 11px; line-height: 19px; }
body.booking-detail-page .reservation-actions .booking-button-primary { background: #2c7c4e; border-color: #2c7c4e; color: #fff; }
body.booking-detail-page .reservation-actions .booking-button-primary:hover { background: #21613c; border-color: #21613c; }
body.booking-detail-page .reservation-actions .booking-action-note { color: #7b897e; font-size: 11px; line-height: 19px; margin: 0; }
.booking-detail-page .booking-refund-details-panel { margin: 18px 0 0; padding: 16px; }
.booking-detail-page .booking-refund-details-grid { grid-template-columns: 1fr; }
.booking-detail-activity ol { list-style: none; padding: 0; margin: 0; }
.booking-detail-activity li { display: flex; gap: 13px; align-items: flex-start; position: relative; padding-bottom: 22px; }
.booking-detail-activity li:last-child { padding-bottom: 0; }
.booking-detail-activity li:not(:last-child)::before { content: ''; position: absolute; top: 27px; left: 13px; bottom: 2px; width: 1px; background: #e2eae3; }
.booking-detail-event-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 27px; width: 27px; height: 27px; padding: 0; border-radius: 50%; background: #eff5f0; color: #679574; font-size: 11px; line-height: 1; text-align: center; }
.booking-detail-page .booking-detail-event-icon > i { position: static; display: block; width: 1em; height: 1em; margin: 0; padding: 0; font-size: 11px; line-height: 1; text-align: center; transform: none; }
.booking-detail-activity li > div { min-width: 0; }
.booking-detail-activity li strong { display: block; color: #54715c; font-size: 11px; font-weight: 600; line-height: 19px; overflow-wrap: anywhere; }
.booking-detail-activity li div > span { display: block; color: #8a968e; font-size: 10px; line-height: 18px; margin-top: 3px; }
.booking-detail-policy { display: flex; gap: 10px; padding: 0 4px; color: #8a9b8f; }
.booking-detail-policy > i { margin-top: 4px; }
.booking-detail-policy p { font-size: 11px; line-height: 20px; margin-bottom: 0; }
.booking-detail-policy a { color: #4c7d5d; font-weight: 600; }
.booking-detail-help { display: flex; align-items: center; gap: 16px; padding: 24px 4px 0; margin-top: 6px; }
.booking-detail-help-icon { display: inline-flex; align-items: center; justify-content: center; background: #e6efe9; color: #478362; width: 44px; height: 44px; border-radius: 12px; flex: 0 0 44px; font-size: 22px; }
.booking-detail-help h2 { color: #395844; font-size: 14px; font-weight: 700; line-height: 22px; margin: 0 0 3px; }
.booking-detail-help p { color: #728176; font-size: 12px; line-height: 20px; margin: 0; }
.booking-detail-help > a { display: inline-flex; align-items: center; gap: 10px; color: #2a7449; font-size: 12px; font-weight: 700; margin-left: auto; flex-shrink: 0; }
.booking-detail-empty { background: #fff; border: 1px solid #dfe8e2; border-radius: 18px; margin: 30px auto; padding: 60px 28px; text-align: center; max-width: 760px; }
.booking-detail-empty-icon { display: inline-flex; align-items: center; justify-content: center; background: #edf5ef; color: #39855a; border-radius: 16px; width: 64px; height: 64px; font-size: 28px; margin-bottom: 24px; }
.booking-detail-empty h1 { font-size: 28px; line-height: 1.3; letter-spacing: -.03em; color: #234630; margin: 10px 0; }
.booking-detail-empty > p:not(.booking-section-kicker) { color: #6a7b70; font-size: 13px; line-height: 22px; max-width: 480px; margin: 0 auto 24px; }
.booking-detail-page :is(.booking-detail-back, .booking-detail-breadcrumb a, .booking-detail-help a, [data-reservation-card] a):focus-visible { outline: 2px solid #247f4e; outline-offset: 4px; border-radius: 3px; }
@media (min-width: 768px) and (max-width: 1100px) {
  .booking-detail-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
  .booking-detail-van-overview { grid-template-columns: 1fr; }
  .booking-detail-van-copy .booking-detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-detail-panel { padding: 20px; }
  .booking-detail-cost { padding: 0; }
  .booking-detail-route { grid-template-columns: 1fr; gap: 20px; }
}
