/* Trip Semporna public site - Booking steps on the package page (the staff form, restyled for the public site under .tsb .tsb-adm).
   Part of the public CSS: the files in assets/css/public/ load in name order (TRIPSEM_Public::assets()). */

/* Booking panel (?book=<step>) */
.tsb { padding-top: 24px; padding-bottom: 32px; }
.tsb-panel { max-width: 1040px; border-radius: 28px; }
@media (max-width: 600px) {
    .tsb { padding-top: 12px; padding-bottom: 96px; }
    .tsb-panel { border-radius: 22px; }
}
/* Booking steps laid out like the staff booking form: package card, step chips, then the form as one white card. */
.tsb { max-width: 1360px; }
/* the header's width: package page, booking steps and checkout line up with the logo and the menu */
.tsb .tsb-adm .ots-flow-wrap { max-width: none; }
/* the staff form caps it at 1220px */
.tsb-panel { margin: 0 auto; max-width: none; background: none; border-radius: 0; box-shadow: none; overflow: visible; }
.tsb-inline { padding-top: 32px; }
@media (max-width: 640px) {
    /* breathing space under the header: the hero (step 1) or the step bar */
    .tsb-inline { padding-top: 20px; }
}
.tsb-inline .tsp-book { margin-top: 0; }
@media (max-width: 600px) {
    .tsb.tsb-inline { padding-bottom: 24px; }
}
/* Booking flow (the staff booking page itself, booking-form.css): Review & Payment's form wraps the review without a box of its own;
   the online payment parts of the Payment Method card (online banking, agreement, Pay) and Review's Add to cart / Checkout. */
.tsb-adm .tsb-contents { display: contents; }
.tsb-adm .tsb-pay .tsb-pay-note { margin: 8px 0 0; font-size: 12.5px; line-height: 1.45; color: #5d6876; }
.tsb-adm .tsb-pay .tsb-pay-online { display: grid; gap: 4px; margin-top: 12px; padding: 11px 12px; border: 1px solid #e6e8ec; border-radius: 10px; font-size: 13px; font-weight: 700; color: #1a1d21; }
.tsb-adm .tsb-pay .tsb-pay-online .ots-fpx-method { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tsb-adm .tsb-pay .tsb-pay-online small { font-size: 12px; font-weight: 500; color: #5d6876; }
.tsb-adm .tsb-pay .tsb-pay-check { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; font-size: 12.5px; font-weight: 500; line-height: 20px; color: #3b4450; cursor: pointer; }
/* The agreement tick: the site's own box (as Create a free account): brand yellow with a black tick, hand cursor on box and text */
.tsb-adm .tsb-pay .tsb-pay-check input { -webkit-appearance: none; appearance: none; flex: 0 0 auto; display: grid; place-items: center; width: 20px !important; height: 20px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 1.5px solid #b8bdc6 !important; border-radius: 6px !important; background: #fff !important; box-shadow: none !important; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.tsb-adm .tsb-pay .tsb-pay-check input:focus { border-color: #b8bdc6 !important; box-shadow: none !important; outline: none; }
.tsb-adm .tsb-pay .tsb-pay-check:hover input { border-color: #8b929d !important; }
.tsb-adm .tsb-pay .tsb-pay-check input:checked { border-color: #e6c800 !important; background: #FFDE00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat !important; }
.tsb-adm .tsb-pay .tsb-pay-check:hover input:checked { border-color: #d4b800 !important; }
.tsb-adm .tsb-pay .tsb-pay-check input:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.tsb-adm .tsb-pay .tsb-pay-check input::before, .tsb-adm .tsb-pay .tsb-pay-check input::after { content: none !important; display: none !important; }
.tsb-adm .tsb-pay .tsb-pay-check > span { padding-top: 0; }
.tsb-adm .tsb-pay .tsb-pay-check a { color: inherit; font-weight: 700; text-decoration: underline; }
.tsb-adm .tsb-pay .ots-pm-submit { width: 100%; margin-top: 14px; }
.tsb-adm .tsb-pay .ots-pm-submit.tsq-go, .tsb-adm .ots-pm .ots-pm-submit.tsq-go { box-shadow: none; }
/* checkout Pay: flat, no glow */
.tsb-adm .tsb-pay .tsb-pay-cart { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; }
.tsb-adm .tsb-pay .tsb-pay-cart svg { width: 18px; height: 18px; }
/* Review & Payment: the next step (Checkout / Add to cart); paying is on the checkout page */
.tsb .tsb-adm .ots-summary-card { background: var(--tsp-black); }
/* Payment Summary (Review and checkout): the site's black, not the staff form's navy */
.tsb-adm .ots-summary-card + .tsb-gocard { margin-top: 18px; }
.tsb-adm .tsb-gocard .tsb-pay-note { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.5; color: #5d6876; }
.tsb-adm .tsb-gocard .tsb-pay-cart { margin-top: 14px; }
.tsb-adm .tsb-gocard .tsb-next-go { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; }
/* Add to cart first, Checkout under it */
.tsb-adm .tsb-gocard .tsb-pay-note + .tsb-next-go { margin-top: 14px; }
/* editing a cart trip: Update cart alone */
.tsb-adm .tsb-gocard .tsb-next-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tsb-adm .tsb-pay .tsb-next-list { display: grid; gap: 6px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid #eef0f3; list-style: none; }
.tsb-adm .tsb-pay .tsb-next-list li { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 500; line-height: 1.4; color: #5d6876; }
.tsb-adm .tsb-pay .tsb-next-list svg { flex: 0 0 auto; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Checkout (the one page that pays): the staff review's look; billing details, note; Payment Method (always paid in full: how to pay only) */
.tsb-adm .ots-review-grid.tsb-co { align-items: start; }
.tsb-adm .tsb-co-contact { margin: 0 0 18px; }
.tsb .tsb-adm .tsb-co-contact .ots-sea-walking-customer-fields { grid-template-columns: minmax(0, 1fr); gap: 12px; }
/* Billing details: Full Name, Phone, Email one under another */
.tsb-adm .tsb-co-contact .ots-overnight-guest-note a { color: inherit; font-weight: 700; text-decoration: underline; }
/* Billing details: "Create a free account" under the fields, a light grey card (yellow icon) you tick anywhere; the password shows once it is ticked */
.tsb-adm .tsb-co-contact .tsb-co-account { margin-top: 18px; padding: 14px 16px; border: 1px solid #e6e8ec; border-radius: 12px; background: #f8f9fb; transition: border-color .15s, background-color .15s; }
.tsb-adm .tsb-co-contact .tsb-co-account:hover { border-color: #cfd3da; }
.tsb-adm .tsb-co-contact .tsb-co-account:has(input[name="create_account"]:checked) { background: #f4f5f7; }
.tsb-adm .tsb-co-contact .tsb-co-account label.tsb-co-check { position: relative; display: flex !important; align-items: center; gap: 12px; margin: 0; cursor: pointer; }
.tsb-adm .tsb-co-contact .tsb-co-account label.tsb-co-check input { position: absolute; opacity: 0; width: 1px !important; height: 1px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; }
.tsb-adm .tsb-co-contact .tsb-co-acc-ic { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #FFDE00; color: #111; }
.tsb-adm .tsb-co-contact .tsb-co-acc-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tsb-adm .tsb-co-contact .tsb-co-acc-t { flex: 1 1 auto; min-width: 0; }
.tsb-adm .tsb-co-contact .tsb-co-acc-t strong { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; line-height: 1.3; color: #15233d; }
.tsb-adm .tsb-co-contact .tsb-co-acc-t em { padding: 1px 7px; border-radius: 999px; background: rgba(17,17,17,.07); font-size: 10.5px; font-style: normal; font-weight: 700; color: #5d6876; }
.tsb-adm .tsb-co-contact .tsb-co-acc-t small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 500; line-height: 1.45; color: #5d6876; }
.tsb-adm .tsb-co-contact .tsb-co-acc-box { flex: 0 0 auto; width: 22px; height: 22px; border: 1.5px solid #b8bdc6; border-radius: 6px; background: #fff; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.tsb-adm .tsb-co-contact .tsb-co-check:hover .tsb-co-acc-box { border-color: #8b929d; }
.tsb-adm .tsb-co-contact .tsb-co-check input:checked ~ .tsb-co-acc-box { border-color: #e6c800; background: #FFDE00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.tsb-adm .tsb-co-contact .tsb-co-check:hover input:checked ~ .tsb-co-acc-box { border-color: #d4b800; }
.tsb-adm .tsb-co-contact .tsb-co-check input:focus-visible ~ .tsb-co-acc-box { outline: 2px solid #111; outline-offset: 2px; }
.tsb-adm .tsb-co-contact .tsb-co-account label.tsb-co-pass { display: none !important; gap: 6px; margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed #dfe2e7; font-size: 12px; font-weight: 600; color: #394150; }
.tsb-adm .tsb-co-contact .tsb-co-account label.tsb-co-pass input { background: #fff; }
.tsb-adm .tsb-co-contact .tsb-co-account:has(input[name="create_account"]:checked) label.tsb-co-pass { display: grid !important; }
.tsb-adm .tsb-co-side { display: grid; gap: 16px; align-content: start; min-width: 0; }
.tsb-adm .tsb-pay .tsb-pay-end .tsb-pay-online { margin-top: 0; }
.tsb-adm .tsb-pay .tsb-pay-end .ots-pm-submit { margin-top: 16px; }
.tsb-adm .tsb-pay .tsb-pay-end .tsb-pay-agree { margin-top: 14px; }
.tsb-adm .tsb-pay .tsb-pay-end { gap: 0; margin-top: 0; }
/* Guest Details: a missing field marked and its reason under it (the staff page's look, from daytrip-booking.css) */
.tsb-adm .ots-flow-wrap label.has-validation-error input, .tsb-adm .ots-flow-wrap label.has-validation-error select { border-color: #df7d88; box-shadow: 0 0 0 2px rgba(223, 38, 56, .07); }
.tsb-adm .ots-flow-wrap .ots-experience-control-error { display: block; margin-top: 6px; color: #b42332; font-size: 11.5px; line-height: 1.35; font-weight: 600; }
