/* hpc- prefix: column-specific styles, isolated from site CSS */

/* ===== Data table ===== */
.hpc-data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95em;
}
.hpc-data-table th,
.hpc-data-table td {
  border: 1px solid #ddd;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.hpc-data-table.hpc-size thead th {
  background: #c0392b;
  color: #fff;
}
.hpc-data-table.hpc-print thead th {
  background: #27ae60;
  color: #fff;
}
.hpc-data-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

/* ===== Compare table ===== */
.hpc-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}
.hpc-compare-table th,
.hpc-compare-table td {
  border: 1px solid #ddd;
  padding: 12px 16px;
  text-align: center;
  vertical-align: top;
}
.hpc-compare-table thead th {
  background: #444;
  color: #fff;
  font-weight: bold;
}
.hpc-compare-table thead th:nth-child(2) {
  background: #c0392b;
}
.hpc-compare-table thead th:nth-child(3) {
  background: #2980b9;
}
.hpc-compare-table tbody th {
  background: #f5f5f5;
  font-weight: normal;
  text-align: left;
}

/* ===== Choice wrap ===== */
.hpc-choice-wrap {
  display: flex;
  gap: 16px;
  margin: 1.5em 0;
  flex-wrap: wrap;
}
.hpc-choice-item {
  flex: 1;
  min-width: 200px;
  border: 2px solid #ddd;
  border-radius: 6px;
  padding: 14px 18px;
}
.hpc-choice-item h4 {
  margin: 0 0 8px;
  font-size: 1em;
  color: #c0392b;
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
}
.hpc-choice-item p {
  margin: 0;
  font-size: 0.95em;
}

/* ===== Warning box ===== */
.hpc-warning-box {
  background: #fffbe6;
  border-left: 4px solid #f0a500;
  padding: 14px 18px;
  margin: 1.5em 0;
  border-radius: 0 4px 4px 0;
}
.hpc-warning-box p {
  margin: 0;
}

/* ===== Flow list ===== */
.hpc-flow-list {
  list-style: none;
  padding: 0;
  margin: 1.5em 0;
  counter-reset: hpc-flow;
}
.hpc-flow-list > li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  counter-increment: hpc-flow;
}
.hpc-flow-list > li::before {
  content: counter(hpc-flow);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  background: #c0392b;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.9em;
  flex-shrink: 0;
  margin-top: 2px;
}
.hpc-flow-list .hpc-flow-title {
  font-weight: bold;
  margin-bottom: 4px;
}
.hpc-flow-list p {
  margin: 0;
  font-size: 0.95em;
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
  .hpc-choice-wrap {
    flex-direction: column;
  }
  .hpc-data-table,
  .hpc-compare-table {
    font-size: 0.85em;
  }
  .hpc-data-table th,
  .hpc-data-table td,
  .hpc-compare-table th,
  .hpc-compare-table td {
    padding: 8px 10px;
  }
}
