/* Trip Semporna public site - Customer account: My bookings, profile.
   Part of the public CSS: the files in assets/css/public/ load in name order (TRIPSEM_Public::assets()). */

/* My Account */
.tsa { padding-top: 28px; }
.tsa-main { min-width: 0; }
.tsp .tsa-title { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; margin: 0 0 14px; }
.tsa-two { display: grid; gap: 16px; }
@media (min-width: 1000px) {
    .tsa-two { grid-template-columns: 1fr 1fr; align-items: start; }
}
.tsa-form h1, .tsa-form h2 { margin: 0 0 4px; font-size: 1.35rem; font-weight: 800; }
.tsa-form .tsp-hint { margin: 0 0 14px; }
.tsa-form .tsp-field { margin-bottom: 12px; }
.tsa-ok, .tsa-wait { font-style: normal; font-size: .72rem; font-weight: 800; padding: 1px 8px; border-radius: 99px; margin-left: 6px; }
.tsa-ok { background: #e7f6ef; color: var(--tsp-green); }
.tsa-wait { background: #fff3d6; color: #8a5a00; }
.tsa-ifmail.is-hidden { display: none; }
.tsa-verify { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: #fff6bf; border: 1px solid #ffe866; margin-bottom: 18px; }
.tsa-verify > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tsp-yellow); flex: 0 0 auto; }
.tsa-verify p { margin: 0; flex: 1 1 260px; font-size: .92rem; }
.tsa-verify form { margin: 0; }
.tsa-verify .tsp-btn { min-height: 40px; }
/* Step 1 fields (admin look) */
.tsa { display: grid; gap: 20px; min-width: 0; }
.tsa-2 { display: grid; gap: 20px; }
@media (min-width: 700px) {
    .tsa-2 { grid-template-columns: 1fr 1fr; gap: 18px; }
}
.tsa-3 { display: grid; gap: 16px; }
@media (min-width: 760px) {
    .tsa-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* ---- Bookings & payments (account) ---- */
.tsa-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; margin-bottom: 18px; }
.tsp .tsa-head .tsa-title { margin: 0; }
.tsp .tsa-hi { margin: 0 0 2px; color: var(--tsp-muted); font-weight: 600; }
.tsp .tsa-btn { min-height: 42px; padding: 0 15px; border-radius: 12px; font-size: .88rem; gap: 7px; }
.tsa-btn .tsh-ico { width: 18px; height: 18px; flex: 0 0 auto; }
.tsp .tsa-btn-soft { background: #f0f1f3; box-shadow: none; }
.tsp .tsa-btn-soft:hover { background: #e8e9eb; }
.tsp .tsa-btn-line { background: #fff; box-shadow: inset 0 0 0 1px #e0e1e3; }
.tsp .tsa-btn-line:hover { box-shadow: inset 0 0 0 1px #c6c7c9; }
.tsa-seg { display: flex; gap: 4px; padding: 5px; margin-bottom: 16px; background: #edeef0; border-radius: 15px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; box-sizing: border-box; }
.tsa-seg::-webkit-scrollbar { display: none; }
.tsa-seg a { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; min-height: 42px; padding: 0 14px; border-radius: 11px; color: #5d5d55; font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.tsa-seg a:hover { color: var(--tsp-black); }
.tsa-seg a.is-on { background: #fff; color: var(--tsp-black); box-shadow: 0 1px 2px rgba(12, 12, 12, .08), 0 4px 12px -6px rgba(12, 12, 12, .2); }
.tsa-seg a span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; box-sizing: border-box; border-radius: 99px; background: #e0e1e3; color: #4a4a43; font-size: .74rem; }
.tsa-seg a.is-on span { background: var(--tsp-yellow); color: var(--tsp-black); }
.tsa-list { display: grid; gap: 14px; }
.tsa-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tsa-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; border-radius: 99px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.tsa-chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tsa-chip.is-green { background: #e3f5ec; color: #0f6b4c; }
.tsa-chip.is-purple { background: #fff4cc; color: #7a5b00; }
.tsa-chip.is-blue, .tsa-chip.is-orange { background: #ffeede; color: #a14a00; }
.tsa-chip.is-red { background: #fde8e6; color: #a3271a; }
.tsa-chip.is-done { background: #eef0f3; color: #3d4654; }
.tsa-chip.is-gray { background: #eff0f2; color: #6b6b63; }
.tsa-chip.is-order { background: #f1edff; color: #5a3fc0; }
.tsa-prog { position: relative; height: 8px; border-radius: 99px; background: #e8e9eb; }
.tsa-prog span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: #a3a39b; }
.tsa-prog i { position: absolute; left: 50%; top: -4px; bottom: -4px; width: 2px; border-radius: 2px; background: var(--tsp-text); opacity: .35; }
.is-green .tsa-prog span, .is-done .tsa-prog span { background: var(--tsp-green); }
.is-purple .tsa-prog span { background: #d9a400; }
.is-blue .tsa-prog span, .is-orange .tsa-prog span { background: #e07b1a; }
@media (max-width: 640px) {
    .tsa-head .tsa-btn-line { display: none; }
}
.tsa-chip.is-plain { background: #f0f1f3; color: var(--tsp-text); }
.is-purple .tsa-prog span { background: #d9a400; }
.is-blue .tsa-prog span, .is-orange .tsa-prog span { background: #e07b1a; }
/* Order receipt links */
a.tsa-chip.is-order { text-decoration: none; }
a.tsa-chip.is-order:hover { background: #e6deff; color: #47309f; }
/* ---- Cart order: its bookings in one card ---- */
.tsa-order { background: #fff; border: 1px solid #f1df86; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(12, 12, 12, .03), 0 10px 28px -20px rgba(180, 140, 0, .45); }
/* Invoice / booking no. highlighted on the cards (like the order no.) */
/* Single booking: the same header in purple (invoice); a cart order's header is yellow */
/* Compact booking card: no photo; paid box and buttons share one row (buttons on the right on desktop) */
/* Nothing to pay: the date line sits where the paid box was, buttons on its right */
/* ==== Bookings (customer), trip first: no side menu, a one-line summary, Needs your action / All set ==== */
.tsa-solo > div { min-width: 0; }
/* full site width, same edges as the header */
.tsa-due { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 14px 18px; border-radius: 18px; background: linear-gradient(135deg, #fff7c2 0%, #ffe94d 100%); color: var(--tsp-text); text-decoration: none; box-shadow: 0 10px 30px -20px rgba(180, 140, 0, .7); }
.tsa-due > i { flex: 0 0 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .75); display: grid; place-items: center; color: #6b5600; }
.tsa-due > i .tsh-ico { width: 20px; height: 20px; }
.tsa-due > span { flex: 1 1 auto; min-width: 0; }
.tsa-due strong { display: block; font-size: 1rem; font-weight: 800; }
.tsa-due small { display: block; color: #5a4a00; font-size: .82rem; }
.tsa-due.is-ok { background: #f3fbf6; box-shadow: none; border: 1px solid #d5efe0; }
.tsa-due.is-ok > i { background: #dcf3e6; color: var(--tsp-green); }
.tsa-due.is-ok small { color: var(--tsp-muted); }
.tsa-list { display: flex; flex-direction: column; gap: 12px; }
.tsa-card { background: #fff; border: 1px solid var(--tsp-line); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(12, 12, 12, .03), 0 10px 26px -22px rgba(12, 12, 12, .3); }
.tsa-trip { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.tsa-trip + .tsa-trip { border-top: 1px solid #f3ebc2; }
.tsa-tile { flex: 0 0 58px; height: 62px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; background: #f1edff; color: #3d2a8c; }
.tsa-tile small { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tsa-tile b { font-size: 1.4rem; font-weight: 800; }
.tsa-tile i { font-style: normal; font-size: .66rem; font-weight: 700; opacity: .75; }
.tsa-tile.is-ok { background: #e3f5ec; color: #0f6b4c; }
.tsa-tile.is-off { background: #eff0f2; color: #6b6b63; }
.tsa-trip-main { flex: 1 1 auto; min-width: 0; }
.tsp .tsa-trip-main h3 { margin: 0; font-size: 1.04rem; font-weight: 800; }
.tsa-trip-main h3 a { color: inherit; text-decoration: none; }
.tsa-trip-main h3 a:hover { text-decoration: underline; }
.tsp .tsa-trip-main p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 2px 0 0; font-size: .8rem; color: var(--tsp-muted); font-weight: 600; }
.tsp a.tsa-inv { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 7px; background: #f1edff; color: #3d2a8c; font-weight: 800; font-size: .74rem; text-decoration: none; white-space: nowrap; }
.tsp a.tsa-inv:hover { background: #e6deff; }
.tsa-inv .tsh-ico { width: 12px; height: 12px; }
.tsa-when { flex: 0 0 auto; text-align: right; font-size: .76rem; color: var(--tsp-muted); font-weight: 700; line-height: 1.25; }
.tsa-when b { display: block; font-size: .98rem; color: var(--tsp-text); }
.tsa-step { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 11px 16px; border-top: 1px solid #edeef0; }
.tsa-step > i { flex: 0 0 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; }
.tsa-step > i .tsh-ico { width: 17px; height: 17px; }
.tsp .tsa-step p { flex: 1 1 280px; min-width: 0; margin: 0; font-size: .87rem; }
.tsa-step .tsa-prog { display: block; height: 6px; margin-top: 7px; }
.tsa-step .tsp-btn { min-height: 40px; }
.tsa-step.is-red { background: #fff4f2; }
.tsa-step.is-red > i { background: #fde2dd; color: #b4321f; }
.tsa-step.is-red .tsa-prog span { background: #e07b1a; }
.tsa-step.is-amber { background: #f8f9fb; }
.tsa-step.is-amber > i { background: #fff0a3; color: #7a5b00; }
.tsa-step.is-amber .tsa-prog span { background: #d9a400; }
.tsa-step.is-green { background: #f3fbf6; }
.tsa-step.is-green > i { background: #dcf3e6; color: var(--tsp-green); }
.tsa-step.is-gray { background: #f6f7f9; }
.tsa-step.is-gray > i { background: #e8e9eb; color: #6b6b63; }
.tsa-trip + .tsa-step { border-top-color: #edeef0; }
.tsa-order { border-color: #f1df86; }
.tsa-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 9px 16px; background: linear-gradient(135deg, #fffbe0 0%, #fff1a8 100%); font-size: .82rem; color: #2a2200; text-decoration: none; }
.tsa-strip span { flex: 1 1 auto; font-weight: 800; }
.tsa-strip b { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tsa-strip a, .tsa-strip em { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #f1d64a; color: #2a2200; font-style: normal; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tsa-strip a .tsh-ico { width: 14px; height: 14px; }
.tsa-strip a:hover, a.tsa-strip:hover em { background: #ffde00; }
@media (max-width: 640px) {
    .tsa-due { padding: 12px 14px; gap: 12px; }
    .tsa-due > i { display: none; }
    .tsa-trip { gap: 12px; padding: 12px 14px; }
    .tsa-tile { flex-basis: 50px; height: 54px; border-radius: 12px; }
    .tsa-tile b { font-size: 1.2rem; }
    .tsa-step { padding: 10px 14px 12px; }
    .tsa-step p { flex-basis: 100%; }
    .tsa-step .tsp-btn { flex: 1 1 100%; justify-content: center; }
    .tsa-strip { padding: 9px 14px; }
}
/* Bookings: normal reading size, ONE colour (light yellow) for every card part; only the small icons keep their own colour */
.tsa-due, .tsa-due.is-ok { background: #fff8d6; border: 1px solid #f3e39a; box-shadow: none; }
.tsa-due strong { font-size: 1.05rem; }
.tsa-due small, .tsa-due.is-ok small { color: #5d5d55; font-size: .95rem; }
.tsa-due > i, .tsa-due.is-ok > i { background: #fff; color: #7a5b00; }
.tsa-due.is-ok > i { color: var(--tsp-green); }
.tsa-tile, .tsa-tile.is-ok, .tsa-tile.is-off { background: #fff8d6; color: #3d3000; }
.tsa-tile small, .tsa-tile i { font-size: .72rem; }
.tsp .tsa-trip-main h3 { font-size: 1.15rem; }
.tsp .tsa-trip-main p { font-size: .95rem; font-weight: 400; gap: 4px 12px; }
.tsp a.tsa-inv { background: #fff8d6; color: #3d3000; box-shadow: inset 0 0 0 1px #f3e39a; font-size: .85rem; padding: 2px 8px; }
.tsp a.tsa-inv:hover { background: #ffde00; }
.tsa-when { font-size: .88rem; font-weight: 400; }
.tsa-when b { font-size: 1.1rem; font-weight: 800; }
.tsa-step, .tsa-step.is-red, .tsa-step.is-amber, .tsa-step.is-green, .tsa-step.is-gray { background: #f8f9fb; border-top-color: #f5ecc2; }
.tsp .tsa-step p { font-size: 1rem; }
.tsa-step .tsa-prog { background: #f1e7b0; }
.tsa-step.is-red .tsa-prog span, .tsa-step.is-amber .tsa-prog span { background: #d9a400; }
.tsa-strip { font-size: .95rem; background: #fff8d6; }
.tsa-trip + .tsa-trip { border-top-color: #edeef0; }
.tsa-order { border-color: var(--tsp-line); }
@media (max-width: 640px) {
    .tsa-step > i { display: grid; flex: 0 0 26px; height: 26px; align-self: flex-start; margin-top: 1px; }
    .tsp .tsa-step p { flex: 1 1 0; }
}
/* status sentence: a touch smaller than body text */
.tsp .tsa-step p { font-size: .9rem; }
.tsa-seg + .tsa-list { margin-top: 4px; }
/* Less yellow: date tile, invoice tag and status row go neutral; yellow is kept for what needs attention
   (the "need payment" summary, Pay buttons, the paid bar) and a soft order strip. */
.tsa-tile, .tsa-tile.is-ok, .tsa-tile.is-off { background: #fff; color: var(--tsp-text); box-shadow: inset 0 0 0 1px #e3e4e6; }
.tsa-tile small { color: #8a6d00; }
.tsa-tile i { color: var(--tsp-muted); opacity: 1; }
.tsp a.tsa-inv { background: #f2f3f5; color: #3d3d38; box-shadow: inset 0 0 0 1px #e3e4e6; }
.tsp a.tsa-inv:hover { background: #fff8d6; color: var(--tsp-text); }
.tsa-step, .tsa-step.is-red, .tsa-step.is-amber, .tsa-step.is-green, .tsa-step.is-gray { background: #f8f9fb; border-top-color: #edeef0; }
.tsa-step .tsa-prog { max-width: 360px; background: #e8e9eb; }
.tsa-strip { background: #f8f9fb; }
.tsa-due.is-ok { background: #f8f9fb; border-color: var(--tsp-line); }
/* My bookings (simple): one light-blue date tile (grey when cancelled); the button sits on the trip line */
.tsa-tile.is-on { background: #e6efff; color: #1e40af; box-shadow: none; }
.tsa-tile.is-off { background: #f1f2f4; color: #8b929d; box-shadow: none; }
.tsa-tile.is-on small, .tsa-tile.is-off small { color: inherit; opacity: .8; }
.tsa-end { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; }
.tsa-end .tsa-btn { min-height: 40px; padding: 0 16px; font-size: .88rem; white-space: nowrap; }
.tsa-strip a, .tsa-strip em { background: var(--tsp-yellow); color: var(--tsp-black); font-weight: 800; }
.tsa-strip a:hover, a.tsa-strip:hover em { background: #f2cf00; }
.tsa-card:has(.tsa-tile.is-off) .tsa-trip-main h3 { color: #6b7380; }
@media (max-width: 640px) {
    .tsa-trip { flex-wrap: wrap; }
    .tsa-trip-main { flex: 1 1 calc(100% - 70px); }
    .tsa-end { flex: 1 1 100%; justify-content: space-between; padding-left: 62px; }
    .tsa-end .tsa-when { text-align: left; }
    .tsa-end .tsa-when b { display: inline; margin-right: 4px; }
}
/* ==== Account (Bookings + My profile): the same type scale as the rest of the site ====
   body 1rem/400 · headings 700 (page title h1 stays 800) · small notes .88rem/400 muted · labels .85rem/700 */
.tsp .tsa-hi { font-weight: 400; font-size: 1rem; }
.tsa-form h1, .tsa-form h2 { font-size: 1.2rem; font-weight: 700; }
.tsa-ok, .tsa-wait { font-weight: 700; }
.tsa-verify p { font-size: .88rem; }
.tsa-due strong { font-size: 1rem; font-weight: 700; }
.tsa-due small, .tsa-due.is-ok small { font-size: .88rem; }
.tsa-tile small { font-size: .7rem; font-weight: 700; }
.tsa-tile b { font-size: 1.25rem; font-weight: 700; }
.tsa-tile i { font-size: .7rem; font-weight: 400; }
.tsp .tsa-trip-main h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.tsp .tsa-trip-main p { font-size: .88rem; font-weight: 400; }
.tsp a.tsa-inv { font-size: .8rem; font-weight: 700; }
.tsa-when { font-size: .88rem; font-weight: 400; }
.tsa-when b { font-size: 1rem; font-weight: 700; }
.tsp .tsa-step p { line-height: 1.5; font-size: .94rem; font-weight: 400; }
.tsa-step p b { font-weight: 700; }
.tsa-strip { font-size: .88rem; }
.tsa-strip span, .tsa-strip b { font-weight: 700; }
/* Paid together strip: taller, Order receipt a proper button */
.tsa-strip { padding: 12px 18px; min-height: 60px; gap: 8px 14px; }
.tsa-strip a, .tsa-strip em { box-shadow: none; transition: background-color .2s ease; font-weight: 700; min-height: 40px; padding: 0 14px; border-radius: 12px; font-size: .88rem; gap: 7px; }
.tsa-strip a .tsh-ico, .tsa-strip em .tsh-ico { width: 16px; height: 16px; }
@media (max-width: 640px) {
    .tsa-strip { padding: 12px 14px; }
}
/* Bookings pager: 5 cards a page, ‹ Prev 1 2 3 Next › */
.tsa-pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; }
.tsa-pager a { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 12px; background: #fff; border: 1px solid var(--tsp-line); color: var(--tsp-text); font-size: .94rem; font-weight: 700; text-decoration: none; }
.tsa-pager a:hover { background: #fff8d6; }
.tsa-pager a.is-on { background: var(--tsp-yellow); border-color: var(--tsp-yellow); }
.tsa-pager a[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.tsa-pager .tsh-ico { width: 16px; height: 16px; }
.tsa-pg-nums { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 480px) {
    .tsa-pager { gap: 6px; }
    .tsa-pager a { min-width: 38px; height: 38px; padding: 0 8px; }
    .tsa-pg-prev span, .tsa-pg-next span { display: none; }
}
/* My bookings: the whole card opens the booking (one trip), or the whole trip row inside an order card (several trips).
   The package name's link is stretched over it; the other links and buttons sit above that layer and keep their own job. */
.tsa-card:not(.tsa-order), .tsa-order .tsa-trip { position: relative; }
.tsa-trip-main h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.tsa-card a:not(.tsa-trip-main h3 a), .tsa-card button, .tsa-card form { position: relative; z-index: 2; }
.tsa-card:not(.tsa-order), .tsa-order .tsa-trip { transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease; }
.tsa-card:not(.tsa-order):has(.tsa-trip-main h3 a:hover) { background: #f8f9fb; }
/* The order strip in a very light yellow, so it never blends with a hovered (grey) trip row */
.tsa-strip { background: #fffbe6; }
.tsa-order .tsa-trip:has(h3 a:hover) { background: #f8f9fb; }
.tsa-card:not(.tsa-order):has(.tsa-trip-main h3 a:focus-visible), .tsa-order .tsa-trip:has(h3 a:focus-visible) { outline: 2px solid var(--tsp-black); outline-offset: -2px; }
.tsa-trip-main h3 a:focus-visible { outline: 0; }

/* My profile: first + last name side by side */
.tsa-names { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tsa-names .tsp-field { min-width: 0; }
