
/* ── Fix site wrapper background behind sidebar ── */
#page.site,
.site,
#page,
body {
  background-color: #0a1628 !important;
}
/* ── Top corner filler ── */
#dcw-nav-corner {
  position: fixed;
  top: 0;
  left: 0;
  width: 80px;
  height: 35px;
  background: #0a1628 !important;
  z-index: 999999;
  pointer-events: none;
}
.admin-bar #dcw-nav-corner {
  top: 32px;
}

/* ── DCW Sidebar Navigation – CRM Style ── */
#dcw-sidebar-nav {
  position: fixed;
  left: 0;
  top: 35px;
  height: calc(100vh - 35px);
  z-index: 99998;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1a1a2e;
  width: 80px;
  padding: 0 0 16px;
  box-shadow: 2px 0 12px rgba(0,0,0,0.4);
  overflow: hidden;
}
.admin-bar #dcw-sidebar-nav {
  top: calc(35px + 32px);
  height: calc(100vh - 35px - 32px);
}

/* ── Logo / Brand block at top ── */
.dcw-nav-brand {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 0 12px;
  margin-bottom: 6px;
  background: #c8900a;
  flex-shrink: 0;
}
.dcw-nav-brand svg { width: 32px; height: 32px; }
.dcw-nav-brand-label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── Nav Items ── */
.dcw-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 6px 10px;
  text-decoration: none;
  color: #8892a4;
  transition: color 0.15s, background 0.15s;
  cursor: pointer;
  gap: 5px;
  border-left: 3px solid transparent;
}
.dcw-nav-item:hover { color: #ffffff; background: rgba(255,255,255,0.06); text-decoration: none; }
.dcw-nav-item.active { color: #f5c842; background: rgba(200,144,10,0.15); border-left: 3px solid #c8900a; }
.dcw-nav-icon { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dcw-nav-icon svg { width: 24px; height: 24px; transition: transform 0.2s; }
.dcw-nav-item:hover .dcw-nav-icon svg, .dcw-nav-item.active .dcw-nav-icon svg { transform: scale(1.1); }
.dcw-nav-label { font-family: 'Inter', -apple-system, sans-serif; font-size: 10px; font-weight: 600; text-align: center; white-space: normal; max-width: 68px; line-height: 1.2; }
.dcw-nav-tooltip {
  position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  background: #0c1220; border: 1px solid rgba(200,144,10,0.35); color: #e8d090;
  font-family: 'Inter', -apple-system, sans-serif; font-size: 12px; font-weight: 500;
  white-space: nowrap; padding: 6px 12px; border-radius: 8px; pointer-events: none;
  opacity: 0; transition: opacity 0.15s; box-shadow: 4px 4px 16px rgba(0,0,0,0.4); z-index: 100000;
}
.dcw-nav-tooltip::before { content: ''; position: absolute; left: -5px; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-right: 5px solid rgba(200,144,10,0.35); }
.dcw-nav-item:hover .dcw-nav-tooltip { opacity: 1; }
body { margin-left: 80px !important; transition: margin-left 0.3s; }
@media (max-width: 768px) { #dcw-sidebar-nav, #dcw-nav-corner { display: none; } body { margin-left: 0 !important; } }
