.lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lista-vacia {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  padding: 36px 20px;
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  margin: 0;
}

.lista-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.lista-item:hover {
  border-color: var(--accent-2);
  box-shadow: var(--shadow-hover);
}

.lista-item--clic {
  cursor: pointer;
}

.lista-item--clic:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
}

.lista-item-miniatura {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
  background: var(--accent-soft);
  border: 1px solid var(--border);
}

.lista-item-icono {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}

.lista-item-icono svg {
  width: 22px;
  height: 22px;
}

.lista-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 160px;
  flex: 1;
}

.lista-item-acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.lista-item-nombre {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lista-item-ubicacion {
  font-size: 12.5px;
  color: var(--text-muted);
}

.btn-primario {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn-primario:hover {
  opacity: 0.92;
}

.btn-primario:active {
  transform: scale(0.98);
}

.btn-editar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  flex: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.btn-editar svg {
  width: 15px;
  height: 15px;
}

.btn-editar:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.secciones-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.btn-seccion {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.btn-seccion svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
  flex: none;
}

.btn-seccion:hover {
  border-color: var(--accent-2);
  background: var(--accent-soft);
}
