/* Sidebar Institucional - estilos */
.institution-sidebar {
  position: sticky;
  top: 150px; /* separa del header fijo */
}

.inst-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.inst-card-header {
  font-weight: 600;
  padding: 12px 16px;
}

.inst-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.inst-item + .inst-item { border-top: 1px solid #f0f0f0; }

.inst-link {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  background: #f7f9fb; /* gris muy claro como en el ejemplo */
  transition: background .15s ease, color .15s ease;
}

.inst-item.active .inst-link {
  background: #e7f2ff; /* azul muy claro para activo */
  color: var(--color-primary-600);
  font-weight: 600;
}

.inst-link:hover { background: #eef3f8; color: #0b5ed7; }

.inst-link.disabled {
  pointer-events: none;
  color: #9aa1a9;
  background: #f7f9fb;
}

/* Responsivo: el sidebar arriba en móvil */
@media (max-width: 991.98px) {
  .institution-sidebar { position: static; top: auto; margin-bottom: 16px; }
}
