/* === Estilos PWA - Historial de Checklists === */

.pg-container {
  padding: 1.2rem;
  display: flex;
  justify-content: center;
}

.checklist-wrapper {
  width: 100%;
  max-width: 900px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow-x: auto;
  padding: 1.5rem;
}

.pg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.pg-table th {
  background: #21409A;
  color: #fff;
  text-align: left;
  padding: 10px 8px;
  font-weight: 600;
  position: sticky;
  top: 0;
}

.pg-table td {
  padding: 8px;
  border-bottom: 1px solid #eaeaea;
  vertical-align: middle;
}

.pg-table tr:nth-child(even) {
  background-color: #f8f8f8;
}

.pg-table tr:hover {
  background-color: #eef2ff;
}

.btn {
  border: none;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.btn-primary {
  background-color: #6D4BAF;
  color: white;
}

.btn-primary:hover {
  background-color: #583b8c;
}

.btn-secondary {
  background-color: #d9d9d9;
  color: #333;
}

.btn-secondary:hover {
  background-color: #c7c7c7;
}

/* Scrollbar fino */
.checklist-wrapper::-webkit-scrollbar {
  height: 8px;
}
.checklist-wrapper::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  border-radius: 4px;
}

.pdf-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  padding: 4px 6px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.pdf-btn:hover {
  transform: scale(1.25);
  color: #d32f2f; /* rojo tipo Adobe PDF */
}



