/* Aseguramos que body y html aprovechen toda la altura */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Contenedor principal scrollable */
.m-container-scrollable {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
  background: #fff;
  -webkit-overflow-scrolling: touch; /* Para suavidad en iOS */
}

/* Buscador */
.m-busqueda {
  width: 100%;
  max-width: 250px;
  border-radius: 0.375rem;
}

/* Estilo general de ítems del menú */
.m-menu-item {
  font-size: 1rem;
  padding: 1rem 1.25rem;
  transition: background-color 0.2s, transform 0.2s;
  border: none;
}

.m-menu-item:hover {
  background-color: #f8f9fa;
  transform: translateX(4px);
  text-decoration: none;
}

.m-menu-item i.bi-chevron-right {
  color: #6c757d;
  transition: transform 0.2s;
}

.m-menu-item:hover i.bi-chevron-right {
  transform: translateX(2px);
}

/* Títulos de las secciones */
.m-titulo-seccion {
  font-size: 1.2rem;
  color: #2A3F54;
  border-bottom: 2px solid #eaecef;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Mensaje de no resultados */
.m-mensaje-no-resultados {
  margin-bottom: 20px;
  padding: 0.75rem;
}

/* Responsive spacing para pantallas grandes */
@media (min-width: 1200px) {
  .m-container-scrollable {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
