/* ac/price-estimator — styled with the SpectrumCodes design tokens defined in spectrum.css */

.ac-estimator .ac-est-wrap {
  max-width: 620px;
}

.ac-est-progress {
  height: 4px;
  background: var(--surface);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 24px;
}

.ac-est-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  transition: width 0.3s ease;
}

.ac-est-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px;
}

.ac-est-step { display: none; }

.ac-est-q {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.4;
}

.ac-est-help {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
}

/* Intro / start screen */
.ac-est-intro {
  text-align: center;
  padding: 12px 0;
}

.ac-est-intro-q {
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.ac-est-intro-help {
  font-size: 0.9rem;
  max-width: 440px;
  margin: 0 auto 26px;
}

.ac-est-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.ac-est-opt {
  text-align: left;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.ac-est-opt:hover { border-color: rgba(6,182,212,0.35); background: var(--surface2); }

.ac-est-opt-active {
  border-color: var(--cyan);
  background: var(--cyan-dim);
  color: var(--text);
}

.ac-est-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.ac-est-input {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

html[dir="rtl"] .ac-est-input[type="tel"],
html[dir="rtl"] .ac-est-input[type="email"] {
  direction: rtl;
  text-align: right;
}

.ac-est-input:-webkit-autofill,
.ac-est-input:-webkit-autofill:hover,
.ac-est-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0px 1000px var(--bg-2) inset;
  box-shadow: 0 0 0px 1000px var(--bg-2) inset;
  caret-color: var(--text);
  transition: background-color 9999s ease-in-out 0s;
}

.ac-est-input:focus {
  outline: none;
  border-color: var(--cyan);
}

.ac-est-input::placeholder { color: var(--subtle); }

.ac-est-error {
  color: var(--pink);
  font-size: 0.82rem;
  margin-top: 12px;
  min-height: 1em;
}

.ac-est-nav {
  margin-top: 16px;
}

.ac-est-done {
  text-align: center;
  padding: 20px 0;
}

.ac-est-done-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--cyan-dim);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
}

.ac-est-done .ac-est-q { text-align: center; }
.ac-est-done .ac-est-help { text-align: center; }
.ac-est-done .ac-est-help a { color: var(--cyan); }

.ac-est-done-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

.ac-est-range {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 0 0 14px;
  line-height: 1.1;
}

.ac-est-extras {
  margin: 0 0 22px;
}

.ac-est-extra {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 2px 0;
}

.ac-est-extra strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 640px) {
  .ac-est-card { padding: 28px 22px; }
}
