.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.page-header {
  padding: 40px 0 0;
}
.page-header .section-label {
  margin-bottom: 12px;
}
.page-header .section-title {
  margin-bottom: 8px;
}
.page-lead {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 600px;
}
.form-error {
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: 4px;
  display: none;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--color-error);
}
.form-group.has-error .form-error {
  display: block;
}
.form-section {
  padding: 40px 0 80px;
}
/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  background: var(--color-white);
  border-radius: calc(var(--radius) * 2);
  padding: 40px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.modal-lead {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.confirm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-bottom: 28px;
}
.confirm-table th,
.confirm-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}
.confirm-table th {
  width: 36%;
  color: var(--color-text-muted);
  font-weight: 600;
  background: var(--color-bg-alt);
  white-space: nowrap;
}
.confirm-table td {
  color: var(--color-text);
  word-break: break-all;
  white-space: pre-wrap;
}
.confirm-table tr:last-child th,
.confirm-table tr:last-child td { border-bottom: none; }
.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
@media (max-width: 680px) {
  .modal-box { padding: 28px 20px; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; text-align: center; }
  .confirm-table th { width: 42%; font-size: 0.82rem; }
}
