/* ==========================
   ICONOS
========================== */

.icon {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.icon:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

.icon.flaticon-reload {
  width: 22px;
  cursor: pointer;
}

.icon.flaticon-descarga {
  width: 18px;
  cursor: pointer;
}

.icon.flaticon-descargaA {
  width: 25px;
  cursor: pointer;
}


/* ==========================
   BOTÓN RECARGAR
========================== */

#recargarTabla {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  margin-bottom: 20px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  cursor: pointer;
  transition: all 0.25s ease;
}

#recargarTabla:hover {
  background-color: #e9ecef;
  border-color: #ced4da;
  transform: translateY(-1px);
}


/* ==========================
   BOTONES DE ACCIÓN
========================== */

.descargar {
  border: none;
  background: transparent;
  cursor: pointer;
}

.btn-escoger {
  padding: 6px 12px;
  background-color: #198754;
  color: #ffffff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-escoger:hover {
  background-color: #157347;
  transform: translateY(-1px);
}

.eliminarLista {
  display: inline-block;
  padding: 6px 14px;
  background-color: #dc3545;
  color: #ffffff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.eliminarLista:hover {
  background-color: #bb2d3b;
  transform: translateY(-1px);
}


/* ==========================
   TABLA
========================== */

table {
  border-collapse: separate;
  border-spacing: 0;
}

td,
th {
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
}

th {
  font-weight: 600;
  background-color: #f8f9fa;
  color: #495057;
}


/* ==========================
   PRODUCTOS (BADGES)
========================== */

.productos-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.badge-producto {
  background-color: #e9f2ff;
  color: #0d6efd;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 14px;
  white-space: nowrap;
}

.badge-archivo {
  background-color: #fff3cd;
  color: #856404;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 14px;
}


/* ==========================
   INPUT / COMENTARIOS
========================== */

#comentario {
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ced4da;
  resize: vertical;
}

#comentario:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.15);
}