/* ============================================================
   Header v2 — Gother-style two-row header
   Row 1: logo | support · currency · language · notif · avatar
   Row 2: service nav with icons + pill badges
   Scoped under .hv2 so it can coexist with the legacy header CSS.
   ============================================================ */
:root {
    --hv2-top-bg: #fdfcf8;
    --hv2-nav-bg: #f5f4ee;
    --hv2-text: #1f2937;
    --hv2-muted: #4b5563;
    --hv2-accent: #0c5fe0;   /* blue underline accent */
    --hv2-brand: #e30613;    /* brand red — topbar interactive elements */
    --hv2-brand-light: #ff5f4d;
    --hv2-brand-rgb: 227,6,19;
    --hv2-badge: #e30613;
    --hv2-border: #e7e5dc;
}

.bravo_wrap .hv2 {
    border-bottom: 3px solid var(--hv2-accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow .15s ease;
}
.bravo_wrap .hv2.is-sticky {
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

/* ── Row 1 ──────────────────────────────────────────────────── */
.bravo_wrap .hv2 .hv2-top {
    background: var(--hv2-top-bg);
    padding: 5px 0;
    border-bottom: 1px solid var(--hv2-border);
}
/* legacy CSS hides .bravo_topbar on small screens — row 1 must stay visible */
@media (max-width: 991px) {
    .bravo_wrap .hv2 .hv2-top {
        display: block !important;
    }
}
.bravo_wrap .hv2 .hv2-top .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.bravo_wrap .hv2 .hv2-logo .bravo-logo img {
    max-height: 44px;
    width: auto;
}
.bravo_wrap .hv2 .hv2-logo .bravo-logo span {
    font-size: 24px;
    font-weight: 700;
    color: var(--hv2-text);
}

/* Right cluster */
.bravo_wrap .hv2 .hv2-top .topbar-right {
    display: flex;
    align-items: center;
}
.bravo_wrap .hv2 .hv2-top .topbar-items {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 4px;
}
.bravo_wrap .hv2 .hv2-top .topbar-items > li {
    display: flex;
    align-items: center;
}

/* ── Currency: show only the code in bold brand-red ─────────── */
.bravo_wrap .hv2 .hv2-top .tb-sw-symbol {
    display: none !important;
}
.bravo_wrap .hv2 .hv2-top .tb-sw-code {
    color: var(--hv2-brand);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .02em;
}

/* ── Language: flag + chevron only, no name ─────────────────── */
.bravo_wrap .hv2 .hv2-top .lang-label {
    display: none;
}
/* make the flag slightly larger so it reads at a glance */
.bravo_wrap .hv2 .hv2-top .topbar-items .flag-icon {
    width: 22px;
    height: 16px;
}

/* ── Chevrons on currency / language triggers ────────────────── */
.bravo_wrap .hv2 .hv2-top .topbar-items > li > a > .fa-angle-down {
    color: var(--hv2-brand);
    font-size: 13px;
    margin-left: 3px;
}

/* ── Dropdown trigger base (overrides .is_login color) ─────── */
.bravo_wrap .hv2 .hv2-top .topbar-items > li > a.is_login {
    color: var(--hv2-text);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
}
.bravo_wrap .hv2 .hv2-top .topbar-items > li > a.is_login:hover {
    background: var(--hv2-border);
}

/* ── "Log In / Sign Up" guest link ──────────────────────────── */
.bravo_wrap .hv2 .hv2-auth-guest {
    list-style: none;
}
.bravo_wrap .hv2 .hv2-login-link {
    color: var(--hv2-brand) !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}
.bravo_wrap .hv2 .hv2-login-link:hover {
    background: rgba(227, 6, 19, .08);
}

/* ── Support icon ────────────────────────────────────────────── */
.bravo_wrap .hv2 .hv2-support .tb-icon-btn i {
    font-size: 18px;
    color: var(--hv2-brand);
}

/* ── Notification bell trigger — same gradient focus/hover ring as
   .tb-user-trigger (see below), replacing the default outline. ────── */
.bravo_wrap .hv2 .dropdown-notifications .tb-icon-btn {
    position: relative;
    outline: none;
}
.bravo_wrap .hv2 .dropdown-notifications .tb-icon-btn::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 2px;
    background-image: linear-gradient(135deg, var(--hv2-brand), var(--hv2-brand-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .15s ease;
    pointer-events: none;
}
.bravo_wrap .hv2 .dropdown-notifications .tb-icon-btn:hover::after,
.bravo_wrap .hv2 .dropdown-notifications .tb-icon-btn:focus-visible::after {
    opacity: 1;
}

/* ── Logged-in: avatar-only trigger (no "Hi, name" text) ────── */
.bravo_wrap .hv2 .hv2-top .tb-user-trigger-name {
    display: none;
}
.bravo_wrap .hv2 .hv2-top .tb-user-avatar-sm {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hv2-brand);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

/* Gradient focus/hover ring — replaces the browser's default (blue) focus
   outline. outline/box-shadow can't hold a gradient value directly, so the
   ring is a ::after painted just outside the button via inset + mask,
   matching the gradient-border treatment used elsewhere in this header. */
.bravo_wrap .hv2 .tb-user-trigger {
    position: relative;
    outline: none;
}
.bravo_wrap .hv2 .tb-user-trigger::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 2px;
    background-image: linear-gradient(135deg, var(--hv2-brand), var(--hv2-brand-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .15s ease;
    pointer-events: none;
}
.bravo_wrap .hv2 .tb-user-trigger:hover::after,
.bravo_wrap .hv2 .tb-user-trigger:focus-visible::after {
    opacity: 1;
}

/* ── Hamburger button ────────────────────────────────────────── */
.bravo_wrap .hv2 .bravo-more-menu {
    display: inline-block;
    background: none;
    border: none;
    font-size: 22px;
    font-weight: 700;
    color: var(--hv2-text);
    margin-left: 10px;
    padding: 4px 6px;
    cursor: pointer;
    border-radius: 4px;
    line-height: 1;
}
.bravo_wrap .hv2 .bravo-more-menu:hover,
.bravo_wrap .hv2 .bravo-more-menu.is-active {
    background: var(--hv2-border);
}

/* ── Responsive (< 992px) ─────────────────────────────────────── */
@media (max-width: 991px) {
    .bravo_wrap .hv2 .hv2-top .topbar-items > li.signup-item,
    .bravo_wrap .hv2 .hv2-auth-guest {
        display: none;
    }
    .bravo_wrap .hv2 .hv2-logo .bravo-logo img {
        max-height: 34px;
    }
    .bravo_wrap .hv2 .hv2-top .topbar-items {
        gap: 0;
    }
    .bravo_wrap .hv2 .hv2-nav-item > a {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* ── Currency trigger button ─────────────────────────────────── */
.bravo_wrap .hv2 .hv2-currency-trigger {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: inherit;
}
.bravo_wrap .hv2 .hv2-currency-trigger:hover {
    background: var(--hv2-border);
}
.bravo_wrap .hv2 .hv2-currency-trigger .tb-sw-code {
    color: var(--hv2-brand);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .02em;
}
.bravo_wrap .hv2 .hv2-currency-trigger .fa-angle-down {
    color: var(--hv2-brand);
    font-size: 13px;
}

/* ── Currency modal ──────────────────────────────────────────── */
.hv2-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(0, 0, 0, .48);
    align-items: center;
    justify-content: center;
    padding: 20px;
    /* fade in */
    animation: hv2ModalFadeIn .18s ease;
}
.hv2-modal-overlay.is-open {
    display: flex;
}
@keyframes hv2ModalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.hv2-modal-card {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 740px;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .22);
    animation: hv2CardSlideUp .2s ease;
}
@keyframes hv2CardSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.hv2-modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px 24px 0;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 16px;
}
.hv2-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: -.01em;
}
.hv2-modal-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #6b7280;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.hv2-modal-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}
.hv2-modal-body {
    padding: 22px 24px 28px;
}
.hv2-currency-section-label {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 16px;
}
.hv2-currency-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 480px) {
    .hv2-currency-grid { grid-template-columns: 1fr; }
    .hv2-modal-card    { border-radius: 14px; }
}
.hv2-currency-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none !important;
    color: #1f2937 !important;
    font-size: 15px;
    transition: border-color .15s ease, background .15s ease;
}
.hv2-currency-item:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}
.hv2-currency-item.is-active {
    border-color: var(--hv2-brand);
    border-width: 2px;
}
.hv2-currency-item.is-active:hover {
    border-color: var(--hv2-brand);
}
.hv2-ci-label {
    line-height: 1.3;
}
.hv2-ci-label strong {
    font-weight: 600;
}
.hv2-ci-check {
    color: var(--hv2-brand);
    font-size: 16px;
    flex-shrink: 0;
    margin-left: 8px;
}

/* ── Language trigger button ─────────────────────────────────── */
.bravo_wrap .hv2 .hv2-lang-li {
    display: flex;
    align-items: center;
}
.bravo_wrap .hv2 .hv2-lang-trigger {
    background: none;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color .15s ease, background .15s ease;
}
.bravo_wrap .hv2 .hv2-lang-trigger:hover,
.bravo_wrap .hv2 .hv2-lang-trigger.is-active {
    border-color: transparent;
    background-image: linear-gradient(rgba(var(--hv2-brand-rgb, 227,6,19),.04), rgba(var(--hv2-brand-rgb, 227,6,19),.04)), linear-gradient(135deg, var(--hv2-brand), var(--hv2-brand-light));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}
.bravo_wrap .hv2 .hv2-lang-trigger .fa-angle-down {
    color: var(--hv2-brand);
    font-size: 13px;
}
.bravo_wrap .hv2 .hv2-flag-sm {
    width: 24px;
    height: 17px;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.1);
}

/* ── Language popup (positioned, no overlay) ─────────────────── */
.hv2-lang-popup {
    display: none;
    position: fixed;
    z-index: 1060;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,.12), 0 1px 4px rgba(0,0,0,.06);
    padding: 5px;
    min-width: 200px;
}
.hv2-lang-popup.is-open {
    display: block;
    animation: hv2CardSlideUp .15s ease;
}
.hv2-lang-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none !important;
    color: var(--hv2-text) !important;
    font-size: 14px;
    font-weight: 500;
    transition: background .12s ease;
}
.hv2-lang-item:hover {
    background: #f3f4f6;
    color: var(--hv2-text) !important;
}
.hv2-lang-item.is-active {
    background: #fef2f2;
}
.hv2-lang-item.is-active:hover {
    background: #fde8e8;
}
.hv2-lang-flag {
    width: 28px !important;
    height: 20px !important;
    flex-shrink: 0;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.1);
    vertical-align: middle;
}
.hv2-lang-name {
    flex: 1;
    line-height: 1;
}
.hv2-lang-item .hv2-ci-check {
    color: var(--hv2-brand);
    font-size: 13px;
    flex-shrink: 0;
}

/* ── Row 2: service nav ──────────────────────────────────────── */
.bravo_wrap .hv2 .hv2-nav {
    background: var(--hv2-nav-bg);
}
.bravo_wrap .hv2 .hv2-nav .hv2-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.bravo_wrap .hv2 .hv2-nav .hv2-nav-list::-webkit-scrollbar {
    display: none;
}
.bravo_wrap .hv2 .hv2-nav-item {
    position: relative;
    flex-shrink: 0;
}
.bravo_wrap .hv2 .hv2-nav-item > a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    color: var(--hv2-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color .12s ease, font-weight 0s;
}
.bravo_wrap .hv2 .hv2-nav-item > a:hover {
    color: var(--hv2-brand);   /* fallback for browsers without background-clip: text */
    font-weight: 600;
}
.bravo_wrap .hv2 .hv2-nav-item.active > a {
    color: var(--hv2-brand);   /* fallback for browsers without background-clip: text */
    font-weight: 700;
    /* no per-item underline — the global blue bar at .hv2 bottom is enough */
    border-bottom-color: transparent;
}
/* Brand gradient on focus (hover/active) — applied per text-bearing element
   (label span, icon glyph) since background-clip: text only clips within the
   element that owns the actual text/glyph, not through nested children. */
.bravo_wrap .hv2 .hv2-nav-item > a:hover .hv2-nav-label,
.bravo_wrap .hv2 .hv2-nav-item.active > a .hv2-nav-label,
.bravo_wrap .hv2 .hv2-nav-item > a:hover .hv2-nav-icon,
.bravo_wrap .hv2 .hv2-nav-item.active > a .hv2-nav-icon {
    background-image: linear-gradient(90deg, #ff2f00, #fff000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* Icon matches text color — NOT muted gray */
.bravo_wrap .hv2 .hv2-nav-icon {
    font-size: 15px;
    color: var(--hv2-text);   /* same dark as label */
    flex-shrink: 0;
}
.bravo_wrap .hv2 .hv2-nav-item > a:hover .hv2-nav-icon,
.bravo_wrap .hv2 .hv2-nav-item.active > a .hv2-nav-icon {
    color: var(--hv2-brand);   /* red on hover/active */
}
/* "Recommended" pill — tighter, bolder; background color/gradient comes
   inline from ServiceNavWalker (defaults to the brand gradient). */
.bravo_wrap .hv2 .hv2-nav-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 11px;
    border-radius: 999px;
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1;
    margin-left: 1px;
}
/* No caret / dropdown here by design — the service nav is a flat row of tabs
   (ServiceNavWalker skips children). The old :hover dropdown got stuck open on
   touch and was clipped by .hv2-nav-list's overflow-x:auto scroll container. */

/* ── Hamburger / user popup ──────────────────────────────────── */
.hv2-user-popup {
    display: none;
    position: fixed;
    z-index: 1060;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.06);
    width: 380px;
    max-width: calc(100vw - 16px);
    overflow: hidden;
}
.hv2-user-popup.is-open {
    display: block;
    animation: hv2CardSlideUp .15s ease;
}

/* Member header */
.hv2-popup-section {
    padding: 16px 16px 14px;
}
.hv2-popup-member-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--hv2-text);
    margin: 0 0 12px;
}
.hv2-popup-login-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: #b22a1e;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background .15s ease;
}
.hv2-popup-login-btn:hover {
    background: #982318;
    color: #fff !important;
}
.hv2-popup-user-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hv2-popup-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.hv2-popup-username {
    font-size: 14px;
    font-weight: 600;
    color: var(--hv2-text);
}

/* Loyalty badge row — merged in from tb-user-menu's tb-loyalty-row */
.hv2-popup-loyalty-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.hv2-popup-loyalty-id {
    display: inline-block;
    padding: 2px 8px;
    background: #e8f0fe;
    color: #1a56db;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
}
.hv2-popup-loyalty-level {
    font-size: 12px;
    font-weight: 600;
    color: #b22a1e;
}

/* Menu items */
.hv2-popup-menu {
    padding: 5px 6px;
    border-top: 1px solid var(--hv2-border);
}
.hv2-popup-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 10px;
    border-radius: 8px;
    text-decoration: none !important;
    color: var(--hv2-text) !important;
    font-size: 14px;
    font-weight: 500;
    transition: background .12s ease;
}
.hv2-popup-item:hover {
    background: #f3f4f6;
    color: var(--hv2-text) !important;
}
.hv2-popup-item-icon {
    font-size: 18px;
    color: #6b7280;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}
.hv2-popup-item-badge {
    margin-left: auto;
    min-width: 18px;
    padding: 1px 6px;
    background: #e6231e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    border-radius: 20px;
    flex-shrink: 0;
}
.hv2-popup-item--logout {
    border-top: 1px solid var(--hv2-border);
    margin-top: 4px;
    padding-top: 12px;
    cursor: pointer;
}
.hv2-popup-item--logout .hv2-popup-item-icon {
    color: #b22a1e;
}

/* Settings section */
.hv2-popup-settings {
    background: #f5f4ee;
    padding: 12px 16px 16px;
    border-top: 1px solid var(--hv2-border);
}
.hv2-popup-settings-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--hv2-muted);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin: 0 0 4px;
}
.hv2-popup-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 10px;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    color: var(--hv2-text);
    transition: background .12s ease;
}
.hv2-popup-setting-row:hover {
    background: rgba(0,0,0,.05);
}
.hv2-popup-setting-label {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
}
.hv2-popup-setting-label > .fa {
    font-size: 18px;
    color: #6b7280;
    width: 22px;
    text-align: center;
}
.hv2-popup-setting-value {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--hv2-muted);
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 480px) {
    .hv2-user-popup {
        width: calc(100vw - 16px);
        left: 8px !important;
    }
}

/* ── Notification popup — same floating-card design as .hv2-user-popup
   (position:fixed, JS-positioned via header-v2.blade.php's popup factory,
   20px radius, same shadow depth, same hv2CardSlideUp open animation).
   Inner content keeps its original tb-notif-* class names (from the v1
   Bootstrap-dropdown version in topbar-auth.blade.php) — only re-skinned
   here under .hv2-notif-panel, so markAsRead/markAllAsRead JS hooks and the
   notification-icon/notif-count badge selectors don't need to change. */
.hv2-notif-panel {
    display: none;
    position: fixed;
    z-index: 1060;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.06);
    width: 400px;
    max-width: calc(100vw - 16px);
    overflow: hidden;
}
.hv2-notif-panel.is-open {
    display: block;
    animation: hv2CardSlideUp .15s ease;
}
.hv2-notif-panel .tb-notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 14px;
    border-bottom: 1px solid var(--hv2-border);
}
.hv2-notif-panel .tb-notif-title {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 800;
    color: var(--hv2-text);
}
.hv2-notif-panel .tb-notif-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 6px;
    padding: 0 5px;
    background: var(--hv2-brand);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
}
.hv2-notif-panel .tb-notif-mark-all {
    background: #fff;
    border: 1px solid var(--hv2-border);
    border-radius: 6px;
    color: var(--hv2-muted);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    text-decoration: none;
    transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.hv2-notif-panel .tb-notif-mark-all:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: var(--hv2-brand);
    text-decoration: none;
}
.hv2-notif-panel .tb-notif-body {
    max-height: 360px;
    overflow-y: auto;
}
.hv2-notif-panel .tb-notif-body::-webkit-scrollbar { width: 4px; }
.hv2-notif-panel .tb-notif-body::-webkit-scrollbar-track { background: #f9fafb; }
.hv2-notif-panel .tb-notif-body::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
/* "Today" / "Earlier" section divider — sticky so a long unread list still
   tells you where "today" ends while scrolling. */
.hv2-notif-panel .tb-notif-group-label {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 9px 18px;
    background: #fafafa;
    border-bottom: 1px solid #f3f4f6;
    font-size: 11px;
    font-weight: 700;
    color: var(--hv2-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.hv2-notif-panel .tb-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid #f3f4f6;
    border-left: 3px solid transparent;
    color: var(--hv2-text);
    text-decoration: none !important;
    position: relative;
    transition: background .12s ease;
}
.hv2-notif-panel .tb-notif-item:hover {
    background: var(--hv2-nav-bg);
    color: var(--hv2-text) !important;
}
/* Unread — a left accent bar reads at a glance without a separate dot, and
   the message goes bold so unread items stand out while scanning the list. */
.hv2-notif-panel .tb-notif-item.is-unread {
    background: #fff8f8;
    border-left-color: var(--hv2-brand);
}
.hv2-notif-panel .tb-notif-item.is-unread .tb-notif-msg { font-weight: 700; }
.hv2-notif-panel .tb-notif-item:last-child { border-bottom: none; }
.hv2-notif-panel .tb-notif-avatar-wrap { position: relative; flex-shrink: 0; }
.hv2-notif-panel .tb-notif-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.hv2-notif-panel .tb-notif-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hv2-notif-panel .tb-notif-letter {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}
/* Type badge — small colored icon pinned to the avatar's corner, hinting at
   WHAT happened (booking/payment/review/...) without reading the message;
   sits on its own relative wrapper (not the avatar) so it isn't clipped by
   the avatar's overflow:hidden circle. */
.hv2-notif-panel .tb-notif-type-badge {
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 9px;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.hv2-notif-panel .tb-notif-content { flex: 1; min-width: 0; padding-top: 2px; }
.hv2-notif-panel .tb-notif-msg {
    font-size: 13px;
    line-height: 1.5;
    color: var(--hv2-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.hv2-notif-panel .tb-notif-time { font-size: 11px; color: var(--hv2-muted); margin-top: 4px; }
.hv2-notif-panel .tb-notif-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px 20px;
    color: var(--hv2-muted);
    font-size: 13px;
}
.hv2-notif-panel .tb-notif-empty i { font-size: 28px; }
.hv2-notif-panel .tb-notif-footer {
    border-top: 1px solid var(--hv2-border);
    padding: 12px 18px;
    text-align: center;
}
.hv2-notif-panel .tb-notif-footer a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--hv2-brand);
    text-decoration: none !important;
}
.hv2-notif-panel .tb-notif-footer a:hover { text-decoration: underline !important; }

@media (max-width: 480px) {
    .hv2-notif-panel {
        width: calc(100vw - 16px);
        left: 8px !important;
    }
}

/* ============================================================
   Login / Register modal — new Gother-style design
   Scoped to .lm-modal so it never bleeds into legacy modals
   ============================================================ */

/* ── Dialog shell ─────────────────────────────────────────── */
.lm-modal .modal-dialog.lm-dialog {
    max-width: 420px;
    width: 100%;
    margin: 16px auto;
}
.lm-modal .modal-content.lm-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,.22);
    position: relative;
}

/* ── Close button ─────────────────────────────────────────── */
.lm-modal .lm-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.25);
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease;
    line-height: 1;
}
.lm-modal .lm-close:hover {
    background: rgba(0,0,0,.45);
}

/* ── Hero header ──────────────────────────────────────────── */
.lm-modal .lm-hero {
    background: #c44227;
    height: 170px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Sun orb */
.lm-modal .lm-hero::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -30px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #f0a500;
}
/* Mountain shapes */
.lm-modal .lm-hero-mountain {
    position: absolute;
    bottom: 0;
}
.lm-modal .lm-hero-mountain--back {
    left: -20px;
    width: 200px;
    height: 130px;
    background: #1a3329;
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.lm-modal .lm-hero-mountain--front {
    left: 50px;
    width: 160px;
    height: 100px;
    background: #2d5c4a;
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
/* Airplane */
.lm-modal .lm-hero-plane {
    position: absolute;
    top: 38px;
    right: 36px;
    font-size: 22px;
    color: rgba(255,255,255,.85);
    transform: rotate(-25deg);
}
/* Logo */
.lm-modal .lm-hero-logo {
    position: relative;
    z-index: 2;
    max-height: 56px;
    max-width: 200px;
    width: auto;
    filter: brightness(0) invert(1);
}
.lm-modal .lm-hero-sitename {
    position: relative;
    z-index: 2;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
}

/* ── Modal body ───────────────────────────────────────────── */
.lm-modal .lm-body {
    background: #f5f4ee;
    padding: 28px 26px 24px;
}

/* ── Step container ───────────────────────────────────────── */
.lm-modal .lm-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--hv2-text);
    text-align: center;
    margin: 0 0 22px;
    letter-spacing: -.02em;
}
.lm-modal .lm-title--sm {
    font-size: 18px;
    margin-bottom: 16px;
}

/* ── Channel buttons ──────────────────────────────────────── */
.lm-modal .lm-channel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 11px 18px;
    border-radius: 40px;
    border: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    transition: opacity .15s ease, filter .15s ease, transform .15s ease;
    margin-bottom: 8px;
    line-height: 1.2;
}
.lm-modal .lm-channel-btn:hover {
    opacity: .88;
    text-decoration: none !important;
    transform: translateY(-1px);
}
.lm-modal .lm-channel-btn:active {
    transform: translateY(0);
}
.lm-modal .lm-btn-icon {
    flex-shrink: 0;
    font-size: 15px;
    line-height: 1;
}
.lm-modal .lm-btn-email {
    background: #b22a1e;
    color: #fff !important;
}
.lm-modal .lm-btn-loyalty {
    background: #1a3c6e;
    color: #fff !important;
}
.lm-modal .lm-btn-google {
    background: #fff;
    color: #1f2937 !important;
    border: 1.5px solid #e5e7eb;
}
.lm-modal .lm-btn-facebook {
    background: #1877F2;
    color: #fff !important;
}
.lm-modal .lm-btn-twitter {
    background: #1da1f2;
    color: #fff !important;
}
.lm-modal .lm-btn-line {
    background: #06C755;
    color: #fff !important;
}

/* ── Terms footer ─────────────────────────────────────────── */
.lm-modal .lm-terms {
    font-size: 12px;
    color: var(--hv2-muted);
    text-align: center;
    line-height: 1.6;
    margin: 24px 0 0;
}
.lm-modal .lm-terms a {
    color: var(--hv2-brand);
    font-weight: 600;
    text-decoration: none;
}
.lm-modal .lm-terms a:hover {
    text-decoration: underline;
}

/* ── Step 2: email form ───────────────────────────────────── */
.lm-modal .lm-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--hv2-muted);
    cursor: pointer;
    padding: 0 0 16px;
    transition: color .12s ease;
}
.lm-modal .lm-back-btn:hover {
    color: var(--hv2-text);
}
.lm-modal .lm-field {
    margin-bottom: 12px;
}
.lm-modal .lm-input {
    display: block;
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    font-family: inherit;
    font-size: 14px;
    color: var(--hv2-text);
    outline: none;
    transition: border-color .15s ease;
}
.lm-modal .lm-input:focus {
    border-color: var(--hv2-brand);
}
.lm-modal .lm-input::placeholder {
    color: #9ca3af;
}
.lm-modal .lm-forgot-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.lm-modal .lm-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--hv2-text);
    cursor: pointer;
    margin: 0;
}
.lm-modal .lm-forgot-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--hv2-brand);
    text-decoration: none;
}
.lm-modal .lm-forgot-link:hover {
    text-decoration: underline;
}
.lm-modal .lm-signup-row {
    text-align: center;
    font-size: 13px;
    color: var(--hv2-muted);
    margin: 14px 0 0;
}
.lm-modal .lm-signup-row a {
    color: var(--hv2-brand);
    font-weight: 700;
    text-decoration: none;
}

/* ── Step 2: sign-up form (register-form.blade.php) ──────── */
.lm-modal .lm-row {
    display: flex;
    gap: 10px;
}
.lm-modal .lm-row .lm-field {
    flex: 1;
    min-width: 0;
}
.lm-modal .lm-tel-field {
    display: flex;
    gap: 8px;
}
.lm-modal .lm-tel-code {
    flex: 0 0 118px;
}
.lm-modal .lm-tel-number {
    flex: 1;
    min-width: 0;
}
.lm-modal .lm-dob-row {
    display: flex;
    gap: 8px;
}
.lm-modal .lm-dob-day {
    flex: 0 0 76px;
}
.lm-modal .lm-dob-month {
    flex: 1.4;
}
.lm-modal .lm-dob-year {
    flex: 0 0 92px;
}
/* Rightmost picker in the row — anchoring its menu to the left (the
   lm-ssel default) would push a 240px-wide menu past the modal's right
   edge, where lm-content's overflow:hidden (rounded-corner clipping)
   cuts it off. Anchor to the control's right edge instead. */
.lm-modal .lm-dob-year .lm-ssel__menu {
    left: auto;
    right: 0;
}
.lm-modal .lm-input.is-invalid {
    border-color: #dc3545;
}
.lm-modal .lm-ssel.is-invalid .lm-ssel__control {
    border-color: #dc3545;
}
.lm-modal .lm-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--hv2-muted);
    font-weight: 400;
    cursor: pointer;
    margin: 4px 0 14px;
}
.lm-modal .lm-checkbox-row input {
    margin-top: 3px;
    flex-shrink: 0;
}
.lm-modal .lm-checkbox-row a {
    color: var(--hv2-brand);
    font-weight: 600;
    text-decoration: none;
}
.lm-modal .lm-checkbox-row a:hover {
    text-decoration: underline;
}
.lm-modal .lm-field .invalid-feedback,
.lm-modal .lm-tel-field + .invalid-feedback {
    display: none;
    font-size: 11px;
    margin-top: -8px;
    margin-bottom: 8px;
}
.lm-modal .lm-field .invalid-feedback:not(:empty),
.lm-modal .lm-tel-field + .invalid-feedback:not(:empty) {
    display: block;
}

/* ── Searchable country-code picker (lm-ssel — register-form's phone
   field). Same search-box-over-filtered-list pattern as the admin
   homepage-builder's sc-picker, restyled to match lm-input's look
   instead of that panel's admin-grey chrome. ──────────────────── */
.lm-modal .lm-ssel {
    position: relative;
}
.lm-modal .lm-ssel__control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    height: 100%;
    padding: 14px 12px 14px 16px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    font-size: 14px;
    color: var(--hv2-text);
    cursor: pointer;
    transition: border-color .15s ease;
}
.lm-modal .lm-ssel.is-open .lm-ssel__control {
    border-color: var(--hv2-brand);
}
.lm-modal .lm-ssel__control i {
    font-size: 11px;
    color: #9ca3af;
    flex-shrink: 0;
}
.lm-modal .lm-ssel__placeholder {
    color: #9ca3af;
}
.lm-modal .lm-ssel__menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    left: 0;
    width: 240px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0,0,0,.14);
    overflow: hidden;
}
.lm-modal .lm-ssel__search {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: none;
    border-bottom: 1px solid #eee;
    font-family: inherit;
    font-size: 13px;
    outline: none;
}
.lm-modal .lm-ssel__options {
    max-height: 200px;
    overflow-y: auto;
}
.lm-modal .lm-ssel__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 14px;
    font-size: 13px;
    cursor: pointer;
}
.lm-modal .lm-ssel__option:hover {
    background: #f5f4ee;
}
.lm-modal .lm-ssel__option.is-selected {
    color: var(--hv2-brand);
    font-weight: 700;
}
.lm-modal .lm-ssel__option-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lm-modal .lm-ssel__option-code {
    flex-shrink: 0;
    color: #9ca3af;
}
.lm-modal .lm-ssel__option.is-selected .lm-ssel__option-code {
    color: inherit;
}
.lm-modal .lm-ssel__empty {
    padding: 14px;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
}

/* ── Suppress Bootstrap default modal-header/footer ──────── */
.lm-modal .modal-header,
.lm-modal .modal-footer {
    display: none !important;
}

@media (max-width: 520px) {
    .lm-modal .lm-dialog {
        margin: 0;
        max-width: 100%;
    }
    .lm-modal .lm-content {
        border-radius: 20px 20px 0 0;
        min-height: auto;
    }
    .lm-modal.modal .modal-dialog {
        margin: auto 0 0;
        vertical-align: bottom;
    }
}
