/* ============================================================
   SeniorBrother — App Design System
   Travel · Property · Fintech — mobile-first, app-style UI
   ============================================================ */

:root {
  /* Brand palette */
  --sb-ink: #0e1b2c;            /* deep navy — headers, hero, admin sidebar */
  --sb-ink-soft: #16283e;
  --sb-brand: #0b7a63;          /* emerald — primary actions */
  --sb-brand-600: #096752;
  --sb-brand-soft: #e3f2ee;
  --sb-gold: #f5a524;           /* accent — highlights, ratings */
  --sb-gold-soft: #fdf1dc;
  --sb-coral: #f0526a;          /* hearts, alerts of the friendly kind */
  --sb-coral-soft: #fdeaed;
  --sb-blue: #2f6fed;
  --sb-blue-soft: #e8effd;
  --sb-purple: #7c5cff;
  --sb-purple-soft: #efeaff;

  /* Neutrals */
  --sb-bg: #f4f6fa;
  --sb-card: #ffffff;
  --sb-border: #e7ecf3;
  --sb-muted: #64748d;
  --sb-text: #1e2a3b;

  /* Shape & depth */
  --sb-radius: 18px;
  --sb-radius-lg: 24px;
  --sb-radius-sm: 12px;
  --sb-shadow: 0 10px 30px rgba(14, 27, 44, .07);
  --sb-shadow-lg: 0 24px 60px rgba(14, 27, 44, .14);

  --sb-topbar-h: 64px;
  --sb-bottomnav-h: 66px;
  --sb-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ── Base ──────────────────────────────────────────────── */
* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sb-font);
  background: var(--sb-bg);
  color: var(--sb-text);
  min-height: 100vh;
  padding-bottom: calc(var(--sb-bottomnav-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 992px) { body { padding-bottom: 0; } }
body.admin-body { padding-bottom: 0; background: #f1f4f9; }

h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--sb-ink); letter-spacing: -.01em; }
a { text-decoration: none; }
img { max-width: 100%; }
.container-app { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 18px; }
@media (min-width: 992px) { .container-app { padding-inline: 24px; } }

::selection { background: var(--sb-brand); color: #fff; }

/* ── Brand lockup ──────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sb-ink) 10%, var(--sb-brand) 100%);
  color: #fff; font-weight: 800; font-size: .95rem; letter-spacing: .02em;
  box-shadow: 0 6px 16px rgba(11, 122, 99, .35);
}
.brand-text { font-weight: 800; font-size: 1.12rem; color: var(--sb-ink); }
.brand-text span { color: var(--sb-brand); }
.brand--light .brand-text, .brand--light .brand-text span { color: #fff; }
.brand--light .brand-text span { color: #6fd3bd; }

/* ── Top app bar ───────────────────────────────────────── */
.app-topbar {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top, 0px);
  transition: box-shadow .25s, border-color .25s;
}
.app-topbar.scrolled { border-color: var(--sb-border); box-shadow: 0 8px 24px rgba(14,27,44,.06); }
.topbar-inner { height: var(--sb-topbar-h); display: flex; align-items: center; gap: 12px; }
.topbar-nav { gap: 6px; margin-inline: auto; }
.topbar-nav a {
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .93rem;
  color: var(--sb-muted); transition: .2s;
}
.topbar-nav a:hover { color: var(--sb-ink); background: var(--sb-bg); }
.topbar-nav a.active { color: var(--sb-brand); background: var(--sb-brand-soft); }
.topbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.topbar-icon-btn {
  width: 42px; height: 42px; border-radius: 14px; border: 1px solid var(--sb-border);
  background: #fff; color: var(--sb-ink); display: grid; place-items: center;
  font-size: 1.15rem; transition: .2s; cursor: pointer;
}
.topbar-icon-btn:hover { background: var(--sb-brand-soft); color: var(--sb-brand); border-color: transparent; }
.notif-dot {
  position: absolute; top: 9px; right: 10px; width: 8px; height: 8px;
  background: var(--sb-coral); border-radius: 50%; border: 2px solid #fff;
}
.avatar-btn { border: 0; background: none; padding: 0; }
.avatar-btn img { width: 42px; height: 42px; border-radius: 14px; object-fit: cover; border: 2px solid #fff; box-shadow: var(--sb-shadow); }
.topbar-title { font-weight: 700; font-size: 1.02rem; color: var(--sb-ink); margin-inline: auto; text-align: center; }
.app-topbar--sub .topbar-inner { gap: 8px; }

/* Notifications dropdown */
.notif-menu { width: 320px; border: 0; border-radius: var(--sb-radius); padding: 0; overflow: hidden; }
.notif-head { padding: 14px 18px; font-weight: 700; border-bottom: 1px solid var(--sb-border); }
.notif-item { display: flex; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #f1f4f9; }
.notif-item:hover { background: var(--sb-bg); }
.notif-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; font-size: 1rem; }
.notif-item h6 { font-size: .86rem; margin: 0 0 2px; }
.notif-item p { font-size: .78rem; color: var(--sb-muted); margin: 0; line-height: 1.35; }
.notif-item time { font-size: .7rem; color: #9aa7ba; }
.notif-foot { padding: 12px 18px; text-align: center; }
.notif-foot a { font-size: .85rem; font-weight: 700; color: var(--sb-brand); }
.account-menu { border: 0; border-radius: var(--sb-radius); padding: 8px; min-width: 220px; }
.account-menu .dropdown-item { border-radius: 10px; padding: 10px 12px; font-weight: 600; font-size: .9rem; color: var(--sb-text); }
.account-menu .dropdown-item i { margin-right: 8px; color: var(--sb-brand); }
.account-menu .dropdown-item:hover { background: var(--sb-brand-soft); }

/* ── Bottom navigation (mobile app tab bar) ────────────── */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
  display: flex; justify-content: space-around; align-items: stretch;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--sb-border);
  height: calc(var(--sb-bottomnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bottom-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: #8794a8; font-size: .68rem; font-weight: 600; position: relative;
}
.bottom-nav-item .bn-icon {
  font-size: 1.28rem; line-height: 1; padding: 5px 16px; border-radius: 999px; transition: .2s;
}
.bottom-nav-item.active { color: var(--sb-brand); }
.bottom-nav-item.active .bn-icon { background: var(--sb-brand-soft); }

/* ── Buttons ───────────────────────────────────────────── */
.btn { border-radius: 14px; font-weight: 700; padding: .62rem 1.25rem; }
.btn:focus-visible { box-shadow: 0 0 0 .25rem rgba(11,122,99,.25); }
.btn-brand { background: var(--sb-brand); border: 1px solid var(--sb-brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--sb-brand-600); border-color: var(--sb-brand-600); color: #fff; }
.btn-brand:disabled { background: #9dc9be; border-color: #9dc9be; }
.btn-ink { background: var(--sb-ink); border: 1px solid var(--sb-ink); color: #fff; }
.btn-ink:hover { background: #14253d; border-color: #14253d; color: #fff; }
.btn-soft { background: var(--sb-brand-soft); color: var(--sb-brand); border: 1px solid transparent; }
.btn-soft:hover { background: #d3eae3; color: var(--sb-brand-600); }
.btn-outline-brand { border: 1.5px solid var(--sb-brand); color: var(--sb-brand); background: transparent; }
.btn-outline-brand:hover { background: var(--sb-brand); color: #fff; }
.btn-gold { background: var(--sb-gold); border: 1px solid var(--sb-gold); color: var(--sb-ink); }
.btn-gold:hover { background: #e29310; border-color: #e29310; color: var(--sb-ink); }
.btn-lg { padding: .8rem 1.6rem; border-radius: 16px; }
.btn-sm { padding: .42rem .9rem; border-radius: 11px; font-size: .84rem; }
.btn-pay {
  width: 100%; padding: .95rem; border-radius: 16px; font-size: 1.02rem;
  box-shadow: 0 10px 24px rgba(11,122,99,.28);
}

/* ── Cards & surfaces ──────────────────────────────────── */
.card-elev {
  background: var(--sb-card); border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius); box-shadow: var(--sb-shadow);
}
.shadow-soft { box-shadow: var(--sb-shadow) !important; }
.section { padding-block: 34px; }
@media (min-width: 992px) { .section { padding-block: 52px; } }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section-head h2 { font-size: 1.35rem; margin: 0; }
@media (min-width: 992px) { .section-head h2 { font-size: 1.7rem; } }
.section-head p { margin: 4px 0 0; color: var(--sb-muted); font-size: .92rem; }
.section-link { font-weight: 700; font-size: .88rem; color: var(--sb-brand); white-space: nowrap; }
.section-link i { transition: transform .2s; }
.section-link:hover i { transform: translateX(3px); }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(11,122,99,.55), transparent 60%),
    radial-gradient(700px 300px at -10% 110%, rgba(245,165,36,.25), transparent 55%),
    linear-gradient(150deg, var(--sb-ink) 30%, #0d3b40 100%);
  color: #fff; padding: 40px 0 86px; position: relative; overflow: hidden;
}
@media (min-width: 992px) { .hero { padding: 72px 0 120px; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: #cfe8e0; padding: 7px 14px; border-radius: 999px; font-size: .78rem; font-weight: 600;
}
.hero h1 { color: #fff; font-size: clamp(1.7rem, 5.5vw, 3rem); font-weight: 800; line-height: 1.15; margin: 16px 0 10px; }
.hero h1 .accent { color: var(--sb-gold); }
.hero p.lead { color: #b8c6d5; font-size: clamp(.95rem, 2.5vw, 1.1rem); max-width: 560px; }
.hero-stats { display: flex; gap: 26px; margin-top: 22px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 1.25rem; color: #fff; }
.hero-stat span { font-size: .78rem; color: #94a6ba; }

/* Search card overlapping hero */
.search-card {
  background: #fff; border-radius: var(--sb-radius-lg); box-shadow: var(--sb-shadow-lg);
  padding: 18px; margin-top: -62px; position: relative; z-index: 5;
}
@media (min-width: 992px) { .search-card { padding: 24px; margin-top: -74px; } }
.search-field { position: relative; }
.search-field label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--sb-muted); margin-bottom: 4px; display: flex; align-items: center; gap: 6px;
}
.search-field label i { color: var(--sb-brand); }

/* ── Forms ─────────────────────────────────────────────── */
.form-control, .form-select {
  border-radius: 14px; border: 1.5px solid var(--sb-border); padding: .68rem .95rem;
  font-weight: 600; font-size: .93rem; color: var(--sb-ink); background-color: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--sb-brand); box-shadow: 0 0 0 .22rem rgba(11,122,99,.12);
}
.form-control::placeholder { color: #a3aebe; font-weight: 500; }
.flight-date-input { padding-inline: .72rem; font-size: .84rem; }
.form-label { font-weight: 700; font-size: .88rem; color: var(--sb-ink); }
.form-hint { font-size: .78rem; color: var(--sb-muted); }
.input-icon { position: relative; }
.input-icon > i {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--sb-muted); font-size: 1rem; pointer-events: none;
}
.input-icon .form-control, .input-icon .form-select { padding-left: 42px; }
.form-check-input:checked { background-color: var(--sb-brand); border-color: var(--sb-brand); }
.form-switch .form-check-input { cursor: pointer; }

/* Stepper (guests etc.) */
.stepper { display: inline-flex; align-items: center; gap: 14px; border: 1.5px solid var(--sb-border); border-radius: 14px; padding: 6px 10px; background: #fff; }
.stepper button {
  width: 30px; height: 30px; border-radius: 10px; border: 0; background: var(--sb-brand-soft);
  color: var(--sb-brand); font-size: 1.05rem; font-weight: 800; display: grid; place-items: center;
}
.stepper button:disabled { opacity: .4; }
.stepper output { font-weight: 800; min-width: 22px; text-align: center; }

/* ── Chips / filter pills ──────────────────────────────── */
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--sb-border);
  background: #fff; color: var(--sb-muted); font-weight: 700; font-size: .84rem; cursor: pointer; transition: .2s;
}
.chip:hover { border-color: var(--sb-brand); color: var(--sb-brand); }
.chip.active { background: var(--sb-ink); border-color: var(--sb-ink); color: #fff; }

/* ── Property cards ────────────────────────────────────── */
.prop-card {
  background: #fff; border-radius: var(--sb-radius); overflow: hidden;
  border: 1px solid var(--sb-border); box-shadow: var(--sb-shadow);
  transition: transform .25s, box-shadow .25s; height: 100%;
  display: flex; flex-direction: column;
}
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--sb-shadow-lg); }
.prop-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e8edf4; }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prop-card:hover .prop-media img { transform: scale(1.06); }
.prop-heart {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 0;
  border-radius: 12px; background: rgba(255,255,255,.92); color: var(--sb-ink);
  display: grid; place-items: center; font-size: 1.05rem; transition: .2s;
}
.prop-heart:hover { transform: scale(1.08); }
.prop-heart.saved { color: var(--sb-coral); }
.prop-type-badge {
  position: absolute; top: 12px; left: 12px; background: rgba(14,27,44,.78); color: #fff;
  font-size: .7rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  backdrop-filter: blur(4px); letter-spacing: .03em;
}
.prop-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prop-rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: .82rem; color: var(--sb-ink); }
.prop-rating i { color: var(--sb-gold); }
.prop-rating small { color: var(--sb-muted); font-weight: 600; }
.prop-title { font-size: 1rem; font-weight: 700; color: var(--sb-ink); margin: 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.prop-loc { font-size: .82rem; color: var(--sb-muted); display: flex; align-items: center; gap: 5px; }
.prop-specs { display: flex; gap: 12px; font-size: .78rem; color: var(--sb-muted); }
.prop-specs span { display: inline-flex; align-items: center; gap: 4px; }
.prop-price { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 4px; }
.prop-price b { font-size: 1.08rem; color: var(--sb-ink); }
.prop-price span { font-size: .78rem; color: var(--sb-muted); }

/* Horizontal scroll rail (mobile) */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 576px) { .rail { grid-auto-columns: 46%; } }
@media (min-width: 992px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }

/* ── Destination cards ─────────────────────────────────── */
.dest-card {
  position: relative; border-radius: var(--sb-radius); overflow: hidden; aspect-ratio: 3 / 4;
  display: block; box-shadow: var(--sb-shadow);
}
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dest-card:hover img { transform: scale(1.07); }
.dest-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,18,30,.85) 100%);
}
.dest-info { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; color: #fff; }
.dest-info h6 { color: #fff; margin: 0; font-size: 1rem; font-weight: 800; }
.dest-info span { font-size: .76rem; color: #cdd8e4; }
.rail--dest { grid-auto-columns: 42%; }
@media (min-width: 576px) { .rail--dest { grid-auto-columns: 30%; } }
@media (min-width: 992px) { .rail--dest { grid-template-columns: repeat(6, 1fr); } }

/* ── Service tiles (bills quick actions) ───────────────── */
.service-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  background: #fff; border: 1px solid var(--sb-border); border-radius: var(--sb-radius);
  padding: 18px; height: 100%; transition: .25s; box-shadow: var(--sb-shadow); position: relative;
}
.service-tile:hover { transform: translateY(-4px); box-shadow: var(--sb-shadow-lg); border-color: transparent; }
.service-icon {
  width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem;
}
.service-tile h6 { margin: 0; font-size: .95rem; font-weight: 800; color: var(--sb-ink); }
.service-tile p { margin: 0; font-size: .78rem; color: var(--sb-muted); line-height: 1.4; }
.service-tile .tile-arrow {
  position: absolute; top: 18px; right: 16px; color: #c3ccd9; font-size: .95rem; transition: .2s;
}
.service-tile:hover .tile-arrow { color: var(--sb-brand); transform: translateX(2px); }
.service-tile.disabled { opacity: .55; pointer-events: none; }
.tile-soon {
  position: absolute; top: 16px; right: 14px; background: var(--sb-gold-soft); color: #a06d0b;
  font-size: .64rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; letter-spacing: .04em;
}
.icon-brand { background: var(--sb-brand-soft); color: var(--sb-brand); }
.icon-gold { background: var(--sb-gold-soft); color: #c07f0e; }
.icon-blue { background: var(--sb-blue-soft); color: var(--sb-blue); }
.icon-coral { background: var(--sb-coral-soft); color: var(--sb-coral); }
.icon-purple { background: var(--sb-purple-soft); color: var(--sb-purple); }
.icon-ink { background: #e5eaf2; color: var(--sb-ink); }

/* ── SBBoost sponsored banner ──────────────────────────── */
.sbboost-ad {
  isolation: isolate; position: relative; overflow: hidden;
  min-height: 310px; padding: 28px 24px;
  display: flex; align-items: flex-end;
  border-radius: var(--sb-radius-lg); color: #fff;
  background:
    radial-gradient(circle at 85% 25%, rgba(167, 139, 250, .42), transparent 32%),
    radial-gradient(circle at 12% 115%, rgba(45, 212, 191, .28), transparent 38%),
    linear-gradient(125deg, #0b1026 0%, #312e81 56%, #6d28d9 100%);
  box-shadow: 0 24px 55px rgba(49, 46, 129, .24);
  transform: translateZ(0);
  transition: transform .35s ease, box-shadow .35s ease;
}
.sbboost-ad::before {
  content: ''; position: absolute; z-index: -1; inset: 1px;
  border: 1px solid rgba(255,255,255,.14); border-radius: calc(var(--sb-radius-lg) - 1px);
  pointer-events: none;
}
.sbboost-ad:hover {
  color: #fff; transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(49, 46, 129, .34);
}
.sbboost-ad:focus-visible {
  color: #fff; outline: 4px solid rgba(124, 92, 255, .28); outline-offset: 4px;
}
.sbboost-ad__glow {
  position: absolute; z-index: -1; width: 280px; height: 280px;
  right: -80px; top: -120px; border-radius: 50%;
  background: rgba(255,255,255,.14); filter: blur(2px);
  animation: sbboostGlow 5s ease-in-out infinite alternate;
}
.sbboost-ad__content {
  position: relative; z-index: 2; max-width: 620px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.sbboost-ad__label {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 10px; margin-bottom: 14px; border-radius: 999px;
  color: #ddd6fe; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.sbboost-ad__brand {
  color: #fff; font-size: clamp(1.75rem, 7vw, 2.7rem);
  font-weight: 800; line-height: 1; letter-spacing: -.055em;
}
.sbboost-ad__brand span { color: #a7f3d0; }
.sbboost-ad__content strong {
  max-width: 560px; margin-top: 12px;
  color: #fff; font-size: clamp(1.2rem, 4.5vw, 2rem);
  line-height: 1.16; letter-spacing: -.025em;
}
.sbboost-ad__copy {
  max-width: 510px; margin-top: 9px;
  color: rgba(255,255,255,.74); font-size: .88rem; line-height: 1.6;
}
.sbboost-ad__action {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 19px; padding: 11px 15px; border-radius: 13px;
  color: #17112e; background: #fff; font-size: .82rem; font-weight: 800;
  box-shadow: 0 10px 25px rgba(9, 8, 26, .2);
}
.sbboost-ad__action i { transition: transform .25s ease; }
.sbboost-ad:hover .sbboost-ad__action i { transform: translate(3px, -3px); }
.sbboost-ad__visual {
  position: absolute; z-index: 1; width: 270px; height: 270px;
  right: -60px; top: 10px; opacity: .52;
}
.sbboost-ad__pulse {
  position: absolute; left: 50%; top: 50%; width: 92px; height: 92px;
  display: grid; place-items: center; transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.32); border-radius: 30px;
  background: rgba(255,255,255,.13); color: #fff;
  font-size: 2.25rem; backdrop-filter: blur(9px);
  box-shadow: 0 20px 50px rgba(3, 5, 20, .24);
}
.sbboost-ad__pulse::after {
  content: ''; position: absolute; inset: -20px;
  border: 1px solid rgba(255,255,255,.13); border-radius: 50%;
}
.sbboost-ad__orbit {
  position: absolute; width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.22); border-radius: 15px;
  color: #fff; background: rgba(255,255,255,.12);
  font-size: 1.1rem; backdrop-filter: blur(7px);
  animation: sbboostFloat 3.8s ease-in-out infinite;
}
.sbboost-ad__orbit--one { left: 14px; top: 52px; }
.sbboost-ad__orbit--two { right: 16px; top: 32px; animation-delay: -.9s; }
.sbboost-ad__orbit--three { left: 30px; bottom: 26px; animation-delay: -1.8s; }
.sbboost-ad__orbit--four { right: 8px; bottom: 50px; animation-delay: -2.7s; }
.sbboost-ad--pending { opacity: 0; transform: translateY(24px); }
.sbboost-ad--pending.sbboost-ad--visible {
  opacity: 1; transform: translateY(0);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.75,.25,1), box-shadow .35s ease;
}
.sbboost-ad--pending.sbboost-ad--visible:hover { transform: translateY(-4px); }
@keyframes sbboostFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-9px) rotate(3deg); }
}
@keyframes sbboostGlow {
  from { transform: scale(.92); opacity: .55; }
  to { transform: scale(1.08); opacity: 1; }
}
@media (min-width: 768px) {
  .sbboost-ad { min-height: 280px; padding: 38px 42px; align-items: center; }
  .sbboost-ad__content { padding-right: 250px; }
  .sbboost-ad__visual { width: 330px; height: 330px; right: 10px; top: -24px; opacity: .92; }
  .sbboost-ad__pulse { width: 110px; height: 110px; font-size: 2.6rem; }
}
@media (min-width: 992px) {
  .sbboost-ad { min-height: 300px; padding-inline: 54px; }
  .sbboost-ad__content { padding-right: 320px; }
  .sbboost-ad__visual { right: 54px; }
}

/* ── How it works ──────────────────────────────────────── */
.step-card { text-align: center; padding: 26px 20px; }
.step-num {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 18px;
  background: linear-gradient(135deg, var(--sb-brand), #0d9a7c); color: #fff;
  display: grid; place-items: center; font-size: 1.35rem; box-shadow: 0 10px 22px rgba(11,122,99,.3);
}
.step-card h6 { font-weight: 800; }
.step-card p { font-size: .86rem; color: var(--sb-muted); margin: 0; }

/* ── CTA banners ───────────────────────────────────────── */
.cta-banner {
  border-radius: var(--sb-radius-lg); padding: 28px 24px; color: #fff; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px; min-height: 190px; justify-content: center;
}
@media (min-width: 768px) { .cta-banner { padding: 36px 34px; } }
.cta-banner h3 { color: #fff; font-weight: 800; font-size: 1.3rem; margin: 0; }
.cta-banner p { color: rgba(255,255,255,.78); margin: 0; font-size: .9rem; max-width: 420px; }
.cta-banner .btn { align-self: flex-start; }
.cta-banner .cta-icon {
  position: absolute; right: -18px; bottom: -24px; font-size: 8rem; opacity: .12; transform: rotate(-12deg);
}
.cta-flights { background: linear-gradient(135deg, #1d3557 0%, var(--sb-blue) 100%); }
.cta-bills { background: linear-gradient(135deg, var(--sb-ink) 0%, #245a4c 100%); }
.cta-owner { background: linear-gradient(135deg, #7a4004 0%, var(--sb-gold) 130%); }

/* ── Trust strip ───────────────────────────────────────── */
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item i { font-size: 1.5rem; color: var(--sb-brand); }
.trust-item h6 { margin: 0 0 2px; font-size: .95rem; }
.trust-item p { margin: 0; font-size: .82rem; color: var(--sb-muted); }

/* ── Rating & status badges ────────────────────────────── */
.badge-soft { font-weight: 700; font-size: .72rem; padding: 5px 11px; border-radius: 999px; }
.badge-status { font-weight: 800; font-size: .7rem; padding: 5px 11px; border-radius: 999px; letter-spacing: .03em; text-transform: capitalize; display: inline-flex; align-items: center; gap: 5px; }
.badge-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-status.pending    { background: var(--sb-gold-soft); color: #a06d0b; }
.badge-status.approved,
.badge-status.successful,
.badge-status.active,
.badge-status.confirmed  { background: var(--sb-brand-soft); color: var(--sb-brand-600); }
.badge-status.declined,
.badge-status.failed,
.badge-status.suspended  { background: var(--sb-coral-soft); color: #c22b44; }
.badge-status.completed  { background: var(--sb-blue-soft); color: var(--sb-blue); }
.badge-status.reversed   { background: var(--sb-purple-soft); color: var(--sb-purple); }
.badge-status.inactive,
.badge-status.cancelled  { background: #e9edf3; color: var(--sb-muted); }

/* ── Skeleton loading ──────────────────────────────────── */
.skeleton {
  position: relative; overflow: hidden; background: #e8edf4; border-radius: 10px; color: transparent !important;
}
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.sk-card { border-radius: var(--sb-radius); border: 1px solid var(--sb-border); overflow: hidden; background: #fff; }
.sk-media { aspect-ratio: 4/3; }
.sk-line { height: 12px; margin: 10px 16px; }
.sk-line.w-50 { width: 50%; }
.sk-line.w-75 { width: 75%; }

/* ── Empty / error states ──────────────────────────────── */
.empty-state { text-align: center; padding: 56px 24px; }
.empty-state .empty-icon {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 28px;
  background: var(--sb-brand-soft); color: var(--sb-brand);
  display: grid; place-items: center; font-size: 2.2rem;
}
.empty-state.empty--warn .empty-icon { background: var(--sb-gold-soft); color: #c07f0e; }
.empty-state.empty--error .empty-icon { background: var(--sb-coral-soft); color: var(--sb-coral); }
.empty-state h5 { font-weight: 800; }
.empty-state p { color: var(--sb-muted); font-size: .9rem; max-width: 340px; margin-inline: auto; }

/* ── Toasts ────────────────────────────────────────────── */
.sb-toast-stack {
  position: fixed; z-index: 2000; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--sb-bottomnav-h) + 18px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 8px; width: min(420px, calc(100vw - 32px));
}
@media (min-width: 992px) { .sb-toast-stack { bottom: 24px; } }
.sb-toast {
  display: flex; align-items: center; gap: 12px; background: var(--sb-ink); color: #fff;
  padding: 13px 16px; border-radius: 16px; box-shadow: var(--sb-shadow-lg);
  font-size: .88rem; font-weight: 600; animation: toastIn .3s cubic-bezier(.2,.9,.3,1.2);
}
.sb-toast i { font-size: 1.15rem; flex: 0 0 auto; }
.sb-toast--success i { color: #4ade80; }
.sb-toast--error i { color: #fb7185; }
.sb-toast--info i { color: #7dd3fc; }
.sb-toast.hiding { animation: toastOut .25s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.97); } }

/* ── Property details ──────────────────────────────────── */
.gallery-main { border-radius: var(--sb-radius-lg); overflow: hidden; aspect-ratio: 16/10; background: #e8edf4; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-count {
  position: absolute; right: 14px; bottom: 14px; background: rgba(14,27,44,.75); color: #fff;
  font-size: .75rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumb { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; border: 2.5px solid transparent; background: #e8edf4; padding: 0; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--sb-brand); }
.amenity-item { display: flex; align-items: center; gap: 11px; padding: 11px 0; font-weight: 600; font-size: .9rem; color: var(--sb-text); }
.amenity-item i { width: 40px; height: 40px; border-radius: 13px; background: var(--sb-brand-soft); color: var(--sb-brand); display: grid; place-items: center; font-size: 1.05rem; flex: 0 0 auto; }
.rule-item { display: flex; gap: 10px; padding: 8px 0; font-size: .9rem; color: var(--sb-text); }
.rule-item i { color: var(--sb-brand); margin-top: 2px; }
.host-card { display: flex; align-items: center; gap: 14px; }
.host-card img { width: 58px; height: 58px; border-radius: 18px; object-fit: cover; }
.host-card h6 { margin: 0; display: flex; align-items: center; gap: 6px; }
.host-card h6 i { color: var(--sb-brand); font-size: .9rem; }
.host-card p { margin: 0; font-size: .8rem; color: var(--sb-muted); }

/* Sticky booking card / mobile book bar */
.booking-card { position: sticky; top: calc(var(--sb-topbar-h) + 16px); }
.book-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  background: #fff; border-top: 1px solid var(--sb-border);
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  box-shadow: 0 -10px 30px rgba(14,27,44,.08);
}
.book-bar .bb-price b { font-size: 1.15rem; color: var(--sb-ink); }
.book-bar .bb-price span { font-size: .75rem; color: var(--sb-muted); display: block; }

/* ── Flights ───────────────────────────────────────────── */
.trip-toggle { display: inline-flex; background: var(--sb-bg); border-radius: 999px; padding: 4px; gap: 2px; }
.trip-toggle input { display: none; }
.trip-toggle label { padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: .84rem; color: var(--sb-muted); cursor: pointer; transition: .2s; }
.trip-toggle input:checked + label { background: var(--sb-ink); color: #fff; }
.swap-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--sb-border); background: #fff;
  color: var(--sb-brand); display: grid; place-items: center; font-size: 1.05rem; transition: .3s;
}
.swap-btn:hover { transform: rotate(180deg); border-color: var(--sb-brand); }
.flight-card {
  background: #fff; border: 1px solid var(--sb-border); border-radius: var(--sb-radius);
  padding: 18px; box-shadow: var(--sb-shadow); transition: .2s;
}
.flight-card:hover { border-color: var(--sb-brand); }
.airline-logo {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 800; font-size: .82rem; color: #fff; flex: 0 0 auto;
}
.flight-times { display: flex; align-items: center; gap: 14px; flex: 1; }
.flight-point b { font-size: 1.12rem; color: var(--sb-ink); display: block; }
.flight-point span { font-size: .74rem; color: var(--sb-muted); font-weight: 700; }
.flight-path { flex: 1; text-align: center; position: relative; min-width: 70px; }
.flight-path .fp-line { height: 2px; background: repeating-linear-gradient(90deg, var(--sb-border) 0 6px, transparent 6px 12px); position: relative; }
.flight-path .fp-line::before, .flight-path .fp-line::after {
  content: ''; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--sb-brand);
}
.flight-path .fp-line::before { left: 0; } .flight-path .fp-line::after { right: 0; }
.flight-path i { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); color: var(--sb-brand); background: #fff; padding: 0 6px; }
.flight-path small { font-size: .72rem; color: var(--sb-muted); font-weight: 700; display: block; margin-top: 8px; }
.flight-price b { font-size: 1.18rem; color: var(--sb-ink); }
.flight-price span { display: block; font-size: .72rem; color: var(--sb-muted); }

/* ── Bills / fintech ───────────────────────────────────── */
.wallet-card {
  border-radius: var(--sb-radius-lg); padding: 24px; color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(420px 200px at 90% -20%, rgba(245,165,36,.35), transparent 60%),
    linear-gradient(135deg, var(--sb-ink) 20%, var(--sb-brand) 130%);
  box-shadow: var(--sb-shadow-lg);
}
.wallet-card .wc-label { font-size: .78rem; color: #a9bccb; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.wallet-card .wc-balance { font-size: clamp(1.7rem, 6vw, 2.3rem); font-weight: 800; margin: 6px 0 14px; letter-spacing: -.01em; }
.wallet-card .wc-eye { background: none; border: 0; color: #a9bccb; font-size: 1rem; }
.wallet-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.wallet-actions .btn { backdrop-filter: blur(6px); }
.btn-glass { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #fff; }
.btn-glass:hover { background: rgba(255,255,255,.24); color: #fff; }

/* Provider (network/disco/cable) radio cards */
.provider-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.provider-grid--3 { grid-template-columns: repeat(3, 1fr); }
.provider-option input { display: none; }
.provider-option .po-box {
  border: 2px solid var(--sb-border); border-radius: 16px; padding: 13px 6px; text-align: center;
  cursor: pointer; transition: .2s; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 7px;
}
.provider-option input:checked + .po-box { border-color: var(--sb-brand); background: var(--sb-brand-soft); box-shadow: 0 6px 18px rgba(11,122,99,.15); }
.po-logo {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: .68rem; letter-spacing: .02em;
}
.po-box span { font-size: .74rem; font-weight: 700; color: var(--sb-text); }

/* Quick amount chips */
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amount-chip {
  border: 2px solid var(--sb-border); background: #fff; border-radius: 14px; padding: 12px 6px;
  font-weight: 800; color: var(--sb-ink); font-size: .92rem; transition: .2s; cursor: pointer;
}
.amount-chip small { display: block; font-size: .66rem; color: var(--sb-brand); font-weight: 700; margin-top: 2px; }
.amount-chip.active, .amount-chip:hover { border-color: var(--sb-brand); background: var(--sb-brand-soft); }

/* Plan list (data/cable) */
.plan-option input { display: none; }
.plan-option .plan-box {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  border: 2px solid var(--sb-border); border-radius: 16px; padding: 14px 16px; cursor: pointer; transition: .2s; background: #fff;
}
.plan-option input:checked + .plan-box { border-color: var(--sb-brand); background: var(--sb-brand-soft); }
.plan-box b { font-size: .93rem; color: var(--sb-ink); display: block; }
.plan-box small { color: var(--sb-muted); font-size: .76rem; font-weight: 600; }
.plan-box .plan-price { font-weight: 800; color: var(--sb-brand-600); white-space: nowrap; }

/* Payment method selector */
.pay-method { display: flex; align-items: center; gap: 13px; border: 2px solid var(--sb-border); border-radius: 16px; padding: 14px 16px; cursor: pointer; transition: .2s; background: #fff; }
.pay-method.selected { border-color: var(--sb-brand); background: var(--sb-brand-soft); }
.pay-method.disabled { opacity: .55; cursor: not-allowed; }
.pay-method .pm-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 1.2rem; flex: 0 0 auto; }
.pay-method b { display: block; font-size: .92rem; color: var(--sb-ink); }
.pay-method small { color: var(--sb-muted); font-weight: 600; font-size: .76rem; }
.pay-method .pm-check { margin-left: auto; font-size: 1.2rem; color: var(--sb-brand); }

/* Verify preview (meter / smartcard customer name) */
.verify-box {
  display: none; align-items: center; gap: 12px; background: var(--sb-brand-soft);
  border: 1.5px dashed var(--sb-brand); border-radius: 14px; padding: 12px 14px; margin-top: 10px;
}
.verify-box.show { display: flex; animation: fadeUp .3s; }
.verify-box.error { background: var(--sb-coral-soft); border-color: var(--sb-coral); }
.verify-box i { font-size: 1.3rem; color: var(--sb-brand); }
.verify-box.error i { color: var(--sb-coral); }
.verify-box b { display: block; font-size: .9rem; color: var(--sb-ink); }
.verify-box small { color: var(--sb-muted); font-weight: 600; font-size: .76rem; }

/* Confirm bottom sheet */
.sheet { border-radius: 24px 24px 0 0 !important; border: 0; }
.sheet .offcanvas-body { padding: 8px 22px calc(22px + env(safe-area-inset-bottom, 0px)); }
.sheet-grab { width: 44px; height: 5px; border-radius: 99px; background: #dbe2ec; margin: 10px auto 4px; }
.summary-rows { background: var(--sb-bg); border-radius: 16px; padding: 6px 16px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: .9rem; border-bottom: 1px dashed var(--sb-border); }
.summary-row:last-child { border-bottom: 0; }
.summary-row span { color: var(--sb-muted); font-weight: 600; }
.summary-row b { color: var(--sb-ink); text-align: right; }
.summary-row.total b { font-size: 1.1rem; color: var(--sb-brand-600); }

/* Processing overlay + success state */
.flow-overlay {
  position: fixed; inset: 0; z-index: 2100; background: rgba(255,255,255,.96);
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 18px; text-align: center; padding: 24px;
}
.flow-overlay.show { display: flex; animation: fadeUp .25s; }
.spinner-brand { width: 58px; height: 58px; border: 5px solid var(--sb-brand-soft); border-top-color: var(--sb-brand); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.success-check {
  width: 92px; height: 92px; border-radius: 50%; background: var(--sb-brand-soft);
  display: grid; place-items: center; margin: 0 auto 8px; animation: pop .45s cubic-bezier(.2,1.4,.4,1);
}
.success-check .inner { width: 64px; height: 64px; border-radius: 50%; background: var(--sb-brand); color: #fff; font-size: 2rem; display: grid; place-items: center; }
.success-check.error { background: var(--sb-coral-soft); }
.success-check.error .inner { background: var(--sb-coral); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.receipt-card { border: 1.5px dashed var(--sb-border); border-radius: var(--sb-radius); padding: 6px 18px; background: #fff; }
.token-box {
  background: var(--sb-ink); color: #ffd97a; border-radius: 14px; padding: 14px;
  font-family: 'Consolas', monospace; font-size: 1.05rem; font-weight: 700; text-align: center; letter-spacing: .12em;
}

/* List rows (transactions, bookings) */
.tx-item { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid #eef2f7; }
.tx-item:last-child { border-bottom: 0; }
.tx-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.1rem; flex: 0 0 auto; }
.tx-item h6 { margin: 0; font-size: .9rem; font-weight: 700; }
.tx-item p { margin: 0; font-size: .76rem; color: var(--sb-muted); }
.tx-amount { margin-left: auto; text-align: right; }
.tx-amount b { font-size: .92rem; color: var(--sb-ink); display: block; white-space: nowrap; }
.tx-amount b.credit { color: var(--sb-brand-600); }

/* ── Dashboard ─────────────────────────────────────────── */
.dash-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.dash-tabs::-webkit-scrollbar { display: none; }
.dash-tabs .nav-link {
  border-radius: 999px; font-weight: 700; font-size: .86rem; color: var(--sb-muted);
  padding: 9px 18px; white-space: nowrap; border: 1.5px solid var(--sb-border); background: #fff;
}
.dash-tabs .nav-link.active { background: var(--sb-ink); color: #fff; border-color: var(--sb-ink); }
.dashboard-shell { padding-top: 30px; }
.stat-pill { background: #fff; border: 1px solid var(--sb-border); border-radius: var(--sb-radius); padding: 16px; display: flex; align-items: center; gap: 13px; height: 100%; }
.stat-pill .sp-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; flex: 0 0 auto; }
.stat-pill b { font-size: 1.15rem; color: var(--sb-ink); display: block; line-height: 1.1; }
.stat-pill span { font-size: .76rem; color: var(--sb-muted); font-weight: 600; }

/* ── Auth pages ────────────────────────────────────────── */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 28px 18px;
  background:
    radial-gradient(800px 400px at 90% -10%, rgba(11,122,99,.4), transparent 60%),
    radial-gradient(600px 300px at 0% 110%, rgba(245,165,36,.22), transparent 55%),
    linear-gradient(150deg, var(--sb-ink) 30%, #0d3b40 100%);
}
.auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: var(--sb-radius-lg); box-shadow: var(--sb-shadow-lg); padding: 30px 26px; }
@media (min-width: 576px) { .auth-card { padding: 38px 36px; } }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--sb-muted); font-size: .8rem; font-weight: 600; margin: 18px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--sb-border); }
.btn-social { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 1.5px solid var(--sb-border); background: #fff; color: var(--sb-ink); font-weight: 700; }
.btn-social:hover { background: var(--sb-bg); }

/* ── Admin layout ──────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 264px; background: var(--sb-ink); color: #b9c6d6; flex-shrink: 0;
  display: flex; flex-direction: column; border: 0;
}
@media (min-width: 992px) {
  .admin-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; }
}
.admin-sidebar-head { padding: 20px 20px 6px; display: flex; align-items: center; justify-content: space-between; }
.admin-sidebar-tag { padding: 0 20px 14px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #5d7189; font-weight: 700; }
.admin-nav { padding: 4px 12px; flex: 1; }
.admin-nav-group { padding: 16px 10px 7px; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #52657d; font-weight: 800; }
.admin-nav-link {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  color: #a7b5c7; font-weight: 600; font-size: .9rem; margin-bottom: 2px; transition: .18s;
}
.admin-nav-link i { font-size: 1.05rem; width: 20px; text-align: center; }
.admin-nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav-link.active { background: var(--sb-brand); color: #fff; box-shadow: 0 8px 18px rgba(11,122,99,.35); }
.admin-nav-badge { margin-left: auto; background: var(--sb-gold); color: var(--sb-ink); font-size: .68rem; font-weight: 800; border-radius: 999px; padding: 2px 8px; }
.admin-sidebar-foot { padding: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
  height: 68px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sb-border); display: flex; align-items: center; gap: 14px;
  padding-inline: 20px; position: sticky; top: 0; z-index: 1020;
}
.admin-search { flex: 1; max-width: 420px; align-items: center; gap: 10px; background: var(--sb-bg); border-radius: 14px; padding: 10px 16px; color: var(--sb-muted); }
.admin-search input { border: 0; background: none; outline: none; width: 100%; font-size: .88rem; font-weight: 600; color: var(--sb-ink); }
.admin-user { display: flex; align-items: center; gap: 10px; }
.admin-user img { width: 40px; height: 40px; border-radius: 13px; }
.admin-user-name { font-weight: 700; font-size: .86rem; color: var(--sb-ink); line-height: 1.15; }
.admin-user-role { font-size: .7rem; color: var(--sb-muted); font-weight: 600; }
.admin-content { padding: 22px 20px 46px; }
@media (min-width: 992px) { .admin-content { padding: 28px 28px 60px; } }
.admin-page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.admin-page-head h1 { font-size: 1.45rem; margin: 0; }
.admin-page-head p { margin: 2px 0 0; color: var(--sb-muted); font-size: .88rem; }

/* Admin stat cards */
.stat-card { background: #fff; border: 1px solid var(--sb-border); border-radius: var(--sb-radius); padding: 20px; height: 100%; box-shadow: var(--sb-shadow); }
.stat-card .sc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.stat-card .sc-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 1.25rem; }
.stat-card .sc-delta { font-size: .72rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; }
.sc-delta.up { background: var(--sb-brand-soft); color: var(--sb-brand-600); }
.sc-delta.down { background: var(--sb-coral-soft); color: #c22b44; }
.stat-card b { font-size: 1.55rem; color: var(--sb-ink); display: block; margin-top: 14px; letter-spacing: -.02em; }
.stat-card span { color: var(--sb-muted); font-size: .82rem; font-weight: 600; }

/* Admin tables */
.table-card { background: #fff; border: 1px solid var(--sb-border); border-radius: var(--sb-radius); box-shadow: var(--sb-shadow); overflow: hidden; }
.table-card .tc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--sb-border); }
.table-card .tc-head h5 { margin: 0; font-size: 1.02rem; }
.table-sb { margin: 0; }
.table-sb thead th {
  background: #f8fafc; color: var(--sb-muted); font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; font-weight: 800; border-bottom: 1px solid var(--sb-border);
  padding: 12px 16px; white-space: nowrap;
}
.table-sb tbody td { padding: 13px 16px; vertical-align: middle; font-size: .88rem; font-weight: 600; color: var(--sb-text); border-color: #eef2f7; }
.table-sb tbody tr { cursor: default; transition: background .15s; }
.table-sb tbody tr:hover { background: #f8fafc; }
.table-sb .cell-main { font-weight: 700; color: var(--sb-ink); }
.table-sb .cell-sub { display: block; font-size: .74rem; color: var(--sb-muted); font-weight: 600; }
.table-thumb { width: 52px; height: 40px; border-radius: 10px; object-fit: cover; }
.action-btns { display: flex; gap: 6px; }
.action-btn {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--sb-border); background: #fff;
  color: var(--sb-muted); display: grid; place-items: center; font-size: .9rem; transition: .18s;
}
.action-btn:hover { color: var(--sb-brand); border-color: var(--sb-brand); background: var(--sb-brand-soft); }
.action-btn.danger:hover { color: var(--sb-coral); border-color: var(--sb-coral); background: var(--sb-coral-soft); }

/* Mini bar chart (pure CSS) */
.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 150px; padding-top: 10px; }
.bar-chart .bar { flex: 1; background: var(--sb-brand-soft); border-radius: 8px 8px 4px 4px; position: relative; min-height: 8px; transition: .3s; }
.bar-chart .bar:hover { background: var(--sb-brand); }
.bar-chart .bar span { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: .66rem; font-weight: 700; color: var(--sb-muted); }
.bar-chart .bar.hot { background: var(--sb-brand); }

/* Image dropzone */
.dropzone {
  border: 2px dashed #c8d3e0; border-radius: var(--sb-radius); background: #f8fafc;
  padding: 34px 20px; text-align: center; cursor: pointer; transition: .2s;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--sb-brand); background: var(--sb-brand-soft); }
.dropzone i { font-size: 2rem; color: var(--sb-brand); }
.dropzone p { margin: 8px 0 0; font-weight: 700; color: var(--sb-ink); font-size: .9rem; }
.dropzone small { color: var(--sb-muted); }
.upload-previews { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.upload-previews .up-thumb { width: 86px; height: 66px; border-radius: 12px; object-fit: cover; border: 1px solid var(--sb-border); }

/* Amenity checkbox pills */
.amenity-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.amenity-picker input { display: none; }
.amenity-picker label {
  border: 1.5px solid var(--sb-border); border-radius: 999px; padding: 8px 15px;
  font-size: .82rem; font-weight: 700; color: var(--sb-muted); cursor: pointer; transition: .18s;
  display: inline-flex; align-items: center; gap: 6px;
}
.amenity-picker input:checked + label { background: var(--sb-brand); border-color: var(--sb-brand); color: #fff; }

/* ── Site footer ───────────────────────────────────────── */
.site-footer { background: var(--sb-ink); color: #9fb0c2; padding: 44px 0 0; margin-top: 40px; }
.brand--footer .brand-text, .brand--footer .brand-text span { color: #fff; }
.brand--footer .brand-text span { color: #6fd3bd; }
.footer-blurb { font-size: .88rem; margin: 14px 0 18px; max-width: 340px; line-height: 1.6; }
.site-footer h6 { color: #fff; font-size: .92rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul a { color: #9fb0c2; font-size: .86rem; transition: .18s; }
.site-footer ul a:hover { color: #fff; }
.store-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: 8px 14px; color: #fff; font-size: .82rem; font-weight: 700;
}
.store-badge i { font-size: 1.25rem; }
.store-badge small { display: block; font-size: .62rem; color: #8a9bb0; font-weight: 600; }
/* Only the badge that is a real store link reacts to the pointer — the
   "coming soon" one stays a plain <span> so it does not look clickable. */
.store-badge--link { transition: border-color .18s, background .18s; }
.store-badge--link:hover { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.06); color: #fff; }
.store-badge--link:focus-visible { outline: 2px solid #6fd3bd; outline-offset: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); margin-top: 34px; padding: 18px 0 calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .78rem;
}
.footer-secure { color: #6fd3bd; font-weight: 700; }

/* ── Misc utilities ────────────────────────────────────── */
.text-brand { color: var(--sb-brand) !important; }
.text-muted-2 { color: var(--sb-muted) !important; }
.fw-800 { font-weight: 800 !important; }
.fs-7 { font-size: .84rem !important; }
.rounded-sb { border-radius: var(--sb-radius) !important; }
.divider { height: 1px; background: var(--sb-border); margin: 18px 0; }
.page-offset { padding-top: 18px; }
.mw-720 { max-width: 720px; margin-inline: auto; }
.mw-560 { max-width: 560px; margin-inline: auto; }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── SeniorBrother 2026 branding (assets/images/branding/) ── */
.brand-mark-img {
  width: 38px; height: 38px; border-radius: 12px; flex: 0 0 auto;
  object-fit: contain; background: #02000e;
  box-shadow: 0 6px 16px rgba(2, 6, 30, .35);
}
.auth-brand-icon {
  position: relative; isolation: isolate; overflow: hidden;
  display: block; width: 84px; height: 84px; margin-inline: auto;
  border: 1px solid rgba(71, 142, 255, .3); border-radius: 24px;
  background: #050519;
  box-shadow:
    0 14px 28px rgba(18, 36, 105, .24),
    0 0 0 5px rgba(67, 97, 238, .06);
  animation: authIconSettle .45s cubic-bezier(.2, .8, .2, 1) both;
  transition: transform .22s ease, box-shadow .22s ease;
}
.auth-brand-icon::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.auth-brand-icon img {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  width: 250%; max-width: none; height: auto;
  transform: translate(-50%, -50%) scale(1);
  transition: transform .3s ease;
}
.auth-brand-icon:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 34px rgba(18, 36, 105, .3),
    0 0 0 6px rgba(67, 97, 238, .08);
}
.auth-brand-icon:hover img { transform: translate(-50%, -50%) scale(1.035); }
.auth-brand-icon:focus-visible { outline: 3px solid rgba(47, 111, 237, .32); outline-offset: 4px; }
@keyframes authIconSettle {
  from { opacity: 0; transform: translateY(-8px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 575.98px) {
  .auth-brand-icon { width: 76px; height: 76px; border-radius: 21px; }
}
.admin-brand-logo { width: 172px; height: auto; display: block; }

/* Admin brand editor — fixed preview planes make logo proportions obvious. */
.brand-logo-preview {
  min-height: 132px; display: grid; place-items: center; padding: 18px;
  border: 1px solid var(--sb-border); border-radius: 14px;
  background:
    radial-gradient(75% 100% at 50% 0%, rgba(37, 99, 235, .20), transparent 65%),
    #010112;
}
.brand-logo-preview img { display: block; max-width: 100%; max-height: 94px; object-fit: contain; }

/* ============================================================
   LEGAL PAGES (privacy policy) — long-form reading layout.
   Narrow measure, generous line height, sticky-free TOC so the
   page stays readable inside the Android WebView shell too.
   ============================================================ */
.legal-page { padding-block: 26px 46px; }
.legal-page .container-app { max-width: 860px; }

.legal-hero { margin-bottom: 26px; }
.legal-badge {
  display: inline-flex; align-items: center;
  background: var(--sb-brand-soft); color: var(--sb-brand-600);
  margin-bottom: 12px;
}
.legal-hero h1 { font-size: 1.85rem; margin: 0 0 10px; letter-spacing: -.02em; }
.legal-hero p { font-size: .96rem; line-height: 1.65; }
.legal-dates {
  margin-top: 14px !important; font-size: .82rem; font-weight: 600;
  color: var(--sb-muted); text-transform: uppercase; letter-spacing: .04em;
}

.legal-toc {
  background: var(--sb-card); border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius); padding: 20px 22px; margin-bottom: 30px;
  box-shadow: var(--sb-shadow);
}
.legal-toc h2 {
  font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  color: var(--sb-muted); margin: 0 0 12px;
}
.legal-toc ol {
  margin: 0; padding-left: 1.15rem; columns: 2; column-gap: 26px;
  font-size: .9rem; line-height: 1.9;
}
.legal-toc a { color: var(--sb-text); text-decoration: none; }
.legal-toc a:hover { color: var(--sb-brand); text-decoration: underline; }

.legal-body { font-size: .96rem; line-height: 1.72; color: var(--sb-text); }
.legal-body section { scroll-margin-top: calc(var(--sb-topbar-h) + 16px); margin-bottom: 34px; }
.legal-body h2 {
  font-size: 1.16rem; font-weight: 800; letter-spacing: -.01em;
  margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--sb-border);
}
.legal-body h3 { font-size: .98rem; font-weight: 700; margin: 20px 0 8px; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul, .legal-body ol { margin: 0 0 14px; padding-left: 1.25rem; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--sb-brand-600); font-weight: 600; }
.legal-body code {
  background: var(--sb-bg); border: 1px solid var(--sb-border); border-radius: 6px;
  padding: 1px 6px; font-size: .84em; color: var(--sb-ink);
}

/* Tables carry the "what we collect / who we share with" detail; they must
   scroll inside their own box instead of widening the page on a phone. */
.legal-table-wrap {
  overflow-x: auto; margin-bottom: 16px;
  border: 1px solid var(--sb-border); border-radius: var(--sb-radius-sm);
}
.legal-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .88rem; }
.legal-table th, .legal-table td {
  padding: 11px 14px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--sb-border);
}
.legal-table th {
  background: var(--sb-bg); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .04em; color: var(--sb-muted);
}
.legal-table tr:last-child td { border-bottom: 0; }

/* Play Console links straight to #data-deletion, so that section is called out. */
.legal-callout {
  background: var(--sb-brand-soft); border: 1px solid rgba(11, 122, 99, .22);
  border-radius: var(--sb-radius); padding: 22px 24px 6px;
}
.legal-callout h2 { border-bottom-color: rgba(11, 122, 99, .25); }
.legal-note {
  background: var(--sb-card); border-left: 3px solid var(--sb-brand);
  border-radius: var(--sb-radius-sm); padding: 12px 14px; font-size: .9rem; font-weight: 600;
}

.legal-contact { list-style: none; padding-left: 0 !important; }
.legal-contact li { display: flex; align-items: baseline; gap: 10px; }
.legal-contact i { color: var(--sb-brand); }

@media (max-width: 767.98px) {
  .legal-hero h1 { font-size: 1.5rem; }
  .legal-toc { padding: 16px 18px; }
  .legal-toc ol { columns: 1; line-height: 1.8; }
  .legal-callout { padding: 18px 18px 4px; }
}
