/* ============================================================================================
   MENU LATERAL (dentro de .sidebar, definido en style.css)
   ============================================================================================ */
.men_sidebar {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  background: var(--surface);
  color: var(--text);
  padding-bottom: 12px;
}

.men_item {
  padding: 11px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: background-color .2s var(--ease);
}

.men_item:hover {
  background: var(--surface-alt);
}

.men_label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}

.men_label i {
  font-size: 16px;
  min-width: 18px;
  text-align: center;
  color: var(--text-muted);
}

.men_item.active > .men_label i {
  color: var(--primary);
}

.men_label h3, .men_label h4 {
  font-size: inherit;
  font-weight: 500;
}

.men_arrow {
  color: var(--text-muted);
  transition: transform .25s var(--ease);
}

.men_item.active .men_arrow {
  transform: rotate(90deg);
  color: var(--primary);
}

.men_item.active {
  background-color: var(--primary-soft);
  border-left: 3px solid var(--primary);
}

.men_submenu {
  display: none;
  flex-direction: column;
  padding-left: 14px;
  background: var(--surface-alt);
}

.men_item.active + .men_submenu {
  display: flex;
}

/* Subniveles anidados */
.men_submenu .men_submenu {
  padding-left: 14px;
  background: var(--bg);
}

.men_submenu .men_item {
  border-bottom: 1px solid var(--border);
}