/* The left side panel and its More menu. */

/* ── Left side panel ── */
.wb-nav {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 850;
  display: flex; flex-direction: column; width: 244px; padding: 22px 12px 18px;
  background: #fff; border-right: 2.5px solid var(--border);
}
.wb-nav-brand { display: flex; align-items: center; gap: 10px; padding: 6px 12px 26px; font-size: 21px; font-weight: 900; color: var(--black); text-decoration: none; }
.wb-nav-brand img { width: 30px; height: 30px; flex: none; }
.wb-nav-list { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.wb-nav-spacer { flex: 1; }
.wb-nav-item {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 12px;
  font-family: inherit; font-size: 15px; font-weight: 700; color: var(--black); text-align: left; text-decoration: none;
  background: none; border: 2px solid transparent; border-radius: 10px; cursor: pointer;
  transition: background 0.12s ease, transform 0.12s ease;
}
.wb-nav-item:hover { background: var(--muted-light); }
.wb-nav-item:hover .wb-nav-icon { transform: scale(1.06); }
.wb-nav-item:focus-visible { outline: none; border-color: var(--border); }
.wb-nav-item.active { font-weight: 900; background: var(--lime); border-color: var(--border); box-shadow: 3px 3px 0 var(--border); }
.wb-nav-item.wb-nav-cta { background: var(--lime-light); border-color: var(--border); }
.wb-nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex: none; transition: transform 0.12s ease; }
.wb-nav-icon svg { width: 24px; height: 24px; }
.wb-nav-icon .wb-avatar { border: 2px solid var(--border); }
.wb-nav-item.active .wb-nav-icon svg { stroke-width: 2.6; }
.wb-nav-menu { position: absolute; left: 12px; right: auto; top: auto; bottom: 74px; min-width: 220px; }

body.wb-has-nav { padding-left: 244px; }
body.wb-has-nav .wrap { padding-top: 34px; }
body.wb-has-nav .wb-appbar { left: calc(50% + 122px); }

/* Tablets: icons only */
@media (max-width: 1100px) {
  .wb-nav { width: 76px; align-items: center; padding: 22px 10px 18px; }
  .wb-nav-brand { padding: 6px 0 26px; }
  .wb-nav-list { align-items: center; }
  .wb-nav-label { display: none; }
  .wb-nav-item { justify-content: center; width: 50px; padding: 11px 0; }
  body.wb-has-nav { padding-left: 76px; }
  body.wb-has-nav .wb-appbar { left: calc(50% + 38px); }
}

/* Phones: a bar along the bottom */
@media (max-width: 640px) {
  .wb-nav { top: auto; right: 0; width: auto; height: 62px; flex-direction: row; padding: 6px 8px; border-right: none; border-top: 2.5px solid var(--border); }
  .wb-nav-brand { display: none; }
  .wb-nav-list { flex-direction: row; justify-content: space-around; gap: 2px; }
  .wb-nav-spacer { display: none; }
  .wb-nav-item { width: 46px; padding: 9px 0; }
  .wb-nav-item.active { box-shadow: 2px 2px 0 var(--border); }
  .wb-nav-menu { left: auto; right: 8px; bottom: 70px; }
  body.wb-has-nav { padding-left: 0; padding-bottom: 72px; }
  body.wb-has-nav .wrap { padding-top: 18px; }
  body.wb-has-nav .wb-appbar { left: 50%; bottom: 72px; }
  body.wb-has-nav .wb-toast { bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .wb-nav-item, .wb-nav-icon { transition: none; }
}

/* ── More menu items and the log-out confirm ── */
.wb-account-item.wb-more-item { display: flex; align-items: center; gap: 10px; width: 100%; font-family: inherit; text-align: left; background: none; border: none; cursor: pointer; }
.wb-menu-icon { display: inline-flex; flex: none; color: var(--muted); }
.wb-more-item:hover .wb-menu-icon, .wb-more-item:focus-visible .wb-menu-icon { color: var(--black); }
.wb-account-item.wb-more-item.danger, .wb-more-item.danger .wb-menu-icon { color: #dc2626; }
.wb-account-item.wb-more-item.danger:hover, .wb-account-item.wb-more-item.danger:focus-visible { background: #fee2e2; }
.wb-menu-divider { height: 1.5px; margin: 6px 4px; background: #e2e8f0; }
.wb-btn-danger { color: #fff; background: #dc2626; }
.wb-btn-danger:hover { background: #b91c1c; }
.wb-confirm-text { margin-bottom: 18px; font-size: 14px; font-weight: 600; }
.wb-confirm-actions { display: flex; justify-content: flex-end; gap: 10px; }
.wb-confirm-actions .wb-btn { min-width: 110px; height: 42px; }
