/* ========================================================================= */
/*  FEEDOMETER 2.1 — FLOATING NAVIGATION DRAWER (#97d9ff / BLACK FONT)       */
/*  Light sky blue (#97d9ff), non-bold clean black typography,               */
/*  floating rounded corners, and transparent sign out button.               */
/* ========================================================================= */

.feedo-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 99990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.feedo-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Floating Card Drawer (Rounded corners, unclipped, floating island) */
.feedo-nav-drawer {
  position: fixed;
  top: 14px;
  right: 14px;
  bottom: 14px;
  height: calc(100vh - 28px);
  width: 320px;
  max-width: calc(100vw - 28px);
  background: #97d9ff;
  background: linear-gradient(180deg, #a8e0ff 0%, #97d9ff 50%, #83d1fc 100%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  box-shadow: -8px 12px 36px rgba(12, 74, 110, 0.18);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  transform: translateX(calc(100% + 28px));
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Plus Jakarta Sans", sans-serif;
  color: #000000;
  font-weight: 400;
}

.feedo-nav-drawer.open {
  transform: translateX(0);
}

/* ── DRAWER HEADER ── */
.nav-drawer-header {
  padding: 0.85rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nav-drawer-top-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.nav-drawer-top-spacer {
  flex: 1;
  min-width: 0;
}

.nav-drawer-top-right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.nav-drawer-tabs {
  display: flex;
  width: 100%;
  flex: none;
  min-width: 0;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 3px;
  border-radius: 9px;
  gap: 2px;
}

.nav-drawer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-drawer-brand-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-drawer-brand-icon-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
}

.nav-drawer-brand-titles {
  display: flex;
  flex-direction: column;
}

.nav-drawer-brand-name {
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #000000;
  line-height: 1.15;
}

.nav-drawer-brand-sub {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.25;
  margin-top: 1px;
}

.nav-drawer-brand-right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-drawer-live-pill {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.68rem;
  font-weight: 400;
  color: #000000;
  line-height: 1.15;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-drawer-close-btn {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #000000;
  font-size: 0.95rem;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.nav-drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.65);
}

/* User Identity Bar */
.nav-drawer-user-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9px;
  padding: 0.35rem 0.6rem;
}

.nav-drawer-user-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-drawer-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 0.9rem;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-drawer-avatar--lg {
  width: 44px;
  height: 44px;
  font-size: 1.05rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.75);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-drawer-avatar--lg:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
  transform: translateY(-1px);
}

.nav-drawer-email {
  font-size: 0.82rem;
  font-weight: 400;
  color: #000000;
  max-width: 190px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 3-Pillar Tabs: Navigator | Favorites | Recents */
.nav-drawer-tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.4rem 0.45rem;
  font-size: 0.76rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.65);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.nav-drawer-tab-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #000000;
}

.nav-drawer-tab-btn.active {
  background: rgba(255, 255, 255, 0.85);
  color: #000000;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Drawer Body & Breadcrumb Area */
.nav-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.6rem 0.85rem;
  display: flex;
  flex-direction: column;
}

.nav-drawer-body::-webkit-scrollbar {
  width: 4px;
}
.nav-drawer-body::-webkit-scrollbar-track {
  background: transparent;
}
.nav-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 99px;
}

.nav-breadcrumb-bar {
  padding: 0.3rem 0.4rem 0.5rem 0.4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-back-btn {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.45);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 400;
  cursor: pointer;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.nav-back-btn:hover {
  background: rgba(255, 255, 255, 0.65);
}

.nav-current-title {
  font-size: 0.76rem;
  font-weight: 400;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section Header (DISCOVER, WORKSPACES, ALERTS) */
.nav-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.4rem 0.3rem 0.4rem;
  margin-top: 0.2rem;
}

.nav-section-title {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
}

.nav-section-meta {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 400;
  color: #000000;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.nav-section-meta.meta-blue {
  color: #000000;
  font-family: inherit;
  cursor: pointer;
}

/* Menu Items */
.nav-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  margin: 1.5px 0;
  border-radius: 9px;
  text-decoration: none;
  color: #000000;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  border: 1px solid transparent;
}

.nav-menu-item:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #000000;
}

/* Active Highlighted Capsule (e.g. Trending) */
.nav-menu-item.active {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  color: #000000;
}

.nav-item-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-item-icon {
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-item-title {
  font-weight: 400;
  font-size: 0.9rem;
  color: #000000;
}

.nav-item-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Badges (Non-bold, sleek pills) */
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5px 8px;
  min-width: 28px;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.7);
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-badge.badge-new {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #064e3b;
  font-size: 0.74rem;
  font-weight: 400;
  padding: 1.5px 7px;
  border-radius: 6px;
}

.nav-badge.badge-alert {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #78350f;
  font-size: 0.76rem;
  font-weight: 400;
  padding: 1.5px 8px;
  border-radius: 999px;
}

.nav-item-arrow {
  color: rgba(0, 0, 0, 0.35);
  font-size: 0.82rem;
}

/* Pin to favorites icon */
.nav-fav-pin-btn {
  background: none;
  border: none;
  color: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  padding: 0.2rem;
  font-size: 0.9rem;
  transition: all 0.15s ease;
}

.nav-fav-pin-btn:hover, .nav-fav-pin-btn.pinned {
  color: #d97706;
}

/* Drawer Footer with Transparent Sign Out button */
.nav-drawer-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-drawer-signout-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: transparent;
  color: #000000;
  font-size: 0.84rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  box-shadow: none;
}

.nav-drawer-signout-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.3);
  color: #000000;
  transform: translateY(-1px);
  box-shadow: none;
}

.nav-drawer-signout-btn:active {
  transform: translateY(0);
}

.nav-signout-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.nav-signout-icon--3d {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(145deg, #ffffff 0%, #e2e8f0 55%, #cbd5e1 100%);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f172a;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -1px 0 rgba(15, 23, 42, 0.08) inset,
    0 4px 10px rgba(15, 23, 42, 0.18),
    0 1px 2px rgba(15, 23, 42, 0.12);
  transform: translateZ(0);
}

.nav-drawer-signout-btn:hover .nav-signout-icon--3d {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(15, 23, 42, 0.1) inset,
    0 6px 14px rgba(15, 23, 42, 0.22),
    0 2px 4px rgba(15, 23, 42, 0.14);
  transform: translateY(-1px);
}

.nav-drawer-signout-btn:active .nav-signout-icon--3d {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 2px 4px rgba(15, 23, 42, 0.16);
  transform: translateY(0);
}

.nav-drawer-version-tag {
  font-size: 0.72rem;
  color: rgba(0, 0, 0, 0.55);
  font-weight: 400;
}
