/* quote.theosfinancial.com — site-integrated layout for the Quick Quote and HELOC estimate wizards (2026-10-20).
   Loaded after each page's own <style> block, so these rules win on ties. Tokens (--navy, --line, --font-d …) come
   from assets/site.css, the website's stylesheet; the pages' own --primary/--accent vars are kept for their JS. */

html, body { background: #fff; }
body {
  font-family: var(--font-b);
  color: var(--fg);
  min-height: 0;
  display: block;
  padding: 0;
}
body > .logo-container { display: none; }

/* page grid: wizard + sidebar, like the website's inner pages */
.page--quote { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
.page--quote .side { gap: 18px; }

/* the card */
.app-container {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(15, 34, 56, .06);
  width: auto;
  max-width: none;
  min-width: 0;
  overflow: visible;
  scroll-margin-top: 90px;
}
.app-container > .header { display: none; }
.progress-bar { display: none; }

.qq__top {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius) var(--radius) 0 0;
}
.qq__lbl { font: 600 11px/1 var(--font-d); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.qq__track { flex: 1; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.qq__fill { height: 100%; width: 11%; background: var(--amber); border-radius: 999px; transition: width .35s ease; }
.qq__time { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

.step-container { padding: 28px 24px 24px; min-height: 0; display: block; }
.step.active { display: block; animation: qqin .28s ease; }
@keyframes qqin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.step-title, .success-screen h2 {
  font-family: var(--font-d); font-weight: 700; letter-spacing: -.01em;
  font-size: clamp(21px, 2.3vw, 27px); line-height: 1.2; color: var(--navy);
  text-align: left; margin: 0 0 6px;
}
.step-subtitle { font-size: 15px; color: var(--muted); text-align: left; margin: 0 0 22px; }

/* option cards */
.options-grid, .options-grid.three-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0; }
.options-grid.single-col { grid-template-columns: 1fr; }
.option-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 18px 16px 16px; min-width: 0; text-align: left;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff;
  cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; transform: none;
}
.option-card i { font-size: 24px; line-height: 1; color: var(--blue2); margin: 0; display: block; }
.option-card span { font: 600 15px/1.25 var(--font-b); color: var(--navy); display: block; }
.option-card small { font-size: 13px; color: var(--muted); margin-top: -4px; display: block; }
.option-card:hover { border-color: var(--blue); transform: none; box-shadow: none; background: #fff; }
.option-card.selected { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--paper); }
.option-card.selected i { color: var(--blue2); }
.option-card.selected::after, .range-option.selected::after {
  content: ""; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230f2238' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* row options (credit score etc.) */
.range-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 0; }
.range-option {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 44px 14px 16px; min-width: 0;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color .15s, background .15s; transform: none;
}
.range-option i { font-size: 20px; color: var(--blue2); width: 24px; text-align: center; margin: 0; }
.range-option .range-text span { font: 600 15px/1.25 var(--font-b); color: var(--navy); display: block; }
.range-option .range-text small { font-size: 13px; color: var(--muted); display: block; }
.range-option:hover { border-color: var(--blue); transform: none; box-shadow: none; }
.range-option.selected { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--paper); }
.range-option.selected i { color: var(--blue2); }

/* sliders */
.slider-container { padding: 6px 0 4px; }
.slider-display { text-align: left; margin-bottom: 8px; }
.slider-icon { display: none; }
.slider-value { font: 700 clamp(36px, 5vw, 48px)/1 var(--font-d); color: var(--navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin: 0; }
.slider-label { font: 600 11px/1 var(--font-d); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.slider-wrapper { margin: 14px 0 0; }
.slider-input { height: 8px; border-radius: 999px; margin: 10px 0 0; }
.slider-input::-webkit-slider-thumb { width: 26px; height: 26px; background: var(--navy); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(15, 34, 56, .3); }
.slider-input::-webkit-slider-thumb:hover { background: var(--navy3); transform: none; }
.slider-input::-moz-range-thumb { width: 20px; height: 20px; background: var(--navy); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(15, 34, 56, .3); }
.slider-input::-moz-range-thumb:hover { background: var(--navy3); }
.slider-input:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(47, 127, 209, .35); }
.slider-range-labels { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.slider-note { text-align: left; font-size: 14px; }

/* contact form */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.contact-form .form-row { display: contents; }
.contact-form > .form-group:nth-child(n+3), .contact-form > .form-hint, .contact-form > .honeypot { grid-column: 1 / -1; }
.form-group { margin: 0; }
.form-group i { color: var(--muted); font-size: 15px; left: 14px; }
.form-group input {
  font: 400 15px/1.2 var(--font-b); color: var(--fg); background: #fff;
  padding: 13px 14px 13px 40px; border: 1.5px solid var(--line); border-radius: 10px; width: 100%; min-width: 0;
}
.form-group input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 127, 209, .18); }
.form-group input.invalid { border-color: #c0392b; }
.form-hint, .form-error { text-align: left; }
.form-hint { font-size: 13px; color: var(--muted); margin: 0; }

/* navigation buttons */
.nav-buttons { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.nav-buttons .btn, .apply-btn, .modal-close {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font-b); padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s; transform: none; box-shadow: none; text-decoration: none; white-space: nowrap;
}
.nav-buttons .btn i { font-size: 12px; }
.btn-next { background: var(--navy); color: #fff; margin-left: auto; }
.btn-next:hover { background: var(--navy3); transform: none; box-shadow: none; }
.btn-next:disabled, .btn-submit:disabled { background: var(--navy); color: #fff; opacity: .35; cursor: not-allowed; transform: none; }
.btn-back { background: transparent; color: var(--navy); border-color: rgba(15, 34, 56, .35); }
.btn-back:hover { background: transparent; border-color: var(--navy); }
.btn-submit, .apply-btn { background: var(--amber); color: var(--navy); width: auto; }
.btn-submit:hover, .apply-btn:hover { background: var(--amber2); transform: none; box-shadow: none; }
.btn-submit:disabled { background: var(--amber); color: var(--navy); }
.nav-buttons .btn-submit { margin-left: auto; }

/* result screen */
.success-screen { text-align: left; padding: 6px 0 0; }
.success-screen > i { font-size: 30px; color: var(--blue2); width: 56px; height: 56px; border-radius: 50%; background: var(--paper); display: inline-grid; place-items: center; margin: 0 0 16px; }
.success-screen p { color: var(--muted); line-height: 1.55; }
.summary-container, .summary-container-result { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin: 18px 0 0; text-align: left; }
.summary-heading, .quote-results-heading { font: 600 11px/1 var(--font-d); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; text-align: left; }
.summary-item { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary-item:last-child { border-bottom: 0; }
.summary-item span:first-child { color: var(--muted); }
.summary-item span:last-child { color: var(--navy); font-weight: 600; }
.quote-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 14px 16px; margin: 10px 0 0; text-align: left; }
.quote-item-header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.quote-item-type { font: 600 13px/1.2 var(--font-b); color: var(--navy); }
.quote-item-rate { font: 700 22px/1 var(--font-d); color: var(--navy); font-variant-numeric: tabular-nums; }
.quote-item-details { color: var(--muted); font-size: 13.5px; }
.quote-item-discount { color: var(--blue2); font-size: 13px; }
.quote-no-results { color: var(--muted); }
.apply-btn-container { margin: 20px 0 0; text-align: left; }
.disclaimer-text { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 16px 0 0; text-align: left; }
.license-text a { color: var(--navy); }

/* HELOC estimate screen */
.estimate-hero { text-align: left; padding: 4px 0 10px; }
.estimate-hero .estimate-label { font: 600 11px/1 var(--font-d); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.estimate-hero .estimate-rate { font-family: var(--font-d); font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
.estimate-pill { font-family: var(--font-b); }
.meter-key { justify-content: flex-start; }
.meter-cap { background: var(--navy); }
.cap-note { text-align: left; }

/* loan-officer modal (quick quote) */
.modal-content { border-radius: var(--radius); font-family: var(--font-b); }
.modal-header h3 { font-family: var(--font-d); color: var(--navy); }
.officer-option { border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; }
.officer-option:hover { border-color: var(--blue); background: var(--paper); transform: none; }
.officer-option i { color: var(--blue2); }
.officer-option-text span { color: var(--navy); font-weight: 600; }
.modal-close { background: transparent; color: var(--navy); border-color: rgba(15, 34, 56, .35); }
.modal-close:hover { background: transparent; border-color: var(--navy); }

/* sidebar "what happens next" list */
.trust { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.trust li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--fg); }
.trust svg { width: 18px; height: 18px; color: var(--blue2); flex: none; margin-top: 2px; }

/* the pages' old footer bar is replaced by the website footer */
.site-footer { display: none; }

@media (max-width: 900px) {
  .page--quote { grid-template-columns: 1fr; }
  .page--quote .side { position: static; }
}
@media (max-width: 560px) {
  body { padding: 0; }
  .app-container { border-radius: var(--radius); }
  .qq__top { padding: 12px 16px; }
  .qq__time { display: none; }
  .step-container { padding: 22px 16px 18px; }
  .step-title { font-size: 21px; }
  .options-grid, .options-grid.three-col { grid-template-columns: 1fr 1fr; }
  .range-options { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form > .form-group:nth-child(n) { grid-column: auto; }
  .nav-buttons .btn { padding: 13px 18px; font-size: 14px; }
  .slider-value { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .step.active { animation: none; }
  .qq__fill { transition: none; }
}
