/* LISTAS GENERALES */
.lista-tic {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lista-tic li {
  position: relative;
  padding-left: 28px;
  line-height: 1.5;
  color: var(--color-text);
}

.lista-tic li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1.1rem;
}

/* CONTENEDOR GENÉRICO DE FILAS */
.list-rows-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px; /* Espaciado uniforme entre filas */
  width: 100%;
  margin: 20px 0;
}

/* COMPONENTE FILA (LIST-ROW) */
.list-row {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

/* Hover suave para interacción visual */
.list-row:hover {
  border-color: #d0d0d0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.list-row.list-row-flat:hover {
  border-color: #e0e0e0;
  box-shadow: none;
}

/* SUB-ELEMENTOS DE LA FILA */

/* Columna principal / Título */
.list-row-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto; /* Ocupa el espacio disponible */
}

.list-row-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333333;
}

.list-row-subtitle {
  font-size: 0.85rem;
  color: #666666;
}

/* Columnas de información/datos */
.list-row-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.list-row-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888888;
}

.list-row-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333333;
}

/* Columna de acciones (botones/enlaces) */
.list-row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.list-row-actions .btn-link {
  color: #d99a38;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.list-row-actions .btn-link:hover {
  text-decoration: underline;
}

/* VISTA ESCRITORIO (Alinear horizontalmente) */
@media (min-width: 600px) {
  .list-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
}
