
/* =====================================================
   SIDEBAR CORE CSS — PHASE 3 (CANONICAL VISUALS)
   ===================================================== */

:root {
  --sidebar-width: 60px;
  --sidebar-bg: #0f172a;
  --sidebar-icon: #94a3b8;
  --sidebar-icon-active: #38bdf8;
  --sidebar-tooltip-bg: #020617;
  --sidebar-tooltip-text: #e5e7eb;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  background: linear-gradient(180deg, #020617, #020617 60%, #020617);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 16px;
  z-index: 100;
}

.sidebar-icon {
  position: relative;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sidebar-icon:hover,
.sidebar-icon.active {
  color: var(--sidebar-icon-active);
}

.sidebar-icon i,
.sidebar-icon svg {
  font-size: 20px;
  color: var(--sidebar-icon);
}

/* === TOOLTIP / LABEL === */
.sidebar-icon .icon-label {
  position: fixed;
  left: calc(var(--sidebar-width) + 12px);
  background: var(--sidebar-tooltip-bg);
  color: var(--sidebar-tooltip-text);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 0.15s ease;
}

.sidebar-icon:hover .icon-label {
  opacity: 1;
}

/* === PANELS VISUAL ALIGNMENT === */
.sidebar-panel {
  left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
}
