/* ─── Mavericks Quote Builder ─────────────────────────── */
/* Matches site palette: white bg, navy-900 text, blue accents, yellow CTAs */

/* ─── Progress Bar ──────────────────────────────────────── */
.mqb-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0 36px;
  gap: 0;
}
.mqb-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.mqb-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--text-faint);
  border: 2px solid var(--border-strong);
  transition: all 0.3s ease;
}
.mqb-step-dot.active .mqb-dot {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 12px var(--blue-glow);
}
.mqb-step-dot.done .mqb-dot {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.mqb-dot-label {
  font-size: 10px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.mqb-step-dot.active .mqb-dot-label { color: var(--blue); }
.mqb-step-dot.done .mqb-dot-label { color: var(--green); }
.mqb-step-line {
  width: 40px;
  height: 2px;
  background: var(--border-strong);
  margin: 0 4px;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}
.mqb-step-line.done { background: var(--green); }

@media (max-width: 640px) {
  .mqb-dot-label { display: none; }
  .mqb-step-line { width: 20px; }
  .mqb-dot { width: 28px; height: 28px; font-size: 12px; }
}

/* ─── Step Container ───────────────────────────────────── */
.mqb-step {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 48px;
}
.mqb-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  text-align: center;
}
.mqb-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  text-align: center;
  margin: 0 0 32px;
}
.mqb-back-btn {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 14px;
  cursor: pointer;
  padding: 4px 0;
  margin-bottom: 16px;
  font-weight: 500;
  transition: color 0.2s;
}
.mqb-back-btn:hover { color: var(--blue-700); }

/* ─── Brand Grid ───────────────────────────────────────── */
.mqb-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.mqb-brand-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
}
.mqb-brand-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.mqb-brand-img {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mqb-brand-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mqb-brand-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}
.mqb-brand-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ─── Model Grid ───────────────────────────────────────── */
.mqb-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.mqb-model-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.25s ease;
}
.mqb-model-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.mqb-model-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-soft);
  flex-shrink: 0;
}
.mqb-model-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.mqb-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  text-align: center;
}
.mqb-img-placeholder span {
  font-size: 10px;
  color: var(--text-faint);
  line-height: 1.3;
}
.mqb-model-info { flex: 1; min-width: 0; }
.mqb-model-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
}
.mqb-model-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 8px;
  line-height: 1.4;
}
.mqb-model-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.mqb-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}
.mqb-badge-color { background: var(--blue-soft); color: var(--blue); }
.mqb-badge-mono { background: var(--bg-soft-2); color: var(--text-muted); }
.mqb-badge-spd { background: rgba(245, 197, 24, 0.14); color: #9a7800; }
.mqb-badge-fmt { background: var(--green-soft); color: #15803d; }
.mqb-badge-rec { background: var(--green-soft); color: #15803d; font-size: 9px; }
.mqb-model-price {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
}

/* ─── Base Configuration ───────────────────────────────── */
.mqb-base-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 700px;
  margin: 0 auto;
}
.mqb-base-single { max-width: 400px; margin: 0 auto; }
.mqb-base-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s ease;
}
.mqb-base-card:hover { border-color: var(--blue); }
.mqb-base-card.selected {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.mqb-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.mqb-base-card.selected .mqb-radio {
  border-color: var(--blue);
}
.mqb-radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s ease;
}
.mqb-base-card.selected .mqb-radio-dot {
  background: var(--blue);
}
.mqb-base-details { flex: 1; }
.mqb-base-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.mqb-base-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  flex-shrink: 0;
}

/* ─── Accessories ──────────────────────────────────────── */
.mqb-acc-group {
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.mqb-acc-cat {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.mqb-acc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mqb-acc-item:hover { border-color: var(--blue); }
.mqb-acc-item.selected {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.mqb-acc-item input[type="checkbox"] { display: none; }
.mqb-check {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-strong);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}
.mqb-acc-item.selected .mqb-check,
.mqb-mps-toggle input:checked + .mqb-check {
  background: var(--blue);
  border-color: var(--blue);
}
.mqb-acc-item.selected .mqb-check::after,
.mqb-mps-toggle input:checked + .mqb-check::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.mqb-acc-info {
  flex: 1;
  min-width: 0;
}
.mqb-acc-name {
  font-size: 13px;
  color: var(--text);
  display: block;
}
.mqb-acc-desc {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.3;
}
.mqb-acc-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  flex-shrink: 0;
}
.mqb-no-accs {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

/* ─── Review & Pricing ─────────────────────────────────── */
.mqb-review { max-width: 1100px; }
.mqb-review-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 860px) {
  .mqb-review-layout { grid-template-columns: 1fr; }
}
.mqb-review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.mqb-review-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 16px;
}
.mqb-line-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
}
.mqb-li-name {
  font-size: 13px;
  color: var(--text);
}
.mqb-li-acc .mqb-li-name {
  color: var(--text-muted);
  padding-left: 12px;
}
.mqb-li-price {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  flex-shrink: 0;
  margin-left: 16px;
}
.mqb-li-total .mqb-li-name {
  font-weight: 600;
  color: var(--navy-900);
}
.mqb-li-total .mqb-li-price {
  font-weight: 700;
  color: var(--blue);
  font-size: 15px;
}
.mqb-line-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 0;
}

/* ─── Pricing Panel ────────────────────────────────────── */
.mqb-pricing-panel {
  background: var(--navy-900);
  color: #fff;
  border: 1px solid var(--navy-700);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 100px;
}
.mqb-monthly-headline {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--navy-700);
  margin-bottom: 20px;
}
.mqb-monthly-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9fb2cf;
  margin-bottom: 6px;
}
.mqb-monthly-amount {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.2;
}
.mqb-monthly-breakdown {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
  font-size: 12px;
  color: #9fb2cf;
}
.mqb-lease-options h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9fb2cf;
  margin: 16px 0 8px;
  font-weight: 500;
}
.mqb-toggle-group {
  display: flex;
  gap: 6px;
}
.mqb-toggle {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--navy-600);
  border-radius: 6px;
  background: transparent;
  color: #9fb2cf;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mqb-toggle:hover { border-color: var(--yellow); color: #fff; }
.mqb-toggle.active {
  background: rgba(245, 197, 24, 0.15);
  border-color: var(--yellow);
  color: var(--yellow);
  font-weight: 600;
}

/* Rate Chart */
.mqb-rate-chart {
  margin-top: 16px;
}
.mqb-rate-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: #9fb2cf;
  cursor: pointer;
  transition: all 0.15s ease;
}
.mqb-rate-row:hover { background: rgba(255, 255, 255, 0.05); }
.mqb-rate-row.active {
  background: rgba(245, 197, 24, 0.1);
  color: var(--yellow);
  font-weight: 600;
}

/* Disclaimer */
.mqb-disclaimer {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 12px;
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: var(--radius-sm);
}
.mqb-disclaimer svg {
  flex-shrink: 0;
  color: var(--yellow);
  margin-top: 1px;
}
.mqb-disclaimer p {
  font-size: 12px;
  color: #c2d2ea;
  line-height: 1.5;
  margin: 0;
}

/* ─── MPS Card ─────────────────────────────────────────── */
.mqb-mps-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 16px;
  transition: border-color 0.2s ease;
}
.mqb-mps-card:not(.collapsed) {
  border-color: var(--green);
}
.mqb-mps-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.mqb-mps-toggle input { display: none; }
.mqb-mps-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mqb-mps-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.mqb-mps-details {
  margin-top: 16px;
}
.mqb-mps-card.collapsed .mqb-mps-details { display: none; }
.mqb-mps-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 16px;
}
.mqb-mps-inputs {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.mqb-mps-field {
  flex: 1;
}
.mqb-mps-field label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mqb-mps-field input {
  width: 100%;
  padding: 8px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.mqb-mps-field input:focus {
  outline: none;
  border-color: var(--blue);
}
.mqb-mps-cost {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.mqb-mps-line {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 12px;
  color: var(--text-muted);
}
.mqb-mps-total {
  font-weight: 600;
  color: var(--green);
  font-size: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: 6px;
}

/* ─── Contact Form ─────────────────────────────────────── */
.mqb-form-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 760px) {
  .mqb-form-layout { grid-template-columns: 1fr; }
  .mqb-form-right { order: -1; }
}
.mqb-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.mqb-form-group {
  margin-bottom: 18px;
}
.mqb-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.mqb-form-group input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}
.mqb-form-group input::placeholder { color: var(--text-faint); }
.mqb-form-group input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 89, 201, 0.1);
}
.mqb-form-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

/* Mini summary */
.mqb-mini-summary {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.mqb-mini-summary h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
}
.mqb-ms-model {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.mqb-ms-base {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.mqb-ms-accs {
  font-size: 11px;
  color: var(--text-muted);
  padding-left: 8px;
  margin-bottom: 8px;
  line-height: 1.7;
}
.mqb-ms-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}
.mqb-ms-total,
.mqb-ms-monthly {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text);
  padding: 4px 0;
}
.mqb-ms-monthly {
  font-weight: 700;
  color: var(--blue);
  font-size: 15px;
}
.mqb-ms-term {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─── Buttons ──────────────────────────────────────────── */
.mqb-step-actions {
  text-align: center;
  margin-top: 28px;
}
.mqb-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}
.mqb-btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px var(--blue-glow);
}
.mqb-btn-primary:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--blue-glow);
}
.mqb-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.mqb-btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--border-strong);
}
.mqb-btn-outline:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.mqb-btn-lg {
  padding: 14px 36px;
  font-size: 16px;
  width: 100%;
}
.mqb-btn-icon {
  margin-right: 6px;
}
.mqb-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Buttons inside the dark pricing panel */
.mqb-btn-dark {
  background: var(--yellow);
  color: var(--navy-900);
}
.mqb-btn-dark:hover {
  background: #e6b800;
  color: var(--navy-900);
}
.mqb-btn-dark-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
}
.mqb-btn-dark-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ─── Success State ────────────────────────────────────── */
.mqb-success {
  text-align: center;
  max-width: 500px;
  margin: 40px auto;
  padding: 40px 24px;
}
.mqb-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.mqb-success h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}
.mqb-success p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 8px;
}
.mqb-success-cta {
  margin: 28px 0 20px;
}
.mqb-success-cta p {
  font-size: 13px;
  margin-bottom: 10px;
}
.mqb-restart-btn {
  margin-top: 16px;
}
