/* Container e centralização */
#hcq-container {
  max-width: 800px;
  margin: 40px auto;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  text-align: center;
}

/* Drag & Drop */
#hcq-drop {
  border: 2px dashed #007bff;
  border-radius: 6px;
  padding: 40px;
  color: #555;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
  margin-bottom: 16px;
}
#hcq-drop.hover {
  background-color: rgba(0, 123, 255, 0.05);
  border-color: #0056b3;
}

/* Tabela */
#hcq-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 6px;
  overflow: hidden;
  margin: 0 auto 16px;
}
#hcq-table th,
#hcq-table td {
  padding: 12px 16px;
  font-size: 14px;
}
#hcq-table th {
  background-color: #007bff;
  color: #fff;
  font-weight: 400;
  text-align: left;
}
#hcq-table tr:nth-child(even) td {
  background-color: #f9f9f9;
}
#hcq-table tr:hover td {
  background-color: #e9f5ff;
}

/* Pills de status */
.hcq-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}
.hcq-pending    { background: #ddd;      color: #555; }
.hcq-processing { background: #ffc107;   color: #333; }
.hcq-completed  { background: #28a745;   color: #fff; }
.hcq-error      { background: #dc3545;   color: #fff; }

/* Botões grandes, sempre azuis com texto branco */
.hcq-btn {
  display: inline-block;
  margin: 8px;
  padding: 14px 36px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, transform .1s;
}
.hcq-btn:hover:not(:disabled) {
  background-color: #0056b3;
}
.hcq-btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(13,110,253,0.5);
}
.hcq-btn:disabled {
  background-color: #aaa;
  cursor: not-allowed;
}

/* Ícones SVG */
.hcq-icon {
  width: 20px;
  height: 20px;
  fill: #dc3545;
  cursor: pointer;
  transition: transform .2s;
  vertical-align: middle;
}
.hcq-icon:hover {
  transform: scale(1.3);
}

/* Spinner “dual ring” */
.hcq-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 4px solid rgba(0,123,255,0.2);
  border-top-color: #007bff;
  border-radius: 50%;
  animation: hcq-spin .8s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes hcq-spin {
  to { transform: rotate(360deg); }
}

/* Status geral */
#hcq-status {
  margin-top: 12px;
  font-size: 14px;
  color: #dc3545;
}
