/* Quote form — steps, choice buttons, toggle cards, progress */

.form-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* Progress */
.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--grey500);
  font-weight: 600;
}
.progress-header span.pct { color: var(--cyan); }

.progress-bar-track {
  height: 3px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}
.progress-bar-fill {
  height: 100%;
  background: var(--cyan);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.step-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
}
.step-dots .dot {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: var(--border2);
  transition: background 0.2s ease;
}
.step-dots .dot.active { background: var(--cyan); }
.step-dots .dot.done { background: var(--cyan-dark); }

/* Step panels */
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.25s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.4px;
  margin: 0 0 6px;
}
.step-subheading {
  font-size: 14px;
  color: var(--grey500);
  margin: 0 0 28px;
}

.field-group { margin-bottom: 22px; }

/* Choice buttons — single-select pills */
.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice-btn {
  background: var(--surface);
  border: 1.5px solid var(--border2);
  color: var(--grey300);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.choice-btn:hover { border-color: var(--grey500); }
.choice-btn.selected {
  background: rgba(0,188,212,.1);
  border-color: var(--cyan);
  color: var(--white);
}
.choice-btn.selected::before { content: '✓ '; color: var(--cyan); }

/* Toggle cards — multi or single select */
.toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.toggle-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.toggle-card:hover { border-color: var(--grey500); }
.toggle-card.selected {
  background: rgba(0,188,212,.08);
  border-color: var(--cyan);
}
.toggle-card .check {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--cyan);
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.toggle-card.selected .check { opacity: 1; }
.toggle-card .tc-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.toggle-card .tc-price {
  font-size: 13px;
  color: var(--cyan);
  font-weight: 600;
}
.toggle-card .tc-desc {
  font-size: 12.5px;
  color: var(--grey500);
  margin-top: 6px;
}

/* Step nav buttons */
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  gap: 12px;
}
.step-nav .spacer { flex: 1; }

/* Terms accordion */
.terms-accordion {
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-sm);
  margin: 24px 0 16px;
  overflow: hidden;
}
.terms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  background: var(--surface);
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
}
.terms-header .chevron {
  transition: transform 0.2s ease;
  color: var(--grey500);
}
.terms-accordion.open .terms-header .chevron { transform: rotate(180deg); }
.terms-body {
  display: none;
  padding: 16px;
  font-size: 12.5px;
  color: var(--grey500);
  line-height: 1.7;
  max-height: 320px;
  overflow-y: auto;
  border-top: 1px solid var(--border2);
}
.terms-accordion.open .terms-body { display: block; }
.terms-body h4 {
  color: var(--grey300);
  font-size: 12.5px;
  margin: 14px 0 4px;
}
.terms-body h4:first-child { margin-top: 0; }

.terms-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--grey500);
  margin-bottom: 24px;
}
.terms-checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--cyan);
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .toggle-grid { grid-template-columns: 1fr; }
  .step-nav { flex-wrap: wrap; }
}
