/* Review step (step 3): no step bar, the site's ink-and-yellow ticket, a smoother chart,
   and the same fonts and handwritten tags as the rest of the site. */
@font-face{font-family:'Instrument Sans';src:url('../assets/fonts/instrument-sans.woff2') format('woff2');font-weight:400 700;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url('../assets/fonts/instrument-serif-italic.woff2') format('woff2');font-style:italic;font-weight:400;font-display:swap}
@font-face{font-family:'Flyvis Hand';src:url('../assets/fonts/kalam.woff2') format('woff2');font-weight:400 800;font-display:swap}

/* 1. Hide the step bar while the review step is showing */
body:has(#smart-pane-3[style*="block"]) #navbar,body:has(#smart-pane-4[style*="block"]) #navbar,body:has(#smart-pane-5[style*="block"]) #navbar,body:has(#smart-pane-confirmed[style*="block"]) #navbar{display:none!important}

/* page voice */
#smart-pane-3,#smart-pane-3 :is(h1,h2,h3,p,span,strong,b,dt,dd,button,a,small,div){font-family:'Instrument Sans',system-ui,sans-serif}
#smart-pane-3 .rf-hand,#smart-pane-3 #flight-choice-match-label{font-family:'Flyvis Hand',cursive!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important;color:#e8704f!important;font-size:19px!important;display:inline-block;transform:rotate(-2deg);transform-origin:left center}
#smart-pane-3 .smart-card-title{font-weight:600;letter-spacing:-1.4px;color:#0e2d37}
#smart-pane-3 .smart-card-title em{font-family:'Instrument Serif',Georgia,serif!important;font-style:italic;font-weight:400;color:#0f6b66;font-size:1.1em;letter-spacing:-.5px}
#smart-pane-3 :is(h3,.smart-card-title) em{font-family:'Instrument Serif',Georgia,serif!important}

/* price-lock banner: the site's mint card instead of bright green */
#smart-pane-3 #smart-step3-eligibility-banner .rf-lock-banner{background:linear-gradient(120deg,#e9f6f2,#fff7e3)!important;border:1px solid #cfe5df!important;border-radius:18px!important}
#smart-pane-3 #smart-step3-eligibility-banner .rf-lock-banner>div:first-child{display:flex!important;background:#0f6b66!important;color:#fff!important}
#smart-pane-3 #smart-step3-eligibility-banner .rf-lock-banner>div:last-child>div:first-child{color:#0e2d37!important;font-weight:650!important;font-size:14.5px!important}
#smart-pane-3 #smart-step3-eligibility-banner .rf-lock-banner>div:last-child>div:last-child{color:#3d5960!important;font-size:13px!important}
.rf-lead-pill{background:#fff1d6!important;color:#9a6a0c!important;border-color:#f6c44566!important;font-weight:650!important;letter-spacing:0!important}

/* 2. The ticket */
#smart-pane-3 .boarding-review-ticket{background:linear-gradient(140deg,#fff7e0 0%,#fffdf7 55%,#e3f3ef 100%)!important;border:1.5px solid #0e2d37!important;border-radius:24px!important;box-shadow:7px 8px 0 #a6d9cf!important;overflow:hidden;color:#0e2d37}
#smart-pane-3 .boarding-ticket-header{background:none!important;color:#0e2d37!important;padding:22px 26px 6px!important;border:0!important}
#smart-pane-3 .boarding-ticket-header::before,#smart-pane-3 .boarding-ticket-header::after{display:none!important}
#smart-pane-3 .boarding-ticket-header h3{color:#0e2d37!important;font-size:26px!important;letter-spacing:-.8px;font-weight:600!important;margin:2px 0 0!important}
#smart-pane-3 .boarding-ticket-header p{color:#5b737a!important;font-size:13px!important;letter-spacing:.5px}
#smart-pane-3 .boarding-cabin{background:#0e2d37!important;color:#fff!important;border:0!important;border-radius:30px!important;padding:6px 14px!important;font-size:12.5px!important;font-weight:600}
#smart-pane-3 .boarding-ticket-body{padding:10px 26px 22px!important;background:none!important}
#smart-pane-3 .boarding-route{padding:16px 0 18px!important;border-bottom:1.5px dashed #0e2d3726}
#smart-pane-3 .boarding-route strong{color:#0e2d37!important;font-size:44px!important;letter-spacing:-1.5px;font-weight:600!important}
#smart-pane-3 .boarding-route span{color:#5b737a!important}
#smart-pane-3 .boarding-route b{color:#0f6b66!important;font-size:22px!important;font-weight:600!important}
#smart-pane-3 .boarding-route-path small{color:#4d6670!important;font-size:12.5px!important}
#smart-pane-3 .rf-path{display:flex!important;align-items:center;gap:6px;width:100%;margin:6px 0}
#smart-pane-3 .rf-path i{flex:1;height:0;border-top:2px dashed #0e2d3740}
#smart-pane-3 .rf-path svg{width:22px;height:22px;fill:#e8704f;transform:rotate(90deg);flex:none}
#smart-pane-3 .boarding-flight-details{padding-top:16px!important}
#smart-pane-3 .boarding-flight-details dt{color:#5b737a!important;font-size:12px!important}
#smart-pane-3 .boarding-flight-details dd{color:#0e2d37!important;font-weight:600!important}
#smart-pane-3 .boarding-connection-note{display:inline-flex;align-items:center;gap:6px;margin:12px 0 4px!important;padding:5px 12px;border-radius:30px;background:#e3f3ef;color:#0f6b66!important;font-size:12.5px!important;font-weight:550}
/* perforation: a plain dashed tear line (replaces the stray half-circles) */
#smart-pane-3 .ticket-perforation{position:relative!important;height:2px!important;margin:16px 0!important;border:0!important;background:repeating-linear-gradient(90deg,#0e2d3740 0 7px,transparent 7px 13px)!important}
#smart-pane-3 .ticket-perforation::before,#smart-pane-3 .ticket-perforation::after{display:none!important;content:none!important}
#smart-pane-3 .boarding-fare-calculation span{color:#4d6670!important}
#smart-pane-3 #step3-savings-badge{color:#0f6b66!important;background:#e3f3ef!important;border-radius:20px;padding:1px 9px;font-weight:650}
#smart-pane-3 .boarding-net-fare span{color:#5b737a!important}
#smart-pane-3 #step3-locked-price-val{display:inline-block!important;font-size:44px!important;line-height:1.05!important;letter-spacing:-1.6px;color:#0e2d37!important;font-weight:600!important;background:linear-gradient(transparent 66%,#f6c44599 66%)!important;padding:0 4px!important;height:auto!important}
#smart-pane-3 .boarding-ticket-barcode{opacity:.75;filter:grayscale(1) brightness(.4)}
#smart-pane-3 .boarding-review-caption{font-family:'Flyvis Hand',cursive!important;letter-spacing:0!important;text-transform:none!important;color:#5b737a!important;font-size:15px!important}

/* 3. Fare history panel to match */
#smart-pane-3 .fare-history-panel{background:#fff!important;border:1px solid #e0ebe7!important;border-radius:24px!important;box-shadow:0 14px 34px #0e2d370d!important}
#smart-pane-3 .fare-history-panel h3{font-weight:600!important;letter-spacing:-.6px}
#smart-pane-3 .fare-history-metrics strong{font-weight:600!important;letter-spacing:-.6px}
#smart-pane-3 .fare-history-metrics>div:last-child strong{color:#c4532f!important}
#smart-pane-3 .review-chart-legend i{background:#0f6b66!important;border-radius:2px}
#smart-pane-3 .review-chart-legend i.is-reference{background:none!important;border-top:2px dashed #e8704f!important}
#smart-pane-3 #review-fare-chart text{font-family:'Instrument Sans',sans-serif}

/* continue button in the site's green */
#smart-pane-3 #flight-choice-continue,#smart-pane-3 .flight-choice-continue{background:linear-gradient(135deg,#14857c,#0e4d56)!important;border-radius:16px!important;box-shadow:0 12px 26px #0f6b6640!important}
