/* Order lookup and compact result dialog. */
body:has(.booking-lookup) .tour-header{position:relative;top:auto}
main.container.booking-lookup{width:100%;max-width:760px;padding:28px 20px 48px;margin:auto;color:#20384c}
.booking-lookup *,.bl-dialog *{box-sizing:border-box}
.bl-intro{margin:4px 0 22px}.bl-intro>h1{font-size:26px;line-height:1.4;margin:4px 0 8px;color:#123b5b;letter-spacing:-.5px}.bl-intro>p{font-size:13px;color:#738395;line-height:1.7;margin:0}.bl-intro>p:first-child{font-size:11px;font-weight:600;color:#174b76}
.bl-search{padding:24px;background:#fff;border:1px solid #dce5ec;border-radius:14px;box-shadow:0 5px 20px #14344e06}
.bl-gateway-panel{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;background:#fff;border:1px solid #e0e8ef;border-radius:18px;box-shadow:0 12px 36px #173c5806}
main.container.booking-lookup{max-width:1040px;padding:48px 24px 64px}
.bl-gateway-panel .bl-gateway-intro{position:static;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;margin:0;padding:38px;background:#f1f6fa;border:0;box-shadow:none}
.bl-gateway-intro>p:first-child{letter-spacing:2px;color:#a9691b;font-size:10px;font-weight:700}
.bl-gateway-intro>h1{font-size:32px;line-height:1.3;letter-spacing:-.7px;margin:10px 0 14px}
.bl-gateway-intro>p:last-of-type{max-width:350px;margin:0;font-size:13px;line-height:1.9;color:#6b8193}
.bl-gateway-brands{display:flex;align-items:center;justify-content:flex-start;gap:18px;list-style:none;padding:0;margin:26px 0 0}
.bl-gateway-brands>li{display:flex;align-items:center;justify-content:center;width:50px;height:38px;flex:0 0 50px}
.bl-gateway-brands img{display:block;width:50px;height:36px;max-width:100%;object-fit:contain}
.bl-gateway-brands img[alt="Mastercard"]{width:46px;height:32px}
.bl-gateway-brands img[alt="JCB"]{width:42px;height:34px}
.bl-gateway-brands img[alt="American Express"]{width:34px;height:34px}
.bl-gateway-panel .bl-search{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:38px;background:#fff;border:0;border-radius:0;box-shadow:none}
.bl-search-heading{font-size:19px;line-height:1.5;margin:0 0 7px;color:#123b5b;font-weight:700}
.bl-gateway-panel .bl-search-hint{font-size:12px;line-height:1.8;color:#7b8fa0;margin:0 0 22px}
.bl-gateway-panel .bl-search form{flex-direction:column;align-items:stretch;gap:14px}
.bl-gateway-panel .bl-field input{height:50px;background:#f9fbfd}
.bl-gateway-panel .bl-search .btn-tour-search{height:48px;width:100%;padding:0 22px;border-radius:8px}
@media(max-width:700px){main.container.booking-lookup{padding:26px 16px 40px}.bl-gateway-panel{grid-template-columns:1fr;border-radius:16px}.bl-gateway-panel .bl-gateway-intro{padding:26px 24px}.bl-gateway-intro>h1{font-size:28px;margin-bottom:10px}.bl-gateway-intro>p:last-of-type{max-width:none}.bl-gateway-brands{margin-top:18px;gap:16px}.bl-gateway-brands>li{width:46px;flex-basis:46px}.bl-gateway-brands img{width:46px;height:34px}.bl-gateway-brands img[alt="JCB"]{width:40px;height:32px}.bl-gateway-brands img[alt="American Express"]{width:32px;height:32px}.bl-gateway-panel .bl-search{padding:24px}.bl-search-heading{font-size:18px}.bl-gateway-panel .bl-search-hint{margin-bottom:18px}}
.bl-search form{display:flex;align-items:flex-end;gap:12px}
.bl-field{flex:1;min-width:0}
.bl-field label{display:block;font-size:13px;font-weight:700;margin-bottom:8px;color:#203b53}
.bl-input-wrap{position:relative}
.bl-input-wrap>i{position:absolute;left:15px;top:17px;color:#71869a;pointer-events:none}
.bl-field input{width:100%;height:48px;padding:10px 14px 10px 42px;background:#f8fafc;border:1px solid #d7e2ec;border-radius:8px;font:inherit;font-size:16px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:#18354b}
.bl-field input::placeholder{font-size:14px;font-weight:400;text-transform:none;letter-spacing:0}
.bl-field input:focus{outline:2px solid #8fb9db;outline-offset:2px;background:white}
.bl-search .btn-tour-search{height:48px;padding:0 22px;border-radius:8px;box-shadow:none;white-space:nowrap;font-size:14px;flex-shrink:0}
.bl-search .btn-tour-search:disabled{cursor:wait;opacity:.7;transform:none}
.bl-search-hint{font-size:12px;color:#738395;margin:12px 0 0;line-height:1.6}
.bl-error{margin:12px 0 0;padding:12px 14px;color:#9b3d24;background:#fff8f5;border:1px solid #f2d0c3;border-radius:8px;font-size:13px;line-height:1.6}
.bl-error[hidden]{display:none}
.bl-open-result{display:block;margin:16px auto 0;padding:9px 14px;background:#fff;border:1px solid #cadbe8;border-radius:8px;color:#174b76;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.bl-open-result[hidden]{display:none}
.bl-dialog{width:calc(100% - 32px);max-width:520px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #e0e8ef;border-radius:20px;background:#fff;color:#20384c;box-shadow:0 28px 90px #0c263b38;overflow:auto;overscroll-behavior:contain;font-family:inherit}
.bl-dialog::backdrop{background:#102d4980;backdrop-filter:blur(5px)}
html:has(.bl-dialog[open]){overflow:hidden}
.bl-dialog-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 18px;border-bottom:1px solid #edf1f5;background:#fcfdff}
.bl-dialog-brand{display:flex;align-items:center;gap:14px;min-width:0}
.bl-dialog-brand>img{display:block;width:58px;height:32px;object-fit:contain;flex-shrink:0}
.bl-dialog-brand>span{font-size:12px;font-weight:600;color:#61778a;padding-left:14px;border-left:1px solid #dfe7ed;line-height:24px}
.bl-dialog-close{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid #e5ebf0;border-radius:50%;background:#fff;color:#718497;font:inherit;font-size:22px;line-height:1;cursor:pointer;flex-shrink:0;transition:background-color .15s,color .15s}
.bl-dialog-close:hover{background:#edf3f8;color:#123b5b}
.bl-result{padding:16px 18px 12px}
.bl-result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.bl-eyebrow{margin:0 0 5px;font-size:11px;line-height:1.5;color:#8191a0}
.bl-result-heading h2{margin:0;color:#123b5b;font-size:23px;line-height:1.2;letter-spacing:1px;font-weight:750;overflow-wrap:anywhere}
.bl-status{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:20px;font-size:10px;font-weight:600;white-space:nowrap;flex-shrink:0}
.bl-status.paid{color:#167146;background:#e8f7ef}.bl-status.unpaid{color:#9b681f;background:#fff5e7}.bl-status.requires_review{color:#565b9e;background:#eef0fb}
.bl-itinerary{padding:12px 16px;background:#f5f8fb;border:1px solid #e8eef4;border-radius:12px}
.bl-route{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#123b5b}
.bl-route>strong{font-size:28px;font-weight:700;line-height:1.2;letter-spacing:.5px;overflow-wrap:anywhere;min-width:0}
.bl-route-line{display:flex;align-items:center;justify-content:center;gap:12px;flex:1;color:#8aa6bb;min-width:35px}
.bl-route-line:before,.bl-route-line:after{content:'';flex:1;border-top:1px dashed #c2d3df}
.bl-route-line i{font-size:13px}
.bl-itinerary>p{margin:5px 0 0;font-size:11px;line-height:1.5;color:#73899a}
.bl-trip-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 16px;margin:14px 0}
.bl-trip-details>div{min-width:0}.bl-trip-details dt{margin:0 0 5px;font-size:11px;color:#8191a0;line-height:1.5}.bl-trip-details dt>span{font-size:10px}
.bl-trip-details dd{margin:0;font-size:12px;font-weight:600;color:#29485f;line-height:1.6;overflow-wrap:anywhere}
.bl-trip-details .bl-passengers{grid-column:1/-1;display:grid;grid-template-columns:82px minmax(0,1fr);column-gap:10px;align-items:baseline;padding-top:0;border:0}.bl-passengers dt{margin:0}.bl-passengers dd>span{display:block}
.bl-payment{display:grid;grid-template-columns:minmax(0,1fr);padding:12px 14px;background:#f5f8fb;border:1px solid #e8eef4;border-radius:12px}
.bl-payment>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bl-payment>div>span{font-size:12px;font-weight:600;color:#5e7689}
.bl-payment strong{font-size:25px;font-weight:750;line-height:1.3;color:#123b5b;white-space:nowrap;letter-spacing:-.6px}
.bl-payment.paid strong{color:#167146}.bl-payment.requires_review strong{font-size:18px;letter-spacing:0}
.bl-payment>p{margin:7px 0 0;font-size:10px;line-height:1.7;color:#8191a0}
.bl-card-pay{order:2;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-width:0;min-height:42px;margin:10px 0 0;padding:10px 16px;border:1px solid #174b76;border-radius:8px;background:#174b76;color:#fff;text-decoration:none;font-size:13px;font-weight:700;line-height:1.4;box-shadow:0 3px 8px #174b7614;transition:background-color .15s}
.bl-card-pay:hover{background:#103b60;color:#fff}.bl-card-pay:focus-visible{outline:2px solid #4f8bc0;outline-offset:3px}.bl-card-pay>i{font-size:11px}
.bl-payment-options{order:3;display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;list-style:none;padding:0;margin:5px 0 -5px}
.bl-payment-options>li{display:flex;align-items:center;justify-content:center;min-width:0;height:30px;padding:0;background:transparent;border:0}
.bl-payment-options img{display:block;max-width:100%;object-fit:contain;flex-shrink:1}
.bl-payment-options img[alt="Visa"]{width:36px;height:16px}.bl-payment-options img[alt="Mastercard"]{width:30px;height:20px}.bl-payment-options img[alt="Apple Pay"]{width:39px;height:25px}.bl-payment-options img[alt="Google Pay"]{width:58px;height:39px}
.bl-result-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px;margin-top:10px}
.bl-result-footer small{font-size:10px;color:#95a2ae}.bl-result-footer a{font-size:11px;font-weight:600;color:#496b85;text-decoration:none}.bl-result-footer a>i{margin-right:4px}
.bl-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.bl-dialog button:focus-visible,.bl-open-result:focus-visible,.bl-result-footer a:focus-visible{outline:2px solid #4f8bc0;outline-offset:3px}
@media(max-width:520px){main.container.booking-lookup{padding:20px 16px 32px}.bl-search{padding:18px}.bl-search form{flex-direction:column;align-items:stretch}.bl-search .btn-tour-search{width:100%}.bl-dialog{width:calc(100% - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);border-radius:14px}.bl-dialog-bar{padding:9px 14px}.bl-dialog-brand{gap:10px}.bl-dialog-brand>span{padding-left:10px;font-size:11px}.bl-result{padding:14px}.bl-result-heading{margin-bottom:12px}.bl-result-heading h2{font-size:22px}.bl-itinerary{padding:11px 13px}.bl-route>strong{font-size:25px}.bl-trip-details{gap:9px 12px;margin:12px 0}.bl-trip-details dt>span{display:inline}.bl-trip-details .bl-passengers{grid-template-columns:74px minmax(0,1fr);column-gap:8px}.bl-payment{padding:11px 12px}.bl-payment strong{font-size:23px}.bl-payment>p{margin-top:5px}.bl-payment-options{gap:14px}.bl-result-footer small{font-size:10px}}
@media(max-width:380px){.bl-dialog-brand>img{width:54px;height:30px}.bl-dialog-brand>span{font-size:11px}.bl-result-heading h2{font-size:21px}.bl-status{font-size:10px;padding:5px 7px}.bl-route>strong{font-size:24px}.bl-trip-details dt>span{display:block}.bl-payment>div{gap:4px 8px;flex-wrap:wrap}.bl-payment strong{font-size:22px}.bl-payment>div>span{font-size:11px}.bl-payment-options{gap:10px}.bl-result-footer{gap:5px 8px}}
/* Share links stay secondary to the payment action. */
.bl-share{margin-top:10px;text-align:center}.bl-share-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 10px;border:0;border-radius:6px;background:transparent;color:#496b85;font:inherit;font-size:11px;font-weight:600;cursor:pointer}.bl-share-link:hover{background:#f0f5f9}.bl-share-link:focus-visible{outline:2px solid #4f8bc0;outline-offset:2px}.bl-share-link:disabled{opacity:.6;cursor:wait}.bl-share>small{display:block;font-size:10px;line-height:1.5;color:#95a2ae}.bl-share-feedback{margin:4px 0 0;font-size:11px;color:#167146;line-height:1.5}.bl-share-feedback:empty{display:none}.bl-share-url{display:block;width:100%;margin-top:6px;padding:8px;border:1px solid #cadbe8;border-radius:6px;font:inherit;font-size:12px;color:#174b76;background:#f7fafc}
/* Payment results remain inside the existing order dialog. */
.bl-return-notice{display:flex;align-items:flex-start;gap:11px;padding:14px 15px;margin-bottom:16px;border:1px solid #d9e6f0;border-radius:10px;background:#f3f8fc;color:#244c6b}.bl-return-notice>i{margin-top:3px;font-size:17px}.bl-return-notice h2{font-size:15px;line-height:1.5;margin:0 0 5px;color:inherit;letter-spacing:0}.bl-return-notice p{font-size:12px;line-height:1.7;margin:0;color:inherit}.bl-return-notice a{display:inline-block;font-size:12px;font-weight:600;margin-top:8px;color:inherit;text-underline-offset:3px}.bl-return-notice.success{background:#eef9f2;border-color:#cce7d6;color:#226b44}.bl-return-notice.review,.bl-return-notice.pending{background:#fff8ec;border-color:#f1dfbb;color:#8a601e}.bl-return-notice.error{background:#fff4f0;border-color:#f1d1c6;color:#9b472e}.bl-return-hold{font-size:12px;line-height:1.7}

/* Apply button placement to the form, which is the payment grid item. */
.bl-payment>.bl-payment-form{order:2;display:block;width:100%;min-width:0;margin:10px 0 0;padding:0;border:0;justify-self:stretch}.bl-payment .bl-card-pay{position:relative;display:flex;align-items:center;justify-content:center;float:none;width:100%;min-height:44px;font-family:inherit;font-size:14px;font-weight:700;text-align:center;cursor:pointer;appearance:none}.bl-payment>.bl-payment-form>.bl-card-pay{margin:0}.bl-payment .bl-card-pay>span{display:block;flex:1;text-align:center}.bl-payment .bl-card-pay>i{position:absolute;right:16px;top:50%;transform:translateY(-50%);margin:0}

/* common-buttons.css forces all submit buttons to fit-content with !important.
   Match its ID specificity and override only this dialog's payment action. */
#bookingLookupDialog .bl-payment .bl-payment-form>button.bl-card-pay{display:flex!important;width:144px!important;max-width:100%!important;min-height:38px!important;height:38px!important;margin:0!important;padding:9px 16px!important;background:#174b76!important;border:1px solid #174b76!important;border-radius:8px!important;align-items:center!important;justify-content:center!important;font-size:12px!important;font-weight:700!important;line-height:1.4!important;text-align:center!important;color:#fff!important;float:none!important;box-shadow:none!important}
#bookingLookupDialog .bl-payment .bl-payment-form>button.bl-card-pay:hover{background:#103b60!important;border-color:#103b60!important}
#bookingLookupDialog .bl-payment .bl-payment-form>button.bl-card-pay>span{flex:1;text-align:center}
/* Keep accepted methods and checkout action together on one balanced row. */
#bookingLookupDialog .bl-payment:has(>.bl-payment-form){grid-template-columns:minmax(0,1fr) auto;column-gap:16px;row-gap:10px;padding:14px 16px}
#bookingLookupDialog .bl-payment:has(>.bl-payment-form)>div{grid-area:1/1/2/3}
#bookingLookupDialog .bl-payment:has(>.bl-payment-form)>p{grid-area:2/1/3/3;margin:0;line-height:1.5}
#bookingLookupDialog .bl-payment:has(>.bl-payment-form)>.bl-payment-form{grid-area:3/2/4/3;order:0;width:auto;justify-self:end;align-self:center;margin:0}
#bookingLookupDialog .bl-payment:has(>.bl-payment-form)>.bl-payment-options{grid-area:3/1/4/2;order:0;justify-content:flex-start;align-self:center;gap:12px;margin:0;padding:0;flex-wrap:wrap}
#bookingLookupDialog .bl-payment .bl-payment-form>button.bl-card-pay{font-size:13px!important;border-radius:7px!important}
#bookingLookupDialog .bl-payment .bl-payment-form>button.bl-card-pay>i{display:none}
#bookingLookupDialog .bl-payment:has(>.bl-payment-form) .bl-payment-options img[alt="Visa"]{width:29px;height:13px}
#bookingLookupDialog .bl-payment:has(>.bl-payment-form) .bl-payment-options img[alt="Mastercard"]{width:26px;height:18px}
#bookingLookupDialog .bl-payment:has(>.bl-payment-form) .bl-payment-options img[alt="Apple Pay"]{width:33px;height:22px}
#bookingLookupDialog .bl-payment:has(>.bl-payment-form) .bl-payment-options img[alt="Google Pay"]{width:43px;height:29px}
@media(max-width:400px){#bookingLookupDialog .bl-payment:has(>.bl-payment-form){column-gap:10px;padding:12px}#bookingLookupDialog .bl-payment:has(>.bl-payment-form)>.bl-payment-options{gap:8px}#bookingLookupDialog .bl-payment .bl-payment-form>button.bl-card-pay{width:120px!important;padding:9px 12px!important}#bookingLookupDialog .bl-payment:has(>.bl-payment-form) .bl-payment-options img[alt="Visa"]{width:25px}#bookingLookupDialog .bl-payment:has(>.bl-payment-form) .bl-payment-options img[alt="Mastercard"]{width:22px}#bookingLookupDialog .bl-payment:has(>.bl-payment-form) .bl-payment-options img[alt="Apple Pay"]{width:29px}#bookingLookupDialog .bl-payment:has(>.bl-payment-form) .bl-payment-options img[alt="Google Pay"]{width:37px}}
#bookingLookupDialog .bl-payment:has(>.bl-payment-form):not(:has(>p))>.bl-payment-form,#bookingLookupDialog .bl-payment:has(>.bl-payment-form):not(:has(>p))>.bl-payment-options{grid-row:2}

@media(max-width:360px){.bl-gateway-intro>h1{font-size:24px}.bl-gateway-panel .bl-gateway-intro,.bl-gateway-panel .bl-search{padding:24px 20px}.bl-gateway-brands{gap:14px}}
