/* ===== From accordian7.html ===== */
body {
  background: #f8f9fa;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* --- Horizontal tabs container --- */
.loan-tabs {
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
/* Compact so all tabs comfortably fit; allow wrapping */
.loan-tabs .nav-link {
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
}
.loan-tabs .nav-link:not(.active):hover {
  background: #f8f9fa;
}
.loan-tabs .nav-link.active {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

.tabs-scroller {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tabs-scroller::-webkit-scrollbar {
  height: 8px;
}
.tabs-scroller::-webkit-scrollbar-thumb {
  background: #dee2e6;
  border-radius: 4px;
}

.tab-content {
  margin-top: 1rem;
}

/* --- Pane design --- */
.loan-pane .section {
  margin-bottom: 1rem;
}

.loan-pane .feature-card {
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  padding: 1.25rem;
  height: 100%;
  background: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.loan-pane .feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.loan-pane .feature-num {
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1;
  color: #91026b;
}
.loan-pane .eyebrow {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 1.2rem;
  color: #91026b;
}
.loan-pane .icon-pill {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: #91026b;
}

/* Check-list with ✓, no bullets */
.loan-pane .check-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.loan-pane .check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
}
.loan-pane .check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #198754;
  font-weight: 700;
}

/* Bold section titles inside feature cards */
.loan-pane .feature-card h3,
.loan-pane .feature-card h4,
.loan-pane .feature-card h6 {
  font-weight: 700;
}

/* Slightly tighter on smaller screens */
@media (max-width: 1200px) {
  .loan-tabs .nav-link {
    font-size: 0.9rem;
    padding: 0.55rem 0.7rem;
  }
}

/* ===== From get-approved-with-calculator.html ===== */
/* ======= Base / theme (matches the style we've been using) ======= */
:root {
  --brand-primary: #0d6efd;
  --border-subtle: #e9ecef;
  --bg-soft: #f8f9fa;
}
body {
  background: var(--bg-soft);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Heading helpers */

.icon-pill {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: var(--brand-primary);
  flex: 0 0 auto;
}

/* Cards / tiles */
.feature-card {
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

/* Hero */
.hero {
  padding: 3.5rem 0 2.25rem;
  background: transparent;
  text-align: center;
}
.hero h1 {
  font-weight: 700;
}
.hero .lead {
  color: #a1018e;
  font-weight: 600;
}
.btn-cta {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  box-shadow: 0 0.5rem 1.25rem rgba(13, 110, 253, 0.25);
  color: #fff; /* ensure white text */
}
.btn-cta:hover,
.btn-cta:focus {
  background: #0b5ed7;
  border-color: #0b5ed7;
  color: #fff;
}

/* ======= Wizard styles ======= */
.modal-header {
  border-bottom: none;
}
.modal-footer {
  border-top: none;
}

.progress {
  height: 0.6rem;
  background: #eef2f7;
}
.progress-bar {
  background: var(--brand-primary);
}

/* Option cards (answers) */
.option-card {
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  background: #fff;
  padding: 1rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.option-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.06);
}
.option-card input[type="radio"] {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.option-card .check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  border: 2px solid #ced4da;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: #fff;
}
.option-card .check svg {
  display: none;
  width: 0.85rem;
  height: 0.85rem;
  color: #fff;
}
.option-card.active {
  border-color: var(--brand-primary);
  background: #eef4ff;
  box-shadow: 0 0.5rem 1.25rem rgba(13, 110, 253, 0.15);
}
.option-card.active .check {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
}
.option-card.active .check svg {
  display: block;
}

.wizard-step[hidden] {
  display: none !important;
}

/* Summary list */
.summary-list dt {
  color: #6c757d;
  font-weight: 600;
  width: 40%;
}
.summary-list dd {
  margin-left: 0;
}

/* Toast */
.toast-container {
  z-index: 1080;
}

/* CTA block */
.cta {
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  background: #fff;
  padding: 1.25rem 1.5rem;
}

/* Shake animation */
@keyframes shake {
  10% {
    transform: translateX(-2px);
  }
  20% {
    transform: translateX(2px);
  }
  30% {
    transform: translateX(-2px);
  }
  40% {
    transform: translateX(2px);
  }
  50% {
    transform: translateX(-1px);
  }
  60% {
    transform: translateX(1px);
  }
  70% {
    transform: translateX(-1px);
  }
  80% {
    transform: translateX(1px);
  }
  90% {
    transform: translateX(0);
  }
}
.shake {
  animation: shake 0.45s ease-in-out;
}

/* === Calculator-specific styles === */
body {
  background: #f8f9fa;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.feature-card {
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 22px;
  font-weight: 600;
  color: #000000b1;
}
.icon-pill {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: #0d6efd;
}
.section {
  margin-bottom: 0rem;
}
.metric-tile {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  height: 100%;
}
.metric-tile .label {
  color: #6c757d;
  font-size: 0.85rem;
}
.metric-tile .value {
  font-weight: 700;
  font-size: 1.125rem;
}
.cta {
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  background: #fff;
  padding: 1.25rem 1.5rem;
}
.muted {
  color: #6c757d;
}
.table-sticky thead th {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
