/* Pigmalión Fitness V28: simplificación de navegación en escritorio y móvil. */
#adminContent > nav { display: none !important; }

#listview .list-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
#listview .list-actions button { white-space: normal; }

#adminSidebar .sidebar-config,
#adminSidebar .sidebar-contents { width: 100%; min-width: 0; }
#adminSidebar .sidebar-config > summary { cursor: pointer; list-style: none; }
#adminSidebar .sidebar-config > summary::-webkit-details-marker,
#adminSidebar .sidebar-contents > summary::-webkit-details-marker { display: none; }
#adminSidebar .side-parent-label { flex: 1; }
#adminSidebar .side-chevron { margin-left: auto; font-size: 17px; transition: transform .15s ease; }
#adminSidebar .sidebar-config[open] > summary .side-chevron,
#adminSidebar .sidebar-contents[open] > summary .side-chevron { transform: rotate(180deg); }

#adminSidebar .side-subitem {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
  background: transparent !important;
  color: #d5e3f0 !important;
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  padding: 11px 16px 11px 55px !important;
  min-height: 43px;
  cursor: pointer;
}
#adminSidebar .side-subitem .side-icon { display: none; }
#adminSidebar .side-subitem:hover,
#adminSidebar .side-subitem:focus-visible,
#adminSidebar .side-subitem.active { background: #3d4b5e !important; color: #fff !important; }
#adminSidebar .side-subheading {
  cursor: pointer;
  justify-content: space-between;
  list-style: none;
}
#adminSidebar .side-content-link { padding-left: 74px !important; font-size: 13px; }
#adminSidebar .side-closing-link { padding-bottom: 15px !important; }
#adminSidebar .sidebar-config[open] { background: #233449; }

@media (max-width: 760px) {
  #listview .list-actions { justify-content: flex-start; width: 100%; }
  #listview .list-actions button { flex: 1 1 160px; min-height: 48px; }
  #adminSidebar .side-subitem { min-height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  #adminSidebar .side-chevron { transition: none; }
}
