/* Quote wizard styles */
.quote-wizard {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 1rem;
  padding: 20px 18px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--color-base-border);
}

.quote-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.quote-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--color-base-border);
  border-radius: 3px;
  overflow: hidden;
}
.quote-progress-fill {
  height: 100%;
  background: var(--color-line-500);
  width: 0;
  transition: width 0.3s ease;
}
.quote-progress-label {
  font-size: 13px;
  color: var(--color-ink-muted);
  font-weight: 600;
  min-width: 36px;
  text-align: right;
}

.quote-step { display: none; animation: quote-fadeIn 0.25s ease; }
.quote-step.active { display: block; }
@keyframes quote-fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.quote-step h3 {
  font-size: 20px;
  margin: 0 0 6px;
  text-align: center;
  line-height: 1.4;
  font-weight: 700;
  color: var(--color-ink);
}
.quote-hint {
  font-size: 13px;
  color: var(--color-ink-muted);
  margin: 0 0 18px;
  text-align: center;
}

.quote-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

.quote-card {
  background: #fff;
  border: 2px solid var(--color-base-border);
  border-radius: 10px;
  padding: 16px 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s, border-color 0.2s, background 0.2s;
  font-family: inherit;
  color: inherit;
  text-align: center;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.quote-card:hover { border-color: var(--color-line-500); }
.quote-card:active { transform: scale(0.97); }
.quote-card.selected {
  border-color: var(--color-line-500);
  background: #ecf9ef;
}

.quote-card-det { padding: 8px 8px 12px; }
.quote-card-det .img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-color: #f0f0f0;
  border-radius: 6px;
  margin-bottom: 8px;
}
.quote-card-det .level {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}
.quote-card-det .desc {
  font-size: 11px;
  color: var(--color-ink-muted);
  font-weight: 400;
  line-height: 1.3;
}
.quote-card-det[data-level="safe"]   .level { color: #4caf50; }
.quote-card-det[data-level="mild"]   .level { color: #ffc107; }
.quote-card-det[data-level="medium"] .level { color: #ff9800; }
.quote-card-det[data-level="severe"] .level { color: #f44336; }

.quote-field { display: block; margin-bottom: 18px; }
.quote-field span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-ink);
}
.quote-field input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-base-border);
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
  font-family: inherit;
  color: var(--color-ink);
}
.quote-field input:focus {
  outline: none;
  border-color: var(--color-line-500);
  box-shadow: 0 0 0 3px rgba(6,199,85,0.15);
}

.quote-btn-line {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--color-line-500);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s;
}
.quote-btn-line:hover:not(:disabled) { background: var(--color-line-600); }
.quote-btn-line:disabled { background: #aaa; cursor: not-allowed; }

.quote-note {
  font-size: 12px;
  color: var(--color-ink-muted);
  margin: 14px 0 0;
  text-align: center;
}

.quote-nav { margin-top: 20px; text-align: center; min-height: 32px; }
.quote-btn-back {
  background: transparent;
  border: 0;
  color: var(--color-ink-muted);
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
  font-family: inherit;
}
.quote-btn-back:hover { color: var(--color-ink); }

/* Done page */
.quote-done-card {
  max-width: 420px;
  margin: 40px auto;
  background: #fff;
  border-radius: 1rem;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--color-base-border);
  text-align: center;
}
.quote-done-card h1 {
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--color-ink);
  font-weight: 700;
}
.quote-done-card p {
  font-size: 14px;
  margin: 0 0 18px;
  color: var(--color-ink-muted);
}
.quote-btn-secondary {
  display: block;
  width: 100%;
  padding: 12px;
  background: #fff;
  color: var(--color-line-600);
  border: 2px solid var(--color-line-500);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  margin-top: 10px;
  font-family: inherit;
  cursor: pointer;
}
.quote-btn-secondary:hover { background: #ecf9ef; }

.quote-cta-emphasis{
  margin-top:20px;
  padding:14px 16px;
  background:var(--color-cream-warm);
  border:2px dashed var(--color-orange-500);
  border-radius:12px;
  color:var(--color-orange-700);
  font-size:15px;
  line-height:1.5;
  text-align:center;
}
.quote-cta-emphasis strong{
  color:var(--color-orange-600);
  font-size:16px;
}
