/* ==========================================================================
   Travel Brand — Shared layout: header, service tabs, sections, footer
   ========================================================================== */

/* ---------- Logo ---------- */
.tb-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--tb-text-strong); flex-shrink: 0; }
.tb-logo:hover { color: var(--tb-text-strong); }
.tb-logo__mark { display: block; flex-shrink: 0; }
.tb-logo__text { font-size: 16px; font-weight: 600; letter-spacing: .1em; line-height: 1; }
.tb-logo__text b { font-weight: 800; color: var(--tb-brand-logo); margin-left: 5px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--tb-border);
    transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(var(--tb-shadow-rgb), .06); }
.site-header__inner { display: flex; align-items: center; gap: 20px; height: var(--tb-header-h); }

.header-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-link {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 10px;
    color: var(--tb-text); font-size: 14px; font-weight: 500; white-space: nowrap;
}
.header-link i { font-size: 17px; color: var(--tb-text-muted); }
.header-link:hover { background: var(--tb-surface-muted); color: var(--tb-text-strong); }
.header-link:hover i { color: var(--tb-primary); }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; padding-left: 16px; border-left: 1px solid var(--tb-border); }
.header-btn { height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; }
.header-btn--signin { color: var(--tb-text-strong); }
.header-btn--signin i { font-size: 18px; color: var(--tb-text-muted); }
.header-menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--tb-border); background: var(--tb-surface); color: var(--tb-text-strong); font-size: 22px; align-items: center; justify-content: center; }
.header-menu-btn:hover { border-color: var(--tb-border-strong); }

/* Currency picker (header dropdown; the same option grid sits in the mobile menu) */
.tb-cur { position: relative; }
.tb-cur__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px 0 8px; border: 1px solid var(--tb-border); border-radius: 10px; background: var(--tb-surface); color: var(--tb-text-strong); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: border-color .15s, background-color .15s; }
.tb-cur__btn:hover, .tb-cur__btn[aria-expanded="true"] { border-color: var(--tb-primary-200); background: var(--tb-primary-50); }
.tb-cur__btn::after { margin-left: 2px; color: var(--tb-text-muted); }
.tb-cur__btn .tb-cur__sym { min-width: 24px; height: 24px; padding: 0 5px; border-radius: 7px; background: var(--tb-primary-soft); color: var(--tb-primary-hover); font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.tb-cur__menu { width: 380px; max-width: calc(100vw - 32px); padding: 14px; margin-top: 8px !important; border: 1px solid var(--tb-border); border-radius: var(--tb-radius-card); box-shadow: var(--tb-shadow-pop); }
.tb-cur__title { margin: 0 0 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--tb-text-muted); }
.tb-cur__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.tb-cur__opt { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border: 1px solid var(--tb-border); border-radius: 10px; background: var(--tb-surface); text-align: left; line-height: 1.2; transition: border-color .15s, background-color .15s; }
.tb-cur__opt:hover { border-color: var(--tb-border-strong); background: var(--tb-surface-muted); }
.tb-cur__opt.is-on { border-color: var(--tb-primary); background: var(--tb-primary-soft); box-shadow: inset 0 0 0 1px var(--tb-primary); }
.tb-cur__opt:focus-visible { outline: 3px solid rgba(var(--tb-primary-rgb), .35); outline-offset: 1px; }
.tb-cur__opt .tb-cur__sym { flex-shrink: 0; min-width: 34px; height: 30px; padding: 0 4px; border-radius: 8px; background: var(--tb-surface-muted); color: var(--tb-text-strong); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.tb-cur__opt.is-on .tb-cur__sym { background: var(--tb-primary); color: var(--tb-on-strong); }
.tb-cur__opt > span:last-child { min-width: 0; }
.tb-cur__opt b { display: block; font-size: 13px; color: var(--tb-text-strong); }
.tb-cur__opt small { display: block; font-size: 11.5px; color: var(--tb-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-cur__note { display: flex; align-items: flex-start; gap: 6px; margin: 12px 0 0; font-size: 11.5px; line-height: 1.4; color: var(--tb-text-muted); }
.tb-cur__note .bi { flex-shrink: 0; margin-top: 1px; }
.tb-cur__note--menu { margin: 8px 0 24px; }

/* Mobile menu */
.mobile-menu { width: min(360px, 88vw) !important; }
.mobile-menu .offcanvas-header { border-bottom: 1px solid var(--tb-border); }
.mobile-menu__account { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.mobile-menu__label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--tb-text-muted); margin: 0 0 10px; }
.mobile-menu__grid { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-menu__grid a { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--tb-border); border-radius: 10px; color: var(--tb-text-strong); font-size: 13.5px; font-weight: 500; line-height: 1.25; min-height: 52px; }
.mobile-menu__grid a i { color: var(--svc, var(--tb-primary)); font-size: 18px; }
.mobile-menu__grid .mobile-menu__soon { margin-left: auto; }
.mobile-menu__grid a.is-active { border-color: var(--tb-primary); background: var(--tb-primary-soft); }
.mobile-menu__list { list-style: none; padding: 0; margin: 0; }
.mobile-menu__list a { display: flex; align-items: center; gap: 12px; padding: 13px 4px; color: var(--tb-text-strong); border-bottom: 1px solid var(--tb-border); font-weight: 500; }
.mobile-menu__list a i { color: var(--tb-text-muted); font-size: 18px; }

/* ---------- Service menu: one dark glass rail on the hero ----------
   The rail (not each pill) carries the dark background, so white labels stay readable on any photo. */
.service-nav { position: relative; display: flex; max-width: 100%; }
.service-nav__list {
    display: flex; gap: 2px; list-style: none; margin: 0; padding: 5px; min-width: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
    background: var(--tb-rail-bg); border: 1px solid var(--tb-rail-border); border-radius: 14px;
    -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
    box-shadow: 0 12px 32px -12px rgba(var(--tb-ink-rgb), .45);
}
.service-nav__list::-webkit-scrollbar { display: none; }
.service-nav__list > li { flex: 0 0 auto; scroll-snap-align: start; }
.service-nav__item {
    display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px;
    border-radius: 10px; color: rgba(255, 255, 255, .88); font-size: 13.5px; font-weight: 500; line-height: 1; white-space: nowrap;
    transition: background-color .15s, color .15s, box-shadow .15s;
}
.service-nav__item .bi { font-size: 15px; opacity: .9; }
.service-nav__item:hover { color: var(--tb-on-strong); background: rgba(255, 255, 255, .12); }
.service-nav__item.is-active, .service-nav__item.is-active:hover { background: var(--tb-surface); color: var(--tb-primary-hover); font-weight: 600; box-shadow: 0 2px 8px rgba(var(--tb-ink-rgb), .28); }
.service-nav__item.is-active .bi { color: var(--tb-primary); opacity: 1; }
.service-nav__item:focus-visible { outline: 2px solid #fff; outline-offset: -2px; border-radius: 10px; }
/* Edge fades while the row can scroll (classes set by navigation.js) */
.service-nav.has-right .service-nav__list { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.service-nav.has-left .service-nav__list { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
.service-nav.has-left.has-right .service-nav__list { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }

/* ---------- Sections ---------- */
.tb-section { padding: var(--tb-section-gap) 0; }
.tb-section--white { background: var(--tb-surface); border-top: 1px solid var(--tb-border); border-bottom: 1px solid var(--tb-border); }
.tb-section--sand { background: var(--tb-bg-warm); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head__eyebrow { display: inline-block; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--tb-secondary); margin-bottom: 8px; }
.section-head__title { font-size: 30px; font-weight: 700; margin: 0; letter-spacing: -.025em; }
.section-head__sub { color: var(--tb-text-muted); margin: 8px 0 0; font-size: 15.5px; }
.section-head__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.link-arrow i { transition: transform .15s; }
.link-arrow:hover i { transform: translateX(3px); }

/* Horizontal scroller used by offers / packages / tours */
.h-scroller { display: grid; grid-auto-flow: column; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; margin: -4px -2px 0; overscroll-behavior-x: contain; }
.h-scroller::-webkit-scrollbar { display: none; }
.h-scroller > * { scroll-snap-align: start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tb-surface); border-top: 1px solid var(--tb-border); padding: 64px 0 28px; color: var(--tb-text-muted); font-size: 14px; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.site-footer__brand p { margin: 16px 0; max-width: 340px; }
.site-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact i { color: var(--tb-primary); margin-top: 2px; }
.site-footer__contact em { font-style: normal; color: var(--tb-text-subtle); font-size: 12px; }
.site-footer__title { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--tb-text-strong); margin: 6px 0 16px; font-weight: 700; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__col a { color: var(--tb-text-muted); }
.site-footer__col a:hover { color: var(--tb-primary); }
.site-footer__note { display: flex; gap: 12px; align-items: flex-start; margin-top: 44px; padding: 14px 16px; border-radius: 10px; background: var(--tb-accent-amber-soft); color: var(--tb-warn-ink); font-size: 13px; }
.site-footer__note p { margin: 0; }
.site-footer__note i { margin-top: 1px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--tb-border); margin-top: 24px; padding-top: 20px; font-size: 13px; }

/* ---------- Placeholder pages ---------- */
.placeholder-hero { background: linear-gradient(180deg, var(--tb-primary-soft) 0%, var(--tb-bg) 100%); padding: 56px 0; }
.placeholder-card { max-width: 760px; margin: 0 auto; padding: 40px; text-align: center; }
.placeholder-card__icon { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--tb-primary); background: var(--tb-primary-soft); }
.placeholder-card h1 { font-size: 30px; margin-bottom: 8px; }
.placeholder-card p { color: var(--tb-text-muted); }
.placeholder-card__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

.tb-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tb-text-muted); margin-bottom: 20px; flex-wrap: wrap; }
.tb-breadcrumb i { font-size: 10px; }

/* ---------- Template switcher (Debug / staging only; see SiteTemplate.cs) ---------- */
.tpl-switch { position: fixed; left: 12px; bottom: 12px; z-index: 1090; font-size: 12.5px; }
.tpl-switch > summary {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--tb-radius-pill); cursor: pointer; list-style: none;
    background: var(--tb-text-strong); color: var(--tb-on-strong); box-shadow: var(--tb-shadow-pop);
}
.tpl-switch > summary::-webkit-details-marker { display: none; }
.tpl-switch > summary::after { content: "\F286"; font-family: "bootstrap-icons"; font-size: 11px; transition: transform .15s; }
.tpl-switch[open] > summary::after { transform: rotate(180deg); }
.tpl-switch__tag { padding: 0 6px; border-radius: 4px; background: rgba(255, 255, 255, .18); font-size: 11px; }
.tpl-switch__list {
    position: absolute; left: 0; bottom: calc(100% + 8px); width: 230px; margin: 0; padding: 6px; list-style: none;
    background: var(--tb-surface); border: 1px solid var(--tb-border); border-radius: 12px; box-shadow: var(--tb-shadow-pop);
}
.tpl-switch__list a { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--tb-text); }
.tpl-switch__list a:hover { background: var(--tb-surface-muted); color: var(--tb-text-strong); }
.tpl-switch__list a.is-current { background: var(--tb-primary-soft); color: var(--tb-primary-hover); }
.tpl-switch__list b { font-size: 12px; }
.tpl-switch__list small { font-size: 10.5px; color: var(--tb-text-subtle); }

/* ---------- Loading, problem and empty states (TB.ui in app.js) ---------- */
.tb-state[hidden] { display: none; }
.tb-load { margin-top: 8px; }
.tb-load__text { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--tb-text-muted); }
.tb-skel { display: block; border-radius: 8px; background: linear-gradient(90deg, var(--tb-surface-muted) 25%, var(--tb-surface-strong) 50%, var(--tb-surface-muted) 75%); background-size: 200% 100%; animation: tb-skel 1.4s ease-in-out infinite; }
.tb-skel--line { height: 12px; margin: 0 0 10px; }
.tb-skel--line:last-child { margin-bottom: 0; }
.tb-skel--logo { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; }
.tb-skel--media { flex: 0 0 auto; width: 30%; max-width: 220px; min-height: 120px; border-radius: 12px; }
.tb-skel-card { display: block; padding: 16px; margin-bottom: 12px; background: var(--tb-surface); border: 1px solid var(--tb-border); border-radius: var(--tb-radius-card); }
.tb-skel-card--row { display: flex; align-items: center; gap: 16px; }
.tb-skel-card__body { flex: 1 1 auto; min-width: 0; }
.tb-skel-card__end { flex: 0 0 110px; }
.tb-skel-gal { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.tb-skel-gal .tb-skel { height: 260px; border-radius: 12px; }
.tb-skel-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.tb-skel-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.tb-skel-row3 .tb-skel { height: 110px; }
.tb-problem .btn { margin-top: 4px; }
@keyframes tb-skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (max-width: 767.98px) {
    .tb-skel-split { grid-template-columns: minmax(0, 1fr); }
    .tb-skel-gal { grid-template-columns: minmax(0, 1fr); }
    .tb-skel-gal .tb-skel:not(:first-child) { display: none; }
    .tb-skel-gal .tb-skel { height: 200px; }
    .tb-skel--media { min-height: 96px; }
    .tb-skel-card__end { flex-basis: 72px; }
    .tb-skel-row3 { grid-template-columns: minmax(0, 1fr); }
    .tb-skel-row3 .tb-skel:not(:first-child) { display: none; }
}

/* Reminder that a demo switch (?demo=…) is on, above the template switch */
.tb-demo-pill { position: fixed; left: 12px; bottom: 56px; z-index: 1090; display: flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: var(--tb-warn-ink); background: var(--tb-accent-amber-soft); border: 1px solid var(--tb-warn-border); border-radius: var(--tb-radius-pill); box-shadow: var(--tb-shadow-sm); }
.tb-demo-pill .bi { color: var(--tb-warn-icon); }
.tb-demo-pill a { color: var(--tb-warn-ink); text-decoration: underline; }

/* Smooth open and close for every <details> (where the browser supports animating to auto height; others just snap) */
:root { interpolate-size: allow-keywords; }
details::details-content { block-size: 0; overflow: clip; transition: block-size .26s var(--tb-ease), content-visibility .26s allow-discrete; }
details[open]::details-content { block-size: auto; }

/* Header account menu when signed in (Views/Shared/_AccountMenu.cshtml) */
.header-acc__btn { display: inline-flex; align-items: center; gap: 8px; }
.header-acc__av { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--tb-primary); color: var(--tb-on-strong); font-size: 13px; font-weight: 700; }
.header-acc__btn > .bi { font-size: 11px; color: var(--tb-text-muted); }
.header-acc__menu { min-width: 230px; padding: 6px; border: 1px solid var(--tb-border); border-radius: 14px; box-shadow: var(--tb-shadow-lg); }
.header-acc__menu .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.header-acc__menu .dropdown-item .bi { color: var(--tb-text-muted); }
.header-acc__who { padding: 8px 10px 10px; }
.header-acc__who b { display: block; font-size: 14px; color: var(--tb-text-strong); }
.header-acc__who small { display: block; font-size: 12px; color: var(--tb-text-muted); }
.header-acc__out { margin: 0; }
.mobile-menu__who { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 14px; color: var(--tb-text-muted); }
@media (max-width: 575.98px) { .header-acc__name { display: none; } }
/* R1: the role under the name, the role chip in the menu, and the signed-in card at the top of the mobile menu */
.header-acc__name { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.header-acc__role { font-size: 10.5px; font-weight: 600; color: var(--tb-accent-violet-ink); }
.header-acc__chip { display: inline-block; margin-top: 6px; padding: 1px 8px; border-radius: var(--tb-radius-pill); background: var(--tb-accent-violet-soft); color: var(--tb-accent-violet-ink); font-size: 11.5px; font-weight: 700; }
.mobile-menu__me { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 10px 12px; border-radius: 12px; background: var(--tb-accent-violet-soft); }
.mobile-menu__me b { display: block; font-size: 14px; color: var(--tb-text-strong); }
.mobile-menu__me small { display: block; font-size: 12px; color: var(--tb-text-muted); }
.mobile-menu__out { margin: 18px 0 0; }
@media (max-width: 575.98px) { .header-acc__name { display: none; } }

/* ---------- Sign-in window over the page (auth-modal.js, _SignInModal.cshtml) ---------- */
.tb-auth .modal-content { border: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(var(--tb-shadow-rgb), .28); }
.tb-auth__top { position: relative; padding: 26px 26px 18px; text-align: center; background: linear-gradient(160deg, var(--tb-primary-soft), var(--tb-surface) 70%); }
.tb-auth__close { position: absolute; top: 14px; right: 14px; }
.tb-auth__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 10px; border-radius: 16px; background: var(--tb-primary); color: var(--tb-on-strong); font-size: 24px; box-shadow: 0 10px 22px -8px rgba(var(--tb-primary-rgb), .6); }
.tb-auth__title { margin: 0; font-size: 21px; font-weight: 800; }
.tb-auth__sub { margin: 4px 0 0; font-size: 13.5px; color: var(--tb-text-muted); }
.tb-auth__form { padding: 6px 26px 4px; }
.tb-auth__err { margin: 0 0 12px; padding: 8px 12px; border: 1px solid var(--tb-danger-border); border-radius: var(--tb-radius-control); background: var(--tb-danger-soft); font-size: 13px; color: var(--tb-danger); }
.tb-auth__field { margin-bottom: 12px; }
.tb-auth__field .form-label { margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--tb-text-strong); }
.tb-auth__input { position: relative; }
.tb-auth__input > .bi { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--tb-text-subtle); pointer-events: none; }
.tb-auth__input .form-control { height: 46px; padding-left: 38px; padding-right: 44px; border-radius: 12px; }
.tb-auth__eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; padding: 0; border: 0; border-radius: 9px; background: none; color: var(--tb-text-muted); }
.tb-auth__eye:hover { background: var(--tb-surface-muted); color: var(--tb-text-strong); }
.tb-auth__go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; border-radius: var(--tb-radius-pill); }
.tb-auth__switch { margin: 14px 26px 0; text-align: center; font-size: 13.5px; color: var(--tb-text-muted); }
.tb-auth__switch a { font-weight: 700; }
.tb-auth__demo { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 26px 20px; font-size: 11.5px; color: var(--tb-text-subtle); }

/* ---------- Business flag in the header (Travel Brand for Business) ---------- */
.biz-flag { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--tb-radius-pill); background: var(--tb-accent-violet); color: var(--tb-on-strong); font-size: 13px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
@media (max-width: 575.98px) { .biz-flag span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .biz-flag { padding: 0 9px; } }
/* A violet edge under the header marks the business site on every page. */
body.mode-business .site-header { box-shadow: inset 0 -3px 0 var(--tb-accent-violet); }
/* Text button (also defined in flight-results.css; here so the home and sign-in pages have it too) */
.rs-link { padding: 0; border: 0; background: none; color: var(--tb-primary); font-size: 13px; font-weight: 600; }
.rs-link:hover { color: var(--tb-primary-hover); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   U1: centred alert (TB.ui.alert in app.js), the service strip under the header, the approver bell. Design tokens only.
   ========================================================================== */
.tb-alert-wrap { position: fixed; inset: 0; z-index: 1090; display: flex; align-items: center; justify-content: center; padding: 16px; pointer-events: none; visibility: hidden; }
.tb-alert-wrap.is-on { visibility: visible; }
.tb-alert__scrim { position: absolute; inset: 0; background: rgba(var(--tb-ink-rgb), .32); opacity: 0; transition: opacity .2s; }
.tb-alert-wrap.is-modal.is-on .tb-alert__scrim { opacity: 1; pointer-events: auto; }
.tb-alert {
    position: relative; display: flex; align-items: flex-start; gap: 14px; width: min(440px, 100%); padding: 18px 44px 18px 18px;
    border-radius: 16px; background: var(--tb-surface); border: 1px solid var(--tb-border); border-top: 4px solid var(--tb-tone, var(--tb-success));
    box-shadow: var(--tb-shadow-pop); pointer-events: auto; opacity: 0; transform: translateY(8px) scale(.97); transition: opacity .2s, transform .2s;
}
.tb-alert-wrap.is-on .tb-alert { opacity: 1; transform: none; }
.tb-alert:focus { outline: none; }
.tb-alert--success { --tb-tone: var(--tb-success); --tb-tone-soft: var(--tb-success-soft); }
.tb-alert--info { --tb-tone: var(--tb-primary); --tb-tone-soft: var(--tb-primary-soft); }
.tb-alert--warn { --tb-tone: var(--tb-warn-icon); --tb-tone-soft: var(--tb-accent-amber-soft); }
.tb-alert--error { --tb-tone: var(--tb-danger); --tb-tone-soft: var(--tb-danger-soft); }
.tb-alert__icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; background: var(--tb-tone-soft); color: var(--tb-tone); }
.tb-alert__body { flex: 1 1 auto; min-width: 0; padding-top: 2px; }
.tb-alert__body b { display: block; margin-bottom: 2px; font-size: 15px; color: var(--tb-text-strong); }
.tb-alert__body p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--tb-text); }
.tb-alert__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tb-alert__x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--tb-text-muted); }
.tb-alert__x:hover { background: var(--tb-surface-muted); color: var(--tb-text-strong); }
.tb-alert__x:focus-visible, .tb-alert__acts .btn:focus-visible { outline: 3px solid rgba(var(--tb-primary-rgb), .4); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tb-alert, .tb-alert__scrim { transition: none; } }
/* The old page toasts are replaced by the centred alert. */
.rs-toast, .bz-toast { display: none !important; }

/* Service strip: every travel service, under the header (Flights and Hotels work; the rest are coming soon) */
/* Outside the sticky header (it scrolls away), so bars that stick under the header keep their place. */
.svc-strip { border-bottom: 1px solid var(--tb-border); background: var(--tb-surface); }
.svc-strip__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 6px 0; overflow-x: auto; scrollbar-width: none; }
.svc-strip__list::-webkit-scrollbar { display: none; }
.svc-strip__item { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: var(--tb-radius-pill); color: var(--tb-text); font-size: 13.5px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.svc-strip__item .bi { font-size: 16px; color: var(--svc, var(--tb-primary)); }
.svc-strip__item:hover { background: var(--tb-surface-muted); color: var(--tb-text-strong); }
.svc-strip__item.is-active { background: var(--tb-accent-violet-soft); color: var(--tb-accent-violet-ink); }
.svc-strip__item:focus-visible { outline: 3px solid rgba(var(--tb-primary-rgb), .4); outline-offset: 1px; }
.svc-strip__soon, .mobile-menu__soon { padding: 1px 6px; border-radius: var(--tb-radius-pill); background: var(--tb-surface-muted); color: var(--tb-text-muted); font-size: 10.5px; font-weight: 600; letter-spacing: .02em; }

/* Approver bell (notifications.js) */
.hdr-bell { position: relative; }
.hdr-bell__btn { position: relative; width: 40px; height: 40px; border: 1px solid var(--tb-border); border-radius: 50%; background: var(--tb-surface); color: var(--tb-text-strong); font-size: 17px; display: inline-flex; align-items: center; justify-content: center; }
.hdr-bell__btn:hover { background: var(--tb-surface-muted); }
.hdr-bell__btn:focus-visible { outline: 3px solid rgba(var(--tb-primary-rgb), .4); outline-offset: 2px; }
.hdr-bell__n { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--tb-radius-pill); border: 2px solid var(--tb-surface); background: var(--tb-danger); color: var(--tb-on-strong); font-size: 10.5px; font-weight: 700; line-height: 15px; text-align: center; }
.hdr-bell__n[hidden] { display: none; }
.hdr-bell__menu { width: min(360px, calc(100vw - 24px)); padding: 0; border-radius: 14px; border-color: var(--tb-border); box-shadow: var(--tb-shadow-pop); overflow: hidden; }
.hdr-bell__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--tb-border); }
.hdr-bell__head b { font-size: 14.5px; color: var(--tb-text-strong); }
.hdr-bell__head small { font-size: 12px; color: var(--tb-text-muted); }
.hdr-bell__list { list-style: none; margin: 0; padding: 0; max-height: 340px; overflow-y: auto; }
.hdr-bell__list a { display: flex; gap: 10px; padding: 10px 14px; color: var(--tb-text); text-decoration: none; border-bottom: 1px solid var(--tb-border); }
.hdr-bell__list a:hover, .hdr-bell__list a:focus-visible { background: var(--tb-surface-muted); outline: none; }
.hdr-bell__list .bi { margin-top: 2px; color: var(--tb-primary); }
.hdr-bell__list li.is-new a { background: var(--tb-primary-50); }
.hdr-bell__list b { display: block; font-size: 13.5px; color: var(--tb-text-strong); }
.hdr-bell__list small { display: block; font-size: 12px; color: var(--tb-text-muted); }
.hdr-bell__list small.is-soon { color: var(--tb-danger); font-weight: 600; }
.hdr-bell__empty { margin: 0; padding: 18px 14px; font-size: 13px; color: var(--tb-text-muted); }
.hdr-bell__foot { display: block; padding: 10px 14px; text-align: center; font-size: 13px; font-weight: 600; text-decoration: none; }

@media (max-width: 575.98px) {
    .tb-alert { padding: 16px 40px 16px 14px; gap: 12px; }
    .svc-strip__item { height: 34px; padding: 0 10px; font-size: 13px; }
}
.placeholder-card__points { list-style: none; display: grid; gap: 8px; max-width: 460px; margin: 4px auto 16px; padding: 0; text-align: left; }
.placeholder-card__points li { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--tb-surface-muted); font-size: 14px; color: var(--tb-text); }
.placeholder-card__points .bi { margin-top: 2px; color: var(--tb-success); }

/* U2: on phones the approver bell needs the room, so the Business flag gives way there (the violet edge under the header still marks the business site). */
@media (max-width: 575.98px) {
    .header-actions:has(.hdr-bell) .biz-flag { display: none; }
    .header-actions { gap: 6px; }
    .hdr-bell__btn { width: 38px; height: 38px; }
}

/* U2: the template switcher is a Debug-only review tool; on phones it covered fields and the sticky Book bar, so it shows from tablet width up. */
@media (max-width: 767.98px) { .tpl-switch { display: none; } }

/* V1: the company next to our logo ("Travel Brand | Brightline"). Hidden on phones, where the header has no room; the account menu names it. */
.hdr-co { display: inline-flex; align-items: center; gap: 8px; margin-left: -6px; padding-left: 14px; border-left: 1px solid var(--tb-border); color: var(--tb-text-strong); font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.hdr-co__mark { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--tb-accent-violet), var(--tb-primary)); color: var(--tb-on-strong); font-size: 14px; font-weight: 800; }
@media (max-width: 575.98px) { .hdr-co { display: none; } }
@media (min-width: 576px) and (max-width: 1199.98px) { .hdr-co__name { display: none; } .hdr-co { padding-left: 10px; } }

/* V1: employee bell icons by tone */
.hdr-bell__list .bi.is-red { color: var(--tb-danger); }
.hdr-bell__list .bi.is-green { color: var(--tb-success); }
.hdr-bell__list .bi.is-amber { color: var(--tb-warn-icon); }
