/* Vessel media, notifications and the post-booking journey. */
.vessel-photo { --vessel-photo: none; display: block; position: relative; isolation: isolate; overflow: hidden; width: 100%; aspect-ratio: 16 / 10; border-radius: 16px; background: #d8ece8; }
.vessel-photo::before { content: ''; position: absolute; inset: -24px; background-image: linear-gradient(#1a5c5825,#0a485550), var(--vessel-photo); background-size: cover; background-position: center; filter: blur(16px); z-index: -1; }
.vessel-photo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 7px; border-radius: 18px; }
.vessel-photo .photo-label { position: absolute; bottom: 12px; left: 12px; font-size: 8px; letter-spacing: .5px; color: white; background: #113c4ccb; padding: 4px 8px; border-radius: 6px; backdrop-filter: blur(6px); }
.vessel-photo.photo-fallback::before { background: linear-gradient(135deg,#d8ece8,#edf5f1); }
.captain-photo { width: 52px; height: 52px; flex: none; display: grid; place-items: center; position: relative; background: #dceee9; border: 3px solid white; box-shadow: 0 0 0 1px #dce9e4; border-radius: 50%; overflow: hidden; color: #16766f; font-weight: 800; }
.captain-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 51% 32%; }
.captain-photo img[hidden] { display: none; }
.boat-rating { display: inline-flex; align-items: center; gap: 5px; color: #163e4e; font-size: 12px; }
.boat-rating > span { color: #d49b27; font-size: 15px; }
.boat-rating small { color: #789099; font-size: 10px; font-weight: 500; }
.boat-spec > .boat-rating { margin-bottom: 13px; }
.result-boat { grid-template-columns: 125px minmax(0,1fr); gap: 16px; padding: 14px; box-shadow: 0 2px 7px #163e4e03; }
.result-boat > .vessel-photo { grid-column: 1; grid-row: 1; align-self: stretch; aspect-ratio: auto; min-height: 155px; border-radius: 10px; }
.result-boat .vessel-photo img { padding: 4px; border-radius: 12px; }
.result-boat .photo-label { left: 8px; bottom: 8px; font-size: 7px; }
.result-boat .result-description { grid-column: 2; gap: 7px; justify-content: center; }
.result-boat .result-description > strong { font-size: 17px; }
.result-boat .result-price { padding-top: 14px; }
.result-boat .result-price strong { font-size: 17px; }
.photo-showcase { padding: 0; min-height: 0; height: auto; display: block; position: relative; background: none; }
.photo-showcase > .vessel-photo { height: 100%; min-height: 320px; }
.photo-showcase .vessel-photo img { position: relative; inset: auto; width: 100%; height: 100%; max-width: 100%; margin: 0; }
.photo-showcase > .pill { position: absolute; top: 16px; left: 16px; color: #123f4f; background: #fffffff0; z-index: 1; }
.checkout-vessel { position: relative; margin-bottom: 20px; }
.checkout-vessel .vessel-photo { aspect-ratio: 2 / 1; }
.checkout-vessel > .boat-rating { position: absolute; top: 10px; right: 10px; background: white; padding: 3px 9px; border-radius: 7px; }
.confirmation-photo { margin: -15px -15px 24px; }
.confirmation-photo .vessel-photo { aspect-ratio: 1.9; }
.confirmation-track { margin-bottom: 10px; }
.wizard-complete > .success-mark { width: 54px; height: 54px; margin-bottom: 18px; }

.trip-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.trip-heading h1 { font-size: 29px; margin: 8px 0; letter-spacing: -.9px; }
.trip-heading p { font-size: 13px; max-width: 550px; }
.trip-heading > a, .trip-heading > button { flex: none; }
.trip-view { max-width: 1200px; margin: auto; }
.tracking-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(320px,.9fr); gap: 24px; align-items: start; }
.navigation-map { position: sticky; top: 100px; height: 610px; border-radius: 22px; overflow: hidden; background: #dcefed; border: 1px solid #ccdfdc; }
.navigation-map > svg { width: 100%; height: 100%; }
.map-topline { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.map-topline .pill { background: #ffffffef; padding: 8px 11px; box-shadow: 0 4px 10px #113d4b09; }
.map-demo { font-size: 8px; letter-spacing: 1px; color: #466c71; background: #ffffffb8; padding: 5px 8px; border-radius: 5px; }
.map-instruction { position: absolute; bottom: 18px; left: 18px; right: 18px; display: flex; align-items: center; gap: 12px; border-radius: 13px; padding: 18px; background: #ffffffed; box-shadow: 0 8px 20px #1c505313; }
.map-instruction > span { background: #dff2eb; color: #007e78; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.map-instruction strong { display: block; font-size: 12px; line-height: 1.6; }
.map-instruction small { display: block; font-size: 10px; color: #6b868d; margin-top: 4px; }
.trip-sheet { padding: 24px; }
.trip-estimate { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid #e5eeea; }
.trip-estimate small { display: block; color: #789097; font-size: 8px; letter-spacing: 1px; }
.trip-estimate strong { font-size: 31px; letter-spacing: -1px; line-height: 1.5; }
.trip-estimate > span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; background: #eaf6f0; border-radius: 9px; color: #198479; font-size: 11px; font-weight: 700; }
.trip-vessel { display: flex; align-items: center; gap: 16px; padding: 21px 0; }
.trip-vessel .vessel-photo { width: 105px; aspect-ratio: 1.2; flex: none; border-radius: 12px; }
.trip-vessel .photo-label, .feedback-trip .photo-label { display: none; }
.trip-vessel .eyebrow { font-size: 8px; }
.trip-vessel h2 { font-size: 19px; margin: 5px 0; }
.trip-captain { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-block: 1px solid #e5eeea; }
.trip-captain > div { flex: 1; }
.trip-captain small { display: block; font-size: 8px; letter-spacing: 1px; color: #789097; }
.trip-captain strong { display: block; font-size: 13px; margin: 3px 0; }
.trip-captain div > span { display: block; font-size: 9px; color: #789097; }
.trip-captain > .icon { color: #139085; width: 20px; }
.trip-route { padding: 22px 0; }
.trip-route > div { display: flex; gap: 13px; position: relative; }
.trip-route > div:first-child { padding-bottom: 20px; }
.trip-route > div:first-child::after { content: ''; position: absolute; left: 5px; top: 17px; bottom: 3px; border-left: 1px dashed #aacdc3; }
.trip-route i { width: 11px; height: 11px; border: 3px solid #008b87; border-radius: 50%; margin-top: 4px; flex: none; }
.trip-route > div:last-child i { border-radius: 3px; border-color: #123e52; }
.trip-route small { font-size: 8px; color: #81959b; letter-spacing: 1px; display: block; }
.trip-route strong { display: block; font-size: 13px; margin: 3px 0; }
.trip-route span > span { display: block; font-size: 10px; color: #789097; }
.trip-fare { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid #e5eeea; padding: 17px 0; font-size: 12px; }
.trip-fare > span { color: #789097; }
.trip-preview { border-top: 1px solid #e5eeea; padding-top: 17px; display: flex; flex-direction: column; align-items: center; gap: 13px; }
.trip-preview > span { font-size: 8px; letter-spacing: 1.3px; color: #789097; }
.trip-preview > small { color: #85989f; font-size: 9px; }
.trip-details-link { margin-top: 20px; font-size: 11px; display: flex; width: 100%; justify-content: center; }
.trip-empty { max-width: 600px; margin: 35px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 45px 30px; }
.trip-empty h1 { font-size: 27px; }
.trip-empty p { font-size: 13px; }

.trip-float { position: fixed; right: 28px; bottom: 24px; width: 380px; display: flex; align-items: center; gap: 13px; padding: 16px; background: #0b3d4c; border: 1px solid #ffffff30; color: white; border-radius: 17px; z-index: 38; box-shadow: 0 10px 35px #062d4a26; text-decoration: none; }
.trip-float:hover { background: #0e4c58; color: white; }
.trip-float-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #ffffff13; color: #8be2d0; flex: none; }
.trip-float-copy { min-width: 0; flex: 1; }
.trip-float-copy strong { display: block; font-size: 12px; line-height: 1.5; }
.trip-float-copy small { display: block; color: #b2cdd1; font-size: 10px; margin-top: 4px; }
.trip-float-arrow { color: #99d8ce; }
.has-trip-float .page { padding-bottom: 125px; }
body:has(.wizard-controls) .trip-float { bottom: 115px; }
body:has(.wizard-controls).has-trip-float .wizard { padding-bottom: 100px; }

.notifications-page { max-width: 880px; margin: auto; }
.notification-feed { display: flex; flex-direction: column; gap: 12px; }
.notification-row { display: flex; align-items: flex-start; gap: 18px; padding: 24px; border: 1px solid #e0eae6; border-radius: 17px; background: white; }
.notification-row.is-unread { border-color: #c4e2d7; background: linear-gradient(110deg,#f4fbf7,#fff); }
.notification-symbol { width: 43px; height: 43px; border-radius: 13px; color: #008c85; background: #e7f3ed; display: grid; place-items: center; flex: none; }
.notification-copy { flex: 1; min-width: 0; }
.notification-copy > button { display: block; width: 100%; border: 0; background: none; padding: 0; text-align: left; }
.notification-copy strong { font-size: 14px; line-height: 1.5; display: block; }
.notification-copy p { font-size: 11px; margin: 7px 0; line-height: 1.8; }
.notification-copy time { font-size: 9px; color: #92a1a6; }
.notification-copy i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #00a293; margin: 0 0 2px 8px; }
.notification-read { display: flex; align-items: center; gap: 5px; background: none; padding: 5px 0; border: 0; color: #14877d; font-size: 10px; white-space: nowrap; }
.notification-read-label { font-size: 9px; color: #92a1a6; }
.is-read .notification-symbol { background: #f0f4f3; color: #8ca4a2; }

.feedback-page { max-width: 590px; margin: 15px auto; padding: 36px; text-align: center; }
.feedback-check { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 19px; background: #e2f3e9; color: #168e79; }
.feedback-page h1 { font-size: 27px; letter-spacing: -.7px; }
.feedback-page > p { font-size: 12px; margin: 10px 0 26px; }
.feedback-trip { display: flex; align-items: center; gap: 15px; text-align: left; border-radius: 13px; background: #f3f8f5; padding: 12px; margin-bottom: 16px; }
.feedback-trip .vessel-photo { width: 105px; flex: none; aspect-ratio: 1.15; border-radius: 10px; }
.feedback-trip h2 { font-size: 16px; margin-bottom: 7px; }
.feedback-trip strong { display: block; font-size: 11px; line-height: 1.6; }
.feedback-trip small { display: block; color: #789097; font-size: 9px; margin-top: 6px; }
.feedback-page .trip-captain { text-align: left; }
.star-picker { border: 0; margin: 28px 0; padding: 0; }
.star-picker legend { float: none; font-size: 12px; font-weight: 700; }
.star-picker > div { display: flex; justify-content: center; gap: 6px; margin: 10px 0; }
.star-picker label { position: relative; cursor: pointer; width: 48px; height: 50px; display: grid; place-items: center; }
.star-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-picker label > span:first-of-type { color: #d8e4df; font-size: 43px; line-height: 1; transition: color .15s, transform .15s; }
.star-picker label.filled > span:first-of-type { color: #e7b241; }
.star-picker label:has(input:focus-visible) { outline: 2px solid #008b87; outline-offset: 3px; border-radius: 8px; }
@media(hover:hover) {
  .star-picker label:hover > span:first-of-type, .star-picker label:has(~ label:hover) > span:first-of-type { color: #e7b241; transform: translateY(-2px); }
}
.star-picker p { font-size: 11px; min-height: 18px; color: #789097; }
.feedback-page .field { text-align: left; }
.feedback-page textarea { resize: vertical; }
.feedback-page > .link { margin-top: 18px; }
.feedback-saved { padding: 27px 0; }
.feedback-saved > span { font-size: 33px; color: #dca835; letter-spacing: 5px; }
.feedback-saved p { font-size: 13px; line-height: 1.8; margin-top: 12px; overflow-wrap: anywhere; }
@media(max-width:1199px) {
  .tracking-layout { grid-template-columns: minmax(0,1fr) minmax(300px,.9fr); gap: 20px; }
  .trip-sheet { padding: 20px; }
  .trip-vessel .vessel-photo { width: 88px; }
  .trip-vessel h2 { font-size: 17px; }
  .result-boat { grid-template-columns: 100px minmax(0,1fr); gap: 12px; }
  .result-boat .result-description > strong { font-size: 15px; }
}
@media(max-width:799px) {
  .tracking-layout { grid-template-columns: 1fr; }
  .navigation-map { position: relative; top: auto; height: 410px; }
  .trip-heading h1 { font-size: 26px; }
  .trip-heading { align-items: flex-start; }
  .trip-heading > .link { font-size: 10px; }
  .result-boat { grid-template-columns: 160px minmax(0,1fr); }
  .photo-showcase > .vessel-photo { min-height: 0; height: auto; aspect-ratio: 1.65; }
  .photo-showcase { height: auto; min-height: 0; }
  .photo-showcase .vessel-photo img { position: absolute; }
}
@media(max-width:599px) {
  .result-boat { display: flex; flex-direction: column; gap: 15px; padding: 12px; }
  .result-boat > .vessel-photo { min-height: 0; aspect-ratio: 1.65; }
  .result-boat .result-description { padding: 0 3px; gap: 7px; }
  .result-boat .result-description > strong { font-size: 19px; }
  .result-boat .result-description > span:not(.pill) { font-size: 11px; }
  .result-boat .result-price { width: 100%; padding: 13px 3px 3px; }
  .result-boat .select-boat-label { font-size: 10px; }
  .result-boat .result-price strong { font-size: 16px; }
  .result-boat .result-price small { font-size: 9px; }
  .confirmation-photo { margin: -10px -8px 20px; }
  .confirmation-photo .vessel-photo { aspect-ratio: 1.55; }
  .trip-heading { display: block; margin-bottom: 22px; }
  .trip-heading h1 { font-size: 25px; line-height: 1.35; }
  .trip-heading p { font-size: 12px; }
  .trip-heading > a, .trip-heading > button { display: inline-flex; margin-top: 16px; }
  .navigation-map { height: 340px; border-radius: 18px; margin: 0 -6px; }
  .navigation-map > svg { overflow: visible; }
  .map-topline { left: 12px; right: 12px; top: 12px; }
  .map-topline .pill { font-size: 9px; }
  .map-demo { font-size: 7px; }
  .map-instruction { bottom: 12px; left: 12px; right: 12px; padding: 12px; gap: 10px; }
  .map-instruction strong { font-size: 10px; }
  .map-instruction small { font-size: 9px; }
  .map-instruction > span { width: 32px; height: 35px; }
  .trip-sheet { padding: 22px; }
  .trip-vessel .vessel-photo { width: 108px; }
  .trip-vessel h2 { font-size: 20px; }
  .trip-float { left: 0; right: 0; bottom: calc(68px + env(safe-area-inset-bottom)); width: 100%; min-height: 78px; border-radius: 15px 15px 0 0; padding: 12px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left)); gap: 11px; }
  .trip-float-copy strong { font-size: 11px; }
  .trip-float-copy small { font-size: 9px; }
  .has-trip-float .bottom-nav { height: calc(68px + env(safe-area-inset-bottom)); }
  .has-trip-float .page { padding-bottom: 115px; }
  body:has(.wizard-controls) .trip-float { bottom: calc(214px + env(safe-area-inset-bottom)); }
  body:has(.wizard-controls).has-trip-float .wizard { padding-bottom: 180px; }
  .has-trip-float .toast { bottom: calc(160px + env(safe-area-inset-bottom)); }
  body:has(.wizard-controls).has-trip-float .toast { bottom: calc(310px + env(safe-area-inset-bottom)); }
  .notification-row { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 10px 13px; padding: 18px 16px; }
  .notification-symbol { width: 36px; height: 38px; border-radius: 11px; }
  .notification-copy strong { font-size: 12px; }
  .notification-copy p { font-size: 10px; }
  .notification-read, .notification-read-label { grid-column: 2; justify-self: start; }
  .notification-read { min-height: 30px; }
  .feedback-page { margin: 0 auto; padding: 25px 20px; }
  .feedback-page h1 { font-size: 24px; }
  .feedback-trip { gap: 12px; padding: 10px; }
  .feedback-trip .vessel-photo { width: 80px; }
  .feedback-trip h2 { font-size: 14px; }
  .feedback-trip strong { font-size: 10px; }
  .feedback-trip small { font-size: 8px; }
  .star-picker label { width: 41px; height: 46px; }
  .star-picker label > span:first-of-type { font-size: 38px; }
}
@media(prefers-reduced-motion:reduce) { .star-picker label > span:first-of-type { transition: none; } }
