.insureiq-wizard {
  max-width: 640px;
  margin: 20px auto;
  padding: 20px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.insureiq-wizard-header h2 {
  margin-top: 0;
}

.insureiq-progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  margin-top: 12px;
}

.insureiq-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  transition: width 0.25s ease;
}

.insureiq-step {
  margin-top: 20px;
}

.insureiq-step--hidden {
  display: none;
}

.insureiq-chat-bubble {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 14px;
  margin-bottom: 12px;
  font-size: 14px;
}

.insureiq-chat-bubble--bot {
  background: #eff6ff;
  color: #1e3a8a;
}

.insureiq-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.insureiq-option,
.insureiq-next,
.insureiq-back,
.insureiq-submit {
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.05s ease;
}

.insureiq-option:hover,
.insureiq-next:hover,
.insureiq-back:hover,
.insureiq-submit:hover {
  background: #f3f4f6;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.insureiq-submit {
  background: #0ea5e9;
  color: #ffffff;
  border-color: #0ea5e9;
}

.insureiq-submit:hover {
  background: #0284c7;
}

.insureiq-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 14px;
}

.insureiq-field input,
.insureiq-field select {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.insureiq-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.insureiq-conditional--hidden {
  display: none;
}

/* Quote cards */
.insureiq-quote-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 12px;
}
.insureiq-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #f9fafb;
}
.insureiq-card-header {
  background: #eff6ff;
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
}
.insureiq-card-body {
  padding: 12px 14px;
  font-size: 0.9rem;
}
.insureiq-card-footer {
  padding: 0 14px 12px;
  text-align: right;
}
.insureiq-btn {
  background: #0ea5e9;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
}
.insureiq-btn:hover { background: #0284c7; }

.insureiq-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75em;
  font-weight: 600;
  text-transform: uppercase;
}
.insureiq-badge--best_value {
  background: #dcfce7;
  color: #166534;
}
.insureiq-badge--most_popular {
  background: #fef3c7;
  color: #92400e;
}
.insureiq-badge--lowest_deductible {
  background: #dbeafe;
  color: #1e40af;
}

.insureiq-ai-advice {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: 10px 12px;
  margin-top: 12px;
  font-size: 0.95rem;
}
