/* Dashboard bottom bar (phones/tablets) + slim 2FA banner + inline verify banner + feedback tab clearance */
.vbe-tabbar { display: none; }
@media (max-width: 900px) {
  .vbe-tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 98;
    background: #fff; border-top: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 -6px 18px rgba(15,23,42,.07);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  }
  .vbe-tab {
    flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-height: 54px; background: none; border: 0; cursor: pointer; color: #5b6472;
    font: 600 12.5px/1.1 var(--vbe-font-body, 'Outfit', system-ui, sans-serif);
    -webkit-tap-highlight-color: transparent;
  }
  .vbe-tab svg { width: 24px; height: 24px; }
  .vbe-tab { position: relative; }
  .vbe-tab.active { color: var(--orange, #C81E2C); }
  .vbe-tab-badge { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--orange, #C81E2C); color: #fff; font: 800 10px/17px system-ui, sans-serif; font-style: normal; text-align: center; box-shadow: 0 0 0 2px #fff; }
  .vbe-tab-badge[hidden] { display: none; }
  /* Keep the last row of every panel clear of the bar */
  .app-shell { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); box-sizing: border-box; }
  /* The drawer opens over the bar */
  .sidebar { z-index: 120; }
  .sidebar-overlay { z-index: 119; }
}

/* Slim 2FA banner: dashboard home only, one line, one button, dismissible */
.twofa-banner { display: none; }
body.vbe-on-home .twofa-banner:not(.is-dismissed) {
  display: flex; padding: 8px 14px; font-size: 12.5px; gap: 10px; align-items: center; justify-content: space-between;
}
.twofa-banner .tf-msg { display: flex; align-items: center; gap: 8px; min-width: 0; line-height: 1.3; }
.twofa-banner .tf-msg svg { flex-shrink: 0; color: #fff; opacity: .9; }
.twofa-banner .tf-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.twofa-banner-btn { padding: 6px 12px; font-size: 12px; border-radius: 999px; }
.twofa-x { background: none; border: 0; color: rgba(255,255,255,.7); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px; }
@media (max-width: 520px) { .twofa-banner .tf-long { display: none; } }

/* Verification prompt: inline banner (replaces the floating toast), home only */
.vbe-verify-banner { display: none; }
body.vbe-on-home .vbe-verify-banner { display: flex; }
.vbe-verify-banner {
  align-items: center; justify-content: space-between; gap: 12px; margin: 12px 16px 0; padding: 12px 14px;
  background: #fff5f5; border: 1px solid rgba(200,30,44,.25); border-radius: 12px;
  font-size: 13.5px; color: #3a1a1d;
}
.vbe-verify-banner strong { display: block; font-size: 14px; }
.vbe-verify-banner a { flex-shrink: 0; background: var(--orange, #C81E2C); color: #fff; text-decoration: none; font-weight: 700; font-size: 12.5px; padding: 8px 14px; border-radius: 999px; }

/* Sidebar: four labelled groups (Main, Business, Money, Account). Group labels and item order come from
   vbe_menu_bands() in sidebar.php; the old per-section labels are hidden. Anything not listed falls to the end. */
.sb-nav { display: flex; flex-direction: column; }
.sb-nav > * { order: 900; flex-shrink: 0; }   /* flex-shrink: 0 stops the menu items being squashed so the whole list shows and scrolls */
.sb-nav > .sb-section-label:not(.sb-grp), .sb-nav > .sb-divider { display: none !important; }
.sb-nav > .sb-grp { padding-top: 14px; }

.sb-nav { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.sb-nav::-webkit-scrollbar { display: block; width: 6px; }
.sb-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 3px; }
