/* ===== LIVASTA GUEST — BASE STYLES =====
   Shared across all guest pages (explore, trips, wishlists, messages, profile).
   Extracted from the original monolithic dashboard.
   Aligned with the canonical Livasta brand theme (Teal/Coral/Slate). */

body, button, input, select, textarea { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background-color: #EEF3F3; color: #1E2D34; }
.font-display { font-family: 'Fraunces', 'Playfair Display', Georgia, serif; }
.rail { scrollbar-width: none; -ms-overflow-style: none; }
.rail::-webkit-scrollbar { display: none; }

/* aurora wash + grain — unique guest atmosphere */
/* Blobs are brand-tinted (teal / gold / coral). The old peach + pink washes were
   Horizon-palette leftovers and clashed with the Livasta brand. */
#aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
#aurora i { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5; }
#aurora i:nth-child(1) { width: 46vw; height: 46vw; background: radial-gradient(circle, rgba(0,122,122,.22), transparent 65%); top: -14vw; left: -10vw; animation: aur 26s ease-in-out infinite alternate; }
#aurora i:nth-child(2) { width: 36vw; height: 36vw; background: radial-gradient(circle, rgba(217,163,90,.20), transparent 65%); bottom: -12vw; right: -8vw; animation: aur 32s ease-in-out infinite alternate-reverse; }
#aurora i:nth-child(3) { width: 28vw; height: 28vw; background: radial-gradient(circle, rgba(235,111,74,.16), transparent 65%); top: 46%; left: 62%; opacity: .34; animation: aur 40s ease-in-out infinite alternate; }
@keyframes aur { from { transform: translate(0,0) scale(1); } to { transform: translate(6vw,4vh) scale(1.15); } }

/* Grain sits in the BACKGROUND layer (z-0). It used to be z-60 with
   mix-blend-mode:multiply, which painted over the sticky header, the footer and
   even open modals — dulling the whole UI. */
body::after { content:''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .035; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E"); }
header, main { position: relative; z-index: 1; }

/* Desktop tab navigation — refined pill style with smooth hover & active glow.
   Same .active class toggled by guest-nav.js. */
.tab-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px !important;
  margin: 0 2px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #5E727A;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all .2s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
}
.tab-link:not(.active):hover {
  color: #007A7A;
  background: rgba(0, 122, 122, .06);
  border-color: rgba(0, 122, 122, .12);
}
.tab-link.active {
  color: #007A7A;
  background: rgba(0, 122, 122, .12);
  border-color: rgba(0, 122, 122, .26);
  font-weight: 700;
  box-shadow: 0 2px 10px -3px rgba(0, 122, 122, .22);
}
.tab-icon {
  font-size: 13px;
  opacity: .8;
  transition: transform .2s ease, opacity .2s ease;
}
.tab-link:hover .tab-icon,
.tab-link.active .tab-icon {
  opacity: 1;
  transform: scale(1.1);
}
.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  border-radius: 999px;
  padding: 2px 6px;
  line-height: 1;
  margin-left: 2px;
  color: #fff;
}
@media (prefers-reduced-motion: reduce) { .tab-link, .tab-icon { transition: none; } }
.mtab-link.active { background:#007A7A; color:#FFFFFF; }

/* signature gradient for primary actions */
.bg-coral { background-image: linear-gradient(115deg,#EB6F4A,#F08E60 55%,#D9A35A) !important; }
.hover\:bg-coral-dark:hover { background-image: linear-gradient(115deg,#D65A36,#DE764A 55%,#C9934B) !important; }

/* boarding-pass tickets */
.ticket { display: flex; flex-direction: column; background: #fff; border: 1px solid #E1ECEA; border-radius: 26px; overflow: hidden; position: relative; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.ticket:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(0,122,122,.3); }
.t-body { display: flex; flex-direction: column; flex: 1; }
.t-stub { position: relative; background: #FFFFFF; border-top: 2px dashed #E1ECEA; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.t-stub::before, .t-stub::after { content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #EEF3F3; top: -11px; border: 1px solid #E1ECEA; }
.t-stub::before { left: -11px; } .t-stub::after { right: -11px; }
@media (min-width: 640px) {
  .ticket { flex-direction: row; }
  .t-stub { border-top: none; border-left: 2px dashed #E1ECEA; flex-direction: column; justify-content: center; min-width: 180px; padding: 20px; }
  .t-stub::before, .t-stub::after { left: -11px; }
  .t-stub::before { top: -11px; }
  .t-stub::after { top: auto; bottom: -11px; }
}
.route { display: flex; align-items: center; gap: 12px; }
.route .rdate { text-align: center; }
.route .rdate b { display: block; font-family: 'Playfair Display'; font-size: 17px; color: #007A7A; }
.route .rdate span { font-size: 10.5px; color: #5E727A; text-transform: uppercase; letter-spacing: .12em; }
.route .rline { flex: 1; min-width: 50px; border-top: 2px dashed #E1ECEA; position: relative; }
.route .rline::after { content: '✈'; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-size: 14px; color: #EB6F4A; }

/* stat tiles */
.stat-tile { border-radius: 20px; padding: 20px; color: #FFFFFF; position: relative; overflow: hidden; }
.stat-tile i { position: absolute; right: -8px; bottom: -10px; font-size: 56px; opacity: .18; font-style: normal; }

/* ===== BRAND THEME ENFORCEMENT ===== */
.bg-pine { background-color: #007A7A !important; }
.hover\:bg-pine-light:hover { background-color: #0E9C95 !important; }
.text-pine { color: #007A7A !important; }
.text-cream { color: #FFFFFF !important; }
.bg-cream\/95 { background-color: rgba(255,255,255,.95) !important; }
.bg-cream { background-color: #FFFFFF !important; }
.bg-canvas { background-color: #EEF3F3 !important; }
.text-ink { color: #1E2D34 !important; }
.text-muted { color: #5E727A !important; }
.placeholder\:text-muted::placeholder { color: #5E727A !important; }
.text-coral { color: #EB6F4A !important; }
.border-coral\/40 { border-color: rgba(235,111,74,.4) !important; }
.hover\:bg-coral\/10:hover { background-color: rgba(235,111,74,.1) !important; }
.text-gold { color: #D9A35A !important; }
.bg-gold { background-color: #D9A35A !important; }
.border-sage { border-color: #E1ECEA !important; }
.border-sage\/70 { border-color: rgba(225,236,234,.7) !important; }
.border-sage\/60 { border-color: rgba(225,236,234,.6) !important; }
.divide-sage\/70 > :not([hidden]) ~ :not([hidden]) { border-color: rgba(225,236,234,.7) !important; }
.bg-sage { background-color: #E1ECEA !important; }
.bg-sage\/50, .hover\:bg-sage\/50:hover { background-color: rgba(225,236,234,.5) !important; }
.bg-sage\/40 { background-color: rgba(225,236,234,.4) !important; }
.bg-sage\/30, .hover\:bg-sage\/30:hover { background-color: rgba(225,236,234,.3) !important; }
.ring-sage { --tw-ring-color: #E1ECEA !important; }
.border-pine, .hover\:border-pine:hover { border-color: #007A7A !important; }

/* Gaps closed: these brand utilities had NO static fallback, so they relied on
   the Tailwind Play CDN JIT-generating them at runtime. Most are used inside
   JS-injected markup (property cards / trip tickets), where that JIT is
   unreliable — the result was elements rendering with no colour at all. */
.text-ink\/80 { color: rgba(30,45,52,.8) !important; }
.text-sage\/90 { color: rgba(225,236,234,.9) !important; }
.text-muted\/80 { color: rgba(94,114,122,.8) !important; }
.hover\:text-pine:hover { color: #007A7A !important; }
.focus\:border-pine:focus { border-color: #007A7A !important; }
.border-gold\/30 { border-color: rgba(217,163,90,.3) !important; }
.bg-gold\/15 { background-color: rgba(217,163,90,.15) !important; }
.hover\:bg-coral:hover { background-image: linear-gradient(115deg,#EB6F4A,#F08E60 55%,#D9A35A) !important; }
.bg-pine\/10 { background-color: rgba(0,122,122,.1) !important; }
.bg-coral\/10 { background-color: rgba(235,111,74,.1) !important; }

body { background-color: #EEF3F3 !important; }

/* page fade-in */
.fade-panel { animation: panelIn .5s cubic-bezier(.2,.8,.2,1); }
@keyframes panelIn { from { opacity:0; transform: translateY(16px); } to { opacity:1; transform:none; } }

/* badges */
.badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
.badge-success { background:#E3F1E6; color:#2F7D4F; }
.badge-warning { background:#FBF0DD; color:#B5792A; }
.badge-danger { background:#FBE7E1; color:#C5502E; }
.badge-info { background:#E1ECEA; color:#007A7A; }
.badge-muted { background:#EEF3F3; color:#5E727A; }

/* toggle switch */
.switch { width: 40px; height: 22px; border-radius: 999px; background:#E1ECEA; position:relative; transition: background .2s; cursor:pointer; flex-shrink:0; }
.switch::after { content:''; position:absolute; top:2px; left:2px; width:18px; height:18px; border-radius:50%; background:#fff; transition: left .2s; box-shadow:0 1px 2px rgba(0,0,0,.2); }
.switch.on { background:#007A7A; }
.switch.on::after { left:20px; }

/* filter chips */
.chip.active { background:#007A7A; color:#FFFFFF; border-color:#007A7A; }

/* property cards */
.prop-card { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.prop-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -18px rgba(0,122,122,.3); }
.prop-card:hover .prop-img { transform: scale(1.06); }
.prop-img { transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.heart { transition: transform .25s, color .25s, background .25s; }
.heart:active { transform: scale(1.3); }
.heart.on { color:#EB6F4A; }
.heart.on svg { fill:#EB6F4A; }

/* mobile panel */
#mobile-panel { transform: translateY(-12px); opacity:0; pointer-events:none; transition: transform .2s ease, opacity .2s ease; }
#mobile-panel.open { transform: translateY(0); opacity:1; pointer-events:auto; }
#account-pop { transform: translateY(-6px); opacity:0; pointer-events:none; transition: transform .15s ease, opacity .15s ease; }
#account-pop.open { transform: translateY(0); opacity:1; pointer-events:auto; }

/* modals */
.modal-overlay { background: rgba(30,45,52,0.55); backdrop-filter: blur(4px); }
.modal-card { animation: modalIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes modalIn { from { opacity:0; transform: translateY(24px) scale(.98); } to { opacity:1; transform:none; } }

/* misc */
.hero-search { box-shadow: 0 18px 44px -18px rgba(0,122,122,.3); }
.msg-item.sel { background:#E1ECEA66; }

/* toast notification */
.toast { position:fixed; bottom:24px; left:50%; transform:translate(-50%, 20px); opacity:0; background:#007A7A; color:#FFFFFF; font-size:13px; font-weight:600; padding:12px 22px; border-radius:999px; z-index:90; transition:.35s; box-shadow:0 14px 34px -10px rgba(0,122,122,.5); pointer-events:none; }
.toast.show { opacity:1; transform:translate(-50%,0); }

/* =====================================================================
   Guest header — modern, brand-themed, responsive.
   Layered ink top bar + frosted tab bar, with a teal brand seam between.
   ===================================================================== */
.guest-header {
  box-shadow: 0 8px 30px -12px rgba(14, 30, 36, 0.45);
}

/* ---- Top bar: ink gradient with ambient glow ---- */
.guest-topbar {
  position: relative;
  background:
    radial-gradient(55% 150% at 10% 0%, rgba(0, 122, 122, 0.28), transparent 60%),
    radial-gradient(40% 130% at 90% 100%, rgba(217, 163, 90, 0.15), transparent 60%),
    linear-gradient(105deg, #0e1e24 0%, #152c34 50%, #10242b 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
/* Brand gradient seam under topbar */
.guest-topbar::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, #007A7A 0%, #0E9C95 40%, #D9A35A 80%, #EB6F4A 100%);
  opacity: 0.9;
  z-index: 2;
}

/* Guest role pill badge next to logo */
.guest-badge-pill {
  display: none;
  align-items: center;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3EC1B5;
  background: rgba(0, 122, 122, 0.16);
  border: 1px solid rgba(62, 193, 181, 0.35);
  border-radius: 999px;
  line-height: 1;
  flex-shrink: 0;
}
@media (min-width: 420px) {
  .guest-badge-pill { display: inline-flex; }
}

/* Corporate nav links in header - Hidden on mobile (< 768px), flex on tablet/desktop */
.guest-corp-nav {
  display: none;
  align-items: center;
  margin-left: 0.75rem;
  gap: 2px;
}
@media (min-width: 768px) {
  .guest-corp-nav { display: flex; }
}

.guest-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
@media (min-width: 1024px) {
  .guest-nav-link { padding: 6px 12px; font-size: 13.5px; }
}
.guest-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

/* Header right action pills - Strictly hidden on mobile (< 768px) */
.guest-party-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.16), rgba(236, 72, 153, 0.16));
  border: 1px solid rgba(192, 132, 252, 0.4);
  box-shadow: 0 4px 14px -4px rgba(168, 85, 247, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .2s ease;
}
@media (min-width: 768px) {
  .guest-party-btn { display: inline-flex; }
}
.guest-party-btn:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.28), rgba(236, 72, 153, 0.28));
  border-color: rgba(192, 132, 252, 0.7);
  box-shadow: 0 6px 20px -4px rgba(168, 85, 247, 0.5);
  transform: translateY(-1px);
}

.guest-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .2s ease;
  cursor: pointer;
}
.guest-switch-btn span {
  display: none;
}
@media (min-width: 640px) {
  .guest-switch-btn {
    width: auto;
    height: auto;
    padding: 6px 14px;
    border-radius: 999px;
    gap: 6px;
  }
  .guest-switch-btn span {
    display: inline;
  }
}
.guest-switch-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}
.guest-switch-btn:active { transform: scale(0.97); }

.guest-icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
  transition: all .2s ease;
  flex-shrink: 0;
}
.guest-icon-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}
.guest-icon-btn:active { transform: scale(0.95); }

/* Hamburger Menu button: ONLY on Phones (< 768px), COMPLETELY HIDDEN on Laptop/Desktop/Tablet */
#mobile-menu-btn {
  display: inline-flex !important;
}
@media (min-width: 768px) {
  #mobile-menu-btn {
    display: none !important;
  }
}

.guest-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: all .2s ease;
}
.guest-account-btn img {
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  max-width: 26px;
  max-height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
@media (min-width: 640px) {
  .guest-account-btn {
    width: auto;
    height: auto;
    border-radius: 999px;
    padding: 4px 12px 4px 4px;
    gap: 7px;
  }
  .guest-account-btn img { width: 28px; height: 28px; min-width: 28px; min-height: 28px; max-width: 28px; max-height: 28px; }
}
.guest-account-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}
.guest-account-btn:active { transform: scale(0.97); }

@media (min-width: 768px) {
  #mobile-panel {
    display: none !important;
  }
}

/* ---- Tab bar: frosted so page content softly scrolls under it ---- */
.guest-tabbar {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 18px -8px rgba(0, 122, 122, 0.08);
}

/* ---- Tabs: keep the pills tidy + scrollable on small screens ---- */
.guest-tabs {
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.guest-tabs::-webkit-scrollbar { display: none; }
.guest-tabs .tab-link { flex-shrink: 0; }

/* fade the right edge on mobile/tablet to signal the row scrolls */
@media (max-width: 1023px) {
  .guest-tabbar { position: relative; }
  .guest-tabbar::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 32px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.95));
  }
}

/* =====================================================================
   App-style bottom navigation (mobile only) — parity with the host
   dashboard's fixed bottom nav. On phones we hide the scrolling tab
   row and show this instead; on desktop it stays hidden.
   ===================================================================== */
.guest-bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-top: 1px solid #E1ECEA;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  box-shadow: 0 -4px 20px -6px rgba(22, 45, 52, 0.08);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.guest-bottom-nav .gbn-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 6px 0 5px; text-decoration: none;
  color: #7E8E96; font-size: 10px; font-weight: 700; letter-spacing: .01em;
  position: relative; transition: color .18s ease, transform .14s ease;
  -webkit-tap-highlight-color: transparent;
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.guest-bottom-nav .gbn-item:active { transform: scale(0.92); }
.guest-bottom-nav .gbn-item:hover { color: #007A7A; }
.guest-bottom-nav .gbn-item.active { color: #007A7A; }
.guest-bottom-nav .gbn-icon {
  width: 34px; height: 26px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 16px; transition: background .18s ease, transform .18s ease;
}
.guest-bottom-nav .gbn-item.active .gbn-icon { background: rgba(0, 122, 122, 0.12); transform: translateY(-1px); }
.guest-bottom-nav .gbn-item::before {
  content: ''; position: absolute; top: 0; left: 50%;
  width: 24px; height: 3px; border-radius: 0 0 3px 3px; background: #007A7A;
  transform: translateX(-50%) scaleX(0); transition: transform .22s ease;
}
.guest-bottom-nav .gbn-item.active::before { transform: translateX(-50%) scaleX(1); }
.guest-bottom-nav .gbn-badge {
  position: absolute; top: 2px; left: 50%; margin-left: 6px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  background: #EB6F4A; color: #fff; font-size: 9px; font-weight: 800; line-height: 1;
  display: none; align-items: center; justify-content: center; border: 2px solid #fff;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.guest-bottom-nav .gbn-badge.on { display: flex; }

@media (max-width: 767px) {
  .guest-bottom-nav { display: flex; }
  /* The scrolling tab row is replaced by the bottom nav on phones. */
  .guest-tabbar { display: none; }
  /* Reserve space so page content / footers clear the fixed bar. */
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* Installed-app (standalone) polish: clear the status bar / notch and pin bottom nav flush */
@media (display-mode: standalone) {
  .guest-topbar { padding-top: calc(0.625rem + env(safe-area-inset-top, 0px)); }
  .guest-bottom-nav { bottom: 0; left: 0; right: 0; border-radius: 0; }
  .guest-bottom-nav .gbn-item { -webkit-tap-highlight-color: transparent; }
  body { overscroll-behavior-y: contain; }
}

/* ---- Account dropdown / mobile drawer polish ---- */
#account-pop {
  box-shadow: 0 24px 54px -16px rgba(14, 30, 36, 0.35);
  border-radius: 20px;
}
#mobile-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(14, 30, 36, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
@media (max-width: 767px) {
  #mobile-panel { display: block; }
}
#mobile-panel.open {
  opacity: 1;
  pointer-events: auto;
}
#mobile-panel .mobile-panel__drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: #0F1D23;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.33, 1, 0.68, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
#mobile-panel.open .mobile-panel__drawer {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  #aurora i { animation: none !important; }
  .guest-tabs { scroll-behavior: auto; }
  #mobile-panel, #mobile-panel .mobile-panel__drawer { transition: none; }
}

/* =====================================================================
   Explore hero — background lives in CSS, NOT an inline style.
   It used to be `style="background:linear-gradient(...)"`, which GSAP's
   `clearProps:'all'` on `main > *` stripped right after the intro tween,
   leaving the hero transparent and its white text invisible.
   ===================================================================== */
.guest-hero {
  background: linear-gradient(135deg, #0B2B30 0%, #0A4040 30%, #007A7A 65%, #0E9C95 100%);
  position: relative;
  min-height: 200px;
}
/* Only the decoration is clipped to the rounded corners. The hero itself must
   NOT be `overflow:hidden`, or it clips the date calendar that drops below the
   search bar. The gradient above still clips to border-radius on its own. */
.guest-hero__deco {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.guest-hero__bloom {
  position: absolute;
  inset: 0;
  opacity: .35;
  background:
    radial-gradient(500px circle at 80% 20%, rgba(217,163,90,.45), transparent 55%),
    radial-gradient(400px circle at 15% 85%, rgba(235,111,74,.3), transparent 55%),
    radial-gradient(300px circle at 50% 50%, rgba(14,156,149,.2), transparent 55%);
}

/* Floating decorative dots */
.guest-hero__dot {
  position: absolute;
  border-radius: 50%;
  opacity: .25;
  animation: heroFloat 6s ease-in-out infinite;
}
.guest-hero__dot--1 {
  width: 80px; height: 80px;
  top: 15%; right: 18%;
  background: radial-gradient(circle, rgba(217,163,90,.5), transparent 70%);
  animation-delay: 0s;
}
.guest-hero__dot--2 {
  width: 50px; height: 50px;
  bottom: 20%; right: 35%;
  background: radial-gradient(circle, rgba(235,111,74,.4), transparent 70%);
  animation-delay: -2s;
}
.guest-hero__dot--3 {
  width: 35px; height: 35px;
  top: 40%; right: 55%;
  background: radial-gradient(circle, rgba(14,156,149,.4), transparent 70%);
  animation-delay: -4s;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.08); }
}

/* Subtle grid pattern overlay */
.guest-hero__grid {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image:
    linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Animated travel path SVG */
.guest-hero__path {
  position: absolute;
  right: 2%; top: 10%;
  width: 55%;
  max-width: 420px;
  opacity: .45;
}
@media (max-width: 767px) {
  .guest-hero__path { display: none; }
  .guest-hero__dot--1, .guest-hero__dot--2 { display: none; }
}

/* Greeting shimmer */
.guest-hero__greeting {
  color: #D9A35A;
  background: linear-gradient(90deg, #D9A35A 40%, #F0D9A8 55%, #D9A35A 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroShimmer 3s ease-in-out infinite;
}
@keyframes heroShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Accent word gradient */
.guest-hero__accent {
  background: linear-gradient(135deg, #D9A35A, #F0D9A8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (prefers-reduced-motion: reduce) {
  .guest-hero__dot { animation: none; }
  .guest-hero__greeting { animation: none; -webkit-text-fill-color: #D9A35A; background: none; }
  .guest-hero__path animate { animation: none; }
}

/* =====================================================================
   Guest segmented search bar — same pattern as the home page hero search
   (labelled segments, divider rules, pill action) in the guest palette.
   ===================================================================== */
.guest-search__bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 26px 60px -22px rgba(9, 42, 48, .55), inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: box-shadow .3s cubic-bezier(.2, .8, .2, 1), transform .3s cubic-bezier(.2, .8, .2, 1);
}
.guest-search__bar:hover { transform: translateY(-2px); box-shadow: 0 32px 70px -24px rgba(9, 42, 48, .6); }
.guest-search__bar:focus-within { box-shadow: 0 32px 70px -24px rgba(9, 42, 48, .55), 0 0 0 4px rgba(0, 122, 122, .18); }

.guest-search__seg {
  flex: 1;
  min-width: 0;
  padding: 6px 20px;
  border-radius: 999px;
  transition: background .25s ease;
}
.guest-search__seg--where { flex: 1.6; }
.guest-search__seg:hover { background: rgba(225, 236, 234, .45); }

.guest-search__label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5E727A;
  margin-bottom: 2px;
  cursor: pointer;
}
.guest-search__field { display: flex; align-items: center; gap: 7px; min-width: 0; }
/* Keep the field's leading icon from being squeezed when the value is long. */
.guest-search__field > svg { flex-shrink: 0; }
.guest-search__input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: #1E2D34;
  outline: none;
}
.guest-search__input::placeholder { color: #5E727A; font-weight: 500; }
.guest-search__div { width: 1px; height: 34px; background: #E1ECEA; flex-shrink: 0; }

.guest-search__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 54px;
  min-width: 54px;
  padding: 0 26px;
  margin-left: 8px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  background-image: linear-gradient(115deg, #EB6F4A, #F08E60 55%, #D9A35A);
  box-shadow: 0 12px 26px -8px rgba(235, 111, 74, .65);
  transition: transform .24s cubic-bezier(.2, .8, .2, 1), box-shadow .24s ease, filter .24s ease;
}
.guest-search__btn:hover { transform: translateY(-1px) scale(1.02); filter: brightness(1.04); box-shadow: 0 18px 34px -8px rgba(235, 111, 74, .75); }
.guest-search__btn:active { transform: scale(.97); }

/* Tablet: hide the button label so the row never crowds */
@media (max-width: 1023px) {
  .guest-search__seg { padding: 6px 14px; }
  .guest-search__btn { padding: 0; min-width: 54px; }
  .guest-search__btn-label { display: none; }
}

/* Mobile: stack into a rounded card, full-width action */
@media (max-width: 767px) {
  .guest-search__bar { flex-direction: column; align-items: stretch; gap: 2px; border-radius: 24px; padding: 10px; }
  .guest-search__seg { flex: none !important; padding: 10px 14px; border-radius: 16px; }
  .guest-search__div { width: auto; height: 1px; }
  .guest-search__btn { width: 100%; margin: 6px 0 0; padding: 0 20px; }
  .guest-search__btn-label { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .guest-search__bar, .guest-search__btn { transition: none !important; }
}

/* =====================================================================
   Guest range calendar — custom, brand-styled, replaces the native picker.
   Teal end-caps + sage range band + live hover preview.
   ===================================================================== */
.guest-search { position: relative; }

.guest-search__seg--date { cursor: pointer; user-select: none; }
/* Truncate long values (e.g. "10 guests · 7 rooms · pets") with an ellipsis so
   they stay inside their segment instead of spilling under the Search button. */
.guest-search__value { display: block; min-width: 0; font-size: 14px; font-weight: 600; color: #1E2D34; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guest-search__seg--date.is-armed { background: rgba(0, 122, 122, .09); box-shadow: inset 0 0 0 1.5px rgba(0, 122, 122, .35); }

.guest-cal {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 50;
  width: min(680px, 92vw);
  padding: 20px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid #E1ECEA;
  box-shadow: 0 34px 80px -26px rgba(9, 42, 48, .55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.985);
  transform-origin: top left;
  transition: opacity .22s ease, transform .28s cubic-bezier(.2, .8, .2, 1), visibility .22s;
}
.guest-cal.open { opacity: 1; visibility: visible; transform: none; }

/* teal seam across the top of the panel */
.guest-cal::before {
  content: '';
  position: absolute;
  top: 0; left: 26px; right: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #007A7A, #0E9C95 50%, #D9A35A);
}

.guest-cal__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.guest-cal__title { margin: 0; font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 600; color: #1E2D34; }
.guest-cal__sub { margin: 2px 0 0; font-size: 12.5px; color: #5E727A; font-weight: 600; }
.guest-cal__navs { display: flex; gap: 8px; flex-shrink: 0; }
.guest-cal__nav {
  width: 36px; height: 36px; border-radius: 999px; cursor: pointer;
  display: grid; place-items: center;
  border: 1px solid #E1ECEA; background: #fff; color: #1E2D34; font-size: 12px;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.guest-cal__nav:hover { background: #007A7A; border-color: #007A7A; color: #fff; transform: translateY(-1px); }

.guest-cal__grids { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.guest-cal__mname { margin: 0 0 10px; text-align: center; font-size: 13px; font-weight: 800; color: #1E2D34; letter-spacing: .01em; }
.guest-cal__dow, .guest-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.guest-cal__dow { margin-bottom: 6px; }
.guest-cal__dow span { text-align: center; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #5E727A; }
.guest-cal__grid { row-gap: 2px; }

.guest-cal__cell {
  position: relative;
  height: 40px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #1E2D34;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.guest-cal__cell.is-empty { pointer-events: none; }
.guest-cal__cell span {
  position: relative;
  z-index: 2;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.guest-cal__cell:not(.is-past):not(.is-start):not(.is-end):hover span { background: #E1ECEA; transform: scale(1.06); }
.guest-cal__cell.is-past { color: #B7C4C6; cursor: not-allowed; text-decoration: line-through; }
.guest-cal__cell.is-today span { box-shadow: inset 0 0 0 1.5px #D9A35A; }

/* sage band for the in-between days */
.guest-cal__cell.is-in::before {
  content: '';
  position: absolute; inset: 2px 0;
  background: rgba(0, 122, 122, .11);
  z-index: 1;
}
.guest-cal__cell.is-in span { color: #00605E; }

/* teal end-caps; the band is clipped to a pill at each end */
.guest-cal__cell.is-start::before,
.guest-cal__cell.is-end::before {
  content: '';
  position: absolute; inset: 2px 0;
  background: rgba(0, 122, 122, .11);
  z-index: 1;
}
.guest-cal__cell.is-start::before { left: 50%; border-radius: 999px 0 0 999px; }
.guest-cal__cell.is-end::before { right: 50%; border-radius: 0 999px 999px 0; }
.guest-cal__cell.is-single::before { display: none; }

.guest-cal__cell.is-start span,
.guest-cal__cell.is-end span {
  background: #007A7A;
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(0, 122, 122, .8);
}

.guest-cal__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid #E1ECEA;
}
.guest-cal__clear {
  border: 0; background: transparent; cursor: pointer;
  font-size: 13px; font-weight: 800; color: #5E727A;
  text-decoration: underline; text-underline-offset: 3px;
  transition: color .2s ease;
}
.guest-cal__clear:hover { color: #EB6F4A; }
.guest-cal__apply {
  border: 0; cursor: pointer;
  padding: 11px 26px; border-radius: 999px;
  font-size: 13.5px; font-weight: 800; color: #fff;
  background-image: linear-gradient(115deg, #EB6F4A, #F08E60 55%, #D9A35A);
  box-shadow: 0 12px 24px -8px rgba(235, 111, 74, .65);
  transition: transform .2s ease, filter .2s ease;
}
.guest-cal__apply:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* Mobile: single month, panel spans the bar */
@media (max-width: 767px) {
  .guest-cal { left: 50%; transform: translate(-50%, -8px) scale(.985); width: 94vw; padding: 16px; }
  .guest-cal.open { transform: translate(-50%, 0) scale(1); }
  .guest-cal__grids { grid-template-columns: 1fr; gap: 18px; }
  .guest-cal__cell { height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .guest-cal, .guest-cal__cell span, .guest-cal__nav, .guest-cal__apply { transition: none !important; }
}

/* =====================================================================
   Calendar tabs + "I'm flexible" view + Guests stepper panel
   (same patterns as the home page, in the guest brand palette)
   ===================================================================== */
.is-hidden { display: none !important; }

/* ---- Calendar / I'm flexible tabs ---- */
.guest-cal__tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 4px;
  margin: 2px 0 16px;
  border-radius: 999px;
  background: #EEF3F3;
  border: 1px solid #E1ECEA;
}
.guest-cal__tab {
  flex: 1;
  max-width: 200px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  color: #5E727A;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, box-shadow .22s ease;
}
.guest-cal__tab:hover { color: #007A7A; }
.guest-cal__tab.is-active {
  background: #007A7A;
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(0, 122, 122, .9);
}

/* ---- Flexible view ---- */
.guest-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.guest-flex__panel { display: flex; flex-direction: column; justify-content: center; }
.guest-flex__empty, .guest-flex__card {
  border: 1px solid #E1ECEA;
  border-radius: 20px;
  padding: 20px;
  background: #EEF3F3;
}
.guest-flex__card { background: #fff; }
.guest-flex__kicker { margin: 0 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #007A7A; }
.guest-flex__h { margin: 0 0 6px; font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; color: #1E2D34; }
.guest-flex__p { margin: 0; font-size: 13px; line-height: 1.6; color: #5E727A; }
.guest-flex__times { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guest-flex__label { display: block; margin-bottom: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #5E727A; }
.guest-flex__select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid #E1ECEA;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #1E2D34;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.guest-flex__select:focus { border-color: #007A7A; box-shadow: 0 0 0 3px rgba(0, 122, 122, .16); }
.guest-flex__select:disabled { background: #EEF3F3; color: #9BAAAE; cursor: not-allowed; }
.guest-flex__confirm {
  margin-top: 16px;
  width: 100%;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  background: #007A7A;
  box-shadow: 0 12px 26px -10px rgba(0, 122, 122, .9);
  transition: background .2s ease, transform .2s ease;
}
.guest-flex__confirm:hover { background: #00605E; transform: translateY(-1px); }

/* ---- Guests stepper panel ---- */
.guest-who {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 55;
  width: min(400px, 92vw);
  padding: 22px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid #E1ECEA;
  box-shadow: 0 34px 80px -26px rgba(9, 42, 48, .55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.985);
  transform-origin: top right;
  transition: opacity .22s ease, transform .28s cubic-bezier(.2, .8, .2, 1), visibility .22s;
}
.guest-who.open { opacity: 1; visibility: visible; transform: none; }
.guest-who::before {
  content: '';
  position: absolute;
  top: 0; left: 26px; right: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #007A7A, #0E9C95 50%, #D9A35A);
}
.guest-who__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.guest-who__row--pets { border-top: 1px solid #E1ECEA; margin-top: 4px; }
.guest-who__t { margin: 0; font-size: 15px; font-weight: 800; color: #1E2D34; }
.guest-who__s { margin: 1px 0 0; font-size: 12px; color: #5E727A; }
.guest-who__step { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.guest-who__n { min-width: 18px; text-align: center; font-size: 15px; font-weight: 800; color: #1E2D34; }
.guest-who__btn {
  width: 36px; height: 36px; border-radius: 999px; cursor: pointer;
  display: grid; place-items: center;
  border: 1px solid #E1ECEA; background: #fff; color: #1E2D34; font-size: 11px;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.guest-who__btn:hover:not(:disabled) { background: #007A7A; border-color: #007A7A; color: #fff; transform: translateY(-1px); }
.guest-who__btn:disabled { color: #C3D0D2; border-color: #EEF3F3; cursor: not-allowed; }

.guest-who__toggle {
  position: relative;
  width: 48px; height: 27px;
  border: 0; border-radius: 999px;
  background: #E1ECEA;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .22s ease;
}
.guest-who__toggle span {
  position: absolute; top: 3px; left: 3px;
  width: 21px; height: 21px; border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: transform .22s cubic-bezier(.2, .8, .2, 1);
}
.guest-who__toggle.on { background: #007A7A; }
.guest-who__toggle.on span { transform: translateX(21px); }

@media (max-width: 767px) {
  .guest-flex { grid-template-columns: 1fr; }
  .guest-flex__times { grid-template-columns: 1fr; }
  .guest-who { left: 50%; right: auto; transform: translate(-50%, -8px) scale(.985); }
  .guest-who.open { transform: translate(-50%, 0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .guest-who, .guest-who__toggle span, .guest-cal__tab, .guest-flex__confirm { transition: none !important; }
}

/* =====================================================================
   Guest Notifications Dropdown / Mobile Sheet
   Clean, non-blocking flyout dropdown with smooth animations.
   ===================================================================== */
/* Body-level (see guest-notifications.js) so it escapes the header's
   backdrop-filter containing block and renders crisply. Desktop: JS pins it
   under the bell. Mobile: a full-width bottom sheet (rules below). */
.guest-notif-popup {
  display: none !important;
  position: fixed;
  top: 70px;
  right: 16px;
  width: 380px;
  max-width: calc(100vw - 24px);
  background: #ffffff;
  border: 1px solid var(--sage, #E1ECEA);
  border-radius: 20px;
  box-shadow: 0 20px 50px -12px rgba(9, 42, 48, .28), 0 0 0 1px rgba(0, 122, 122, .06);
  z-index: 1300;
  overflow: hidden;
  color: var(--ink, #1E2D34);
  transform-origin: top right;
}

.guest-notif-popup.open {
  display: flex !important;
  flex-direction: column;
  animation: notifIn .24s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes notifIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- Mobile: full-width bottom sheet ---- */
@media (max-width: 640px) {
  .guest-notif-popup {
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 22px 22px 0 0 !important;
    border-bottom: none !important;
    max-height: 85vh !important;
    box-shadow: 0 -14px 44px -10px rgba(0, 0, 0, .34) !important;
    transform-origin: bottom center;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  /* grab handle */
  .guest-notif-popup::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: #D5E0DE;
    z-index: 3;
  }
  /* make room for the handle above the header row */
  #guest-notif-panel > div:first-child { padding-top: 20px !important; }
  .guest-notif-popup.open { animation: notifSheetIn .3s cubic-bezier(.16, 1, .3, 1) both; }
  /* the list can breathe more on a sheet */
  #guest-notif-list { max-height: calc(85vh - 62px) !important; }
}
@keyframes notifSheetIn {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}

.guest-notif-backdrop {
  display: none !important;
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 36, 0.42);
  z-index: 1290;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.guest-notif-backdrop.open {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  .guest-notif-popup.open { animation: none !important; }
}

.gn-item {
  transition: background .18s ease, transform .15s ease;
}
.gn-item:active {
  background: rgba(0, 122, 122, .08) !important;
  transform: scale(0.995);
}

/* Live message indicator pulse specifically for the Messages section */
.gbn-badge.msg-pulse {
  animation: msgBadgePulse 1.8s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(235, 111, 74, 0.7);
}
@keyframes msgBadgePulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(235, 111, 74, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(235, 111, 74, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(235, 111, 74, 0); }
}


