/* Styling for the parts the original had no equivalent of: validation
   feedback, the honeypot, and the wizard's review panel (which the original
   built with inline styles - reproduced here with the same values). */

/* Honeypot: hidden from people, reachable by bots. Not display:none, since
   some bots skip those fields. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-error {
  display: block;
  margin-top: 8px;
  color: #b42318;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
}

.input[aria-invalid="true"],
.textarea[aria-invalid="true"],
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #d92d20;
  background: #fffbfa;
}

.form-alert {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 26px;
  padding: 20px 22px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

.form-alert svg { flex-shrink: 0; margin-top: 2px; }

.form-alert-success {
  background: #edf8f1;
  border: 1px solid #b4dfc3;
  color: #0e5b29;
}

.form-alert-error {
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
}

/* Wizard panels. Hidden only once JS takes over; without JS every step shows. */
.step-panel {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.step-panel + .step-panel { margin-top: 54px; }
.step-panel[hidden] { display: none; }

.step.done .step-circle {
  background: linear-gradient(135deg, #16a34a, #84cc16);
  color: #fff;
}

/* Review panel - matches the original's inline styles exactly. */
.review-panel {
  margin-top: 34px;
  padding: 34px;
  border-radius: 28px;
  background: #f8fbf9;
  border: 1px solid #e6eee8;
}

.review-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e6eee8;
}

.review-row-last { border-bottom: none; }

.review-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #617067;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.review-value {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #152118;
  text-align: right;
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .review-panel { padding: 24px; }
  .review-row { flex-direction: column; gap: 6px; }
  .review-value { text-align: left; }
}
