/* TrueQuote auto funnel — styles ported from the TrueQuote React app (App.css, Header.css, ProgressBar.css, Footer.css) */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.5;
}

button,
input {
  font-family: inherit;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}

.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  background-color: #ffffff;
}

/* Header */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0;
}

.header-content {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 10px;
  text-align: center;
}

.logo-container {
  margin-bottom: 10px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  height: 35px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
}

.tagline {
  font-size: 16px;
  color: #000000;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

/* Progress bar */
.progress-container {
  padding: 20px 0 0 0;
}

.progress-content {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
}

.progress-bar-wrapper {
  margin-bottom: 16px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  height: 100%;
  background-color: #6FD0BD;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: row-reverse;
}

.progress-text {
  font-size: 16px;
  font-weight: 600;
  color: #3ACE76;
}

.progress-icons {
  display: flex;
  gap: 8px;
}

.previous-icon,
.close-icon {
  width: 24px;
  height: 24px;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  background-color: white;
  color: #6b7280;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.previous-icon:hover,
.close-icon:hover {
  border-color: #467FCE;
  color: #467FCE;
}

/* Steps */
.step-container {
  width: 100%;
  max-width: 480px;
  padding-bottom: 40px;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.step-title {
  font-size: 24px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 15px;
  text-align: left;
}

.step-header {
  margin-bottom: 15px;
}

.step-year {
  font-size: 16px;
  font-weight: 400;
  color: #6b7280;
  margin-bottom: 4px;
  text-align: left;
}

.options-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.option-button {
  width: 100%;
  padding: 24px;
  border: 2px solid #e4f2f9;
  border-radius: 8px;
  background-color: #e4f2f9;
  color: #467FCE;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 6px;
  text-align: center;
}

.option-button:hover {
  border-color: #467FCE;
  background-color: #f0f9ff;
}

.option-button.selected {
  border-color: #467FCE;
  background-color: #467FCE;
  color: white;
}

.more-years {
  margin-top: 8px;
}

.more-years summary {
  cursor: pointer;
  color: #467FCE;
  font-weight: 600;
  padding: 12px 0;
}

.primary-button {
  width: 100%;
  padding: 24px;
  border: 2px solid #467FCE;
  border-radius: 8px;
  background-color: transparent;
  color: #467FCE;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 6px;
}

.primary-button:hover {
  background-color: #467FCE;
  color: white;
}

.primary-button:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  border-color: #e5e7eb;
  cursor: not-allowed;
}

.form-input {
  width: 100%;
  padding: 24px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  background-color: #f8f9fa;
  color: #374151;
}

.form-input:focus {
  outline: none;
  border-color: #467FCE;
  background-color: white;
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-input.error {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.form-section {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.error-message {
  color: #dc2626;
  font-size: 14px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.error-message::before {
  content: "\26A0\FE0F";
  font-size: 12px;
}

.form-hint {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
}

/* Vehicle make selection with logos */
.vehicle-make-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 20px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background-color: #f8f9fa;
  color: #374151;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 12px;
  text-align: left;
}

.vehicle-make-option:hover {
  border-color: #467FCE;
  background-color: #f0f9ff;
}

.vehicle-logo {
  width: 40px;
  height: 40px;
  margin-right: 16px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.brand-logo-image {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
}

/* Dropdowns (other makes, occupation) */
.other-makes-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.other-makes-title {
  font-size: 18px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 16px;
  text-align: left;
}

.dropdown-container {
  position: relative;
  width: 100%;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background-color: #f8f9fa;
  color: #374151;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.dropdown-trigger:hover {
  border-color: #467FCE;
  background-color: #f0f9ff;
}

.dropdown-trigger.open {
  border-color: #467FCE;
  background-color: #f0f9ff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.dropdown-arrow {
  font-size: 12px;
  transition: transform 0.2s ease;
  color: #6b7280;
}

.dropdown-trigger.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  background-color: white;
  border: 2px solid #467FCE;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border: none;
  background-color: white;
  color: #374151;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: #f0f9ff;
  color: #467FCE;
}

/* Birthdate */
.date-input-container {
  margin-bottom: 16px;
}

.date-field-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 24px;
  border: 2px solid #6FD0BD;
  border-radius: 8px;
  background-color: white;
  transition: border-color 0.2s ease;
}

.date-field-group:focus-within {
  border-color: #467FCE;
}

.date-field {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #374151;
  text-align: center;
  font-weight: 500;
  padding: 4px 8px;
  min-width: 0;
}

.date-field::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.date-field:focus {
  background-color: #f0f9ff;
  border-radius: 4px;
}

.date-separator {
  color: #6b7280;
  font-size: 18px;
  font-weight: 500;
  flex-shrink: 0;
  user-select: none;
}

.date-errors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  justify-content: center;
}

.date-error-item {
  font-size: 12px;
  color: #dc2626;
  background-color: #fef2f2;
  padding: 4px 8px;
  border-radius: 4px;
}

/* TCPA agreement */
.agreement-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.agreement-row input[type="checkbox"] {
  margin-top: 3px;
}

.agreement-label {
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

.tcpa-link {
  color: #467FCE;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 500;
}

.tcpa-link:hover {
  color: #3b6bb6;
}

/* Button spinner (homeprosusa pattern) */
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(70, 127, 206, 0.3);
  border-top-color: #467FCE;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-left: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Searching interstitial (matches handoff/offer-wall design family) */
.searching-content {
  text-align: center;
  padding: 40px 0;
}

.searching-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  padding: 32px;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.searching-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: #467FCE;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.searching-title {
  font-size: 20px;
  font-weight: 600;
  color: #374151;
  line-height: 1.4;
  margin: 0 0 28px 0;
}

.searching-checklist {
  display: inline-block;
  list-style: none;
  margin: 0 0 28px 0;
  padding: 0;
  text-align: left;
}

.searching-checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.searching-checklist-item:last-child {
  margin-bottom: 0;
}

.searching-check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  background-color: transparent;
  color: transparent;
  font-size: 12px;
  font-weight: 700;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.searching-checklist-item.done .searching-check-icon {
  background-color: #3ACE76;
  border-color: #3ACE76;
  color: #ffffff;
}

.searching-check-label {
  font-size: 15px;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.searching-checklist-item.done .searching-check-label {
  color: #374151;
}

.searching-progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.searching-progress-fill {
  height: 100%;
  width: 0%;
  background-color: #6FD0BD;
  border-radius: 4px;
  transition: width 0.1s linear;
}

/* Exit modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background-color: white;
  border-radius: 12px;
  padding: 32px;
  max-width: 400px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.modal-close:hover {
  color: #6b7280;
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  color: #374151;
  margin: 0 0 12px 0;
  text-align: center;
}

.modal-text {
  font-size: 16px;
  color: #6b7280;
  margin: 0 0 32px 0;
  text-align: center;
  line-height: 1.5;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-button {
  width: 100%;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.modal-button.secondary {
  background-color: #f8f9fa;
  color: #467FCE;
  border-color: #e5e7eb;
}

.modal-button.secondary:hover {
  background-color: #f0f9ff;
  border-color: #467FCE;
}

.modal-button.primary {
  background-color: #467FCE;
  color: white;
  border-color: #467FCE;
}

.modal-button.primary:hover {
  background-color: #3b6bb6;
  border-color: #3b6bb6;
}

/* Footer */
.footer {
  background-color: #ffffff;
  border-top: 1px dashed #e5e7eb;
  padding: 40px 0 20px;
  margin-top: auto;
}

.footer-content {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.trust-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-weight: 500;
  font-size: 14px;
  color: #000000;
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge-image {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-info {
  padding-top: 20px;
}

.copyright {
  font-size: 12px;
  color: #727272;
  margin: 0 0 12px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-link {
  font-size: 12px;
  color: #727272;
  background: none;
  border: none;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}

.footer-link:hover {
  color: #467FCE;
}

/* Responsive */
@media (min-width: 768px) {
  .main-content {
    padding: 0 40px;
  }

  .step-container {
    padding: 60px 40px;
  }

  .header-content,
  .progress-content,
  .footer-content {
    padding: 0 40px;
  }
}

/* Legal pages (privacy, terms, partners) — ported from LegalPage.css */
html {
  scroll-behavior: smooth;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  flex: 1;
  width: 100%;
}

.back-button {
  background: none;
  border: none;
  color: #467FCE;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-button:hover {
  color: #3b6bb6;
}

.legal-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 2px solid #e5e7eb;
}

.legal-title {
  font-size: 36px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.legal-subtitle {
  font-size: 16px;
  color: #6b7280;
  font-style: italic;
}

.legal-body {
  line-height: 1.7;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.legal-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #374151;
  margin: 24px 0 12px 0;
}

.legal-section p {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 16px;
  text-align: justify;
  overflow-wrap: break-word;
}

.legal-section ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-section li {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal-section a {
  color: #467FCE;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-section a:hover {
  color: #3b6bb6;
  border-bottom-color: #3b6bb6;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 20px 16px;
  }

  .legal-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .legal-subtitle {
    font-size: 14px;
  }

  .legal-section {
    margin-bottom: 24px;
  }

  .legal-section h2 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .legal-section h3 {
    font-size: 18px;
    margin: 16px 0 8px 0;
  }

  .legal-section p,
  .legal-section li {
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
  }

  .legal-section ul {
    padding-left: 18px;
    margin: 12px 0;
  }

  .back-button {
    font-size: 14px;
    margin-bottom: 24px;
  }
}

/* Offer wall (results screen) & secure handoff interstitial */
.offer-wall {
  padding: 8px 0 40px;
}

.offer-wall-title {
  font-size: 24px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 4px;
  text-align: center;
}

.offer-wall-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 24px;
  text-align: center;
}

.offer-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.offer-item {
  display: flex;
  flex-direction: column;
}

/* Card 2 "BEST PRICE" badge sits above its card */
.offer-best-price {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 4px 10px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background-color: #ffffff;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.offer-card {
  position: relative;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background-color: #ffffff;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Card 1 highlighted "top pick" treatment */
.offer-card-top {
  border: 2px solid #467FCE;
  background-color: #f0f9ff;
  margin-top: 12px; /* room for the overlapping badge */
}

/* Trophy pill overlapping the top-left border of card 1 */
.offer-top-pick {
  position: absolute;
  top: -12px;
  left: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background-color: #467FCE;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(70, 127, 206, 0.35);
}

.offer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Matches the image max-height so cards align whatever the logo shape */
  min-height: 56px;
  margin-bottom: 12px;
  /* Doubles the breathing room around the (unchanged 56px) wordmark: 24px
     card padding + 24px here above, 12px margin + 12px here below. */
  padding: 24px 0 12px;
}

/* Two logo shapes share this slot: wide wordmarks (Progressive at 8:1) bind
   on max-width and render 240x30; squarish exchange marks (Experian at ~2:1)
   bind on max-height — 56px lets them render ~116px wide instead of being
   pinched to ~91px by the old 44px cap. The gateway upsizes resizer-CDN
   logos to w=480, so there are enough source pixels either way. */
.offer-logo-image {
  max-height: 56px;
  max-width: 240px;
  object-fit: contain;
}

.offer-carrier-name {
  font-size: 22px;
  font-weight: 700;
  color: #374151;
}

.offer-headline {
  font-size: 18px;
  font-weight: 600;
  color: #374151;
  line-height: 1.4;
  margin-bottom: 16px;
}

.offer-bullets {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

.offer-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 8px;
}

.offer-check {
  color: #3ACE76;
  font-weight: 700;
  flex-shrink: 0;
}

.offer-cta {
  width: 100%;
  padding: 18px 24px;
  border: none;
  border-radius: 8px;
  background-color: #467FCE;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.offer-cta:hover {
  background-color: #3b6bb6;
}

/* Secure handoff interstitial (reuses .modal-overlay / .modal-content) */
.handoff-content {
  text-align: center;
}

.handoff-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: #467FCE;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.handoff-title {
  font-size: 20px;
  font-weight: 600;
  color: #374151;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.handoff-text {
  font-size: 15px;
  color: #6b7280;
  margin: 0 0 24px 0;
}

.handoff-progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.handoff-progress-fill {
  height: 100%;
  width: 0%;
  background-color: #6FD0BD;
  border-radius: 4px;
  transition: width 2.8s linear;
}

/* Contact step (funnel only): compact fields with in-field titles, consent below the CTA */
#auto-quote-form .form-label {
  display: none;
}

#auto-quote-form .form-input {
  padding: 20px 24px; /* ~10% shorter than the base 24px-padded input */
}

#auto-quote-form .form-section {
  margin-bottom: 12px;
}

#auto-quote-form .agreement-section {
  margin-top: 18px;
  margin-bottom: 0;
}

/* Consent text wraps around the floated checkbox and uses the full width, so as
   much of it as possible is readable above the fold. */
#auto-quote-form .agreement-row {
  display: block;
}

#auto-quote-form .agreement-row input[type="checkbox"] {
  float: left;
  margin: 2px 8px 0 0;
}

#auto-quote-form .agreement-label {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.7;
}

@media (min-width: 768px) {
  /* Reclaim the step container's 40px side padding for the consent block only. */
  #auto-quote-form .agreement-section {
    margin-left: -40px;
    margin-right: -40px;
  }
}

/* Contact-step CTA: solid fill (the shared .primary-button stays outline-style elsewhere) */
#submit-form {
  background-color: #467FCE;
  color: #ffffff;
  /* 16px base +30%, with vertical padding trimmed (24px -> 21px) so the
     taller text line keeps the button's overall height unchanged (~71px). */
  font-size: 21px;
  padding-top: 21px;
  padding-bottom: 21px;
}

#submit-form:hover {
  background-color: #3a6db4;
  border-color: #3a6db4;
}

#submit-form:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  border-color: #e5e7eb;
}
