/* ========================================
   SIDEBAR NAVIGATION
   ======================================== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(16px);
  border-right: 1px solid var(--border);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 16px;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-brand {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  text-decoration: none;
  width: 100%;
  text-align: center;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  width: 100%;
  padding: 0 6px;
}

.sidebar-nav .nav-item,
.sidebar-bottom .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  padding: 10px 0;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 9px;
  cursor: pointer;
  transition: all 0.2s;
  background: none;
  border: none;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.sidebar-nav .nav-item i,
.sidebar-bottom .nav-item i {
  font-size: 20px;
  transition: transform 0.2s;
}

.sidebar-nav .nav-item span,
.sidebar-bottom .nav-item span {
  font-weight: 500;
  letter-spacing: 0.3px;
  opacity: 0.7;
}

.sidebar-nav .nav-item:hover,
.sidebar-bottom .nav-item:hover {
  color: var(--text);
  background: var(--surface);
}

.sidebar-nav .nav-item.active,
.sidebar-bottom .nav-item.active {
  color: var(--primary);
}

.sidebar-nav .nav-item.active i,
.sidebar-bottom .nav-item.active i {
  transform: scale(1.05);
}

.sidebar-nav .nav-item .tooltip,
.sidebar-bottom .nav-item .tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  font-weight: 500;
}

.sidebar-nav .nav-item:hover .tooltip,
.sidebar-bottom .nav-item:hover .tooltip {
  opacity: 1;
}

.sidebar-divider {
  width: 24px;
  height: 1px;
  background: var(--border);
  margin: 8px 0;
  flex-shrink: 0;
}

.sidebar-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 0 6px;
  flex-shrink: 0;
}

.sidebar-bottom .nav-item i {
  font-size: 18px;
}

/* ========================================
   HEADER PRIVACY BADGE
   ======================================== */
.header-privacy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.12);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  flex-shrink: 0;
  margin-right: 8px;
}

.header-privacy:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.2);
  transform: scale(1.02);
}

.header-privacy i {
  font-size: 12px;
}

.header-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.header-btn:hover {
  background: var(--surface-hover);
  color: var(--primary);
  border-color: var(--primary);
  transform: scale(1.05);
}