/* calc-theme.css — SmartBizCalc unified visual system */

/* ── Card shell ───────────────────────────────────────── */
.card {
  box-shadow: none !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  max-width: 600px !important;
  background: #fff !important;
}

/* ── Header: no gradient ──────────────────────────────── */
.card-header {
  background: #fff !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
  padding: 28px 32px 22px !important;
}

.card-header .label {
  color: #2563eb !important;
  opacity: 1 !important;
  font-size: 11px !important;
}

.card-header h1 {
  color: #0f172a !important;
  font-size: 1.3rem !important;
  line-height: 1.3 !important;
}

.card-header p {
  color: #64748b !important;
  opacity: 1 !important;
  font-size: 0.9rem !important;
}

/* ── Inputs ───────────────────────────────────────────── */
.field input[type="number"]:focus,
.field input[type="text"]:focus,
.field select:focus,
.field textarea:focus {
  border-color: #2563eb !important;
  background: #fff !important;
}

.field input[type="number"],
.field input[type="text"],
.field select,
.field textarea {
  border-color: #e2e8f0 !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  border-radius: 8px !important;
}

/* ── Results panel ────────────────────────────────────── */
.results {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
}

.results-title {
  color: #64748b !important;
  font-size: 11px !important;
}

.result-row {
  border-bottom-color: #e2e8f0 !important;
}

.result-row .result-label {
  color: #475569 !important;
}

.result-row .result-value {
  color: #2563eb !important;
}

.result-row.highlight .result-value {
  color: #1d4ed8 !important;
}

.result-row .result-note {
  color: #94a3b8 !important;
}

/* ── Scenario cards ───────────────────────────────────── */
.scenario {
  border-color: #e2e8f0 !important;
  background: #fff !important;
}

.scenario .s-val {
  color: #2563eb !important;
}

.scenario .s-label {
  color: #94a3b8 !important;
}

.scenario .s-sub {
  color: #94a3b8 !important;
}

/* ── CTA block: light blue not solid ─────────────────── */
.cta {
  background: #eff6ff !important;
  border: 1.5px solid #bfdbfe !important;
  border-radius: 10px !important;
}

.cta p {
  color: #1e40af !important;
}

.cta p strong {
  color: #1e3a8a !important;
}

.cta a {
  background: #2563eb !important;
  color: #fff !important;
  border-radius: 7px !important;
}

.cta a:hover {
  background: #1d4ed8 !important;
  transform: none !important;
}

.cta .subtext {
  color: #60a5fa !important;
}

/* ── Body ─────────────────────────────────────────────── */
body {
  background: #f8fafc !important;
  color: #0f172a !important;
}

/* ── Consent banner button ────────────────────────────── */
#consent-accept {
  background: #2563eb !important;
}

#consent-accept:hover {
  background: #1d4ed8 !important;
}

/* ── Ad slot ──────────────────────────────────────────── */
.ad-slot {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

/* ── Back link ────────────────────────────────────────── */
.back-link {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.8rem;
  color: #64748b;
  text-decoration: none;
}

.back-link:hover {
  color: #2563eb;
}

/* ── Section headings inside body ─────────────────────── */
.inputs h2,
.section-title {
  color: #0f172a !important;
}

/* ── Guide / long-form pages (.wrap pattern) ──────────── */
.cost-table {
  box-shadow: none !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.cost-table th {
  background: #f1f5f9 !important;
  color: #374151 !important;
  border-bottom: 2px solid #e2e8f0 !important;
}

.cost-table td {
  border-bottom-color: #e2e8f0 !important;
}

.cost-table tr:last-child td {
  color: #2563eb !important;
  border-bottom: none !important;
}

.cost-table tr:nth-child(even) td {
  background: #f8fafc !important;
}

.tool-cta {
  background: #eff6ff !important;
  border: 1.5px solid #bfdbfe !important;
  border-radius: 10px !important;
  color: #1e40af !important;
}

.tool-cta h3,
.tool-cta h2,
.tool-cta strong {
  color: #1e3a8a !important;
}

.tool-cta p {
  color: #1e40af !important;
}

.tool-cta a,
.tool-cta .btn {
  background: #2563eb !important;
  color: #fff !important;
  border-radius: 7px !important;
}

.tool-cta a:hover {
  background: #1d4ed8 !important;
}

.site-nav a {
  color: #2563eb !important;
}

/* ── Mobile ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .card {
    border-radius: 8px !important;
  }
  .card-header {
    padding: 22px 20px 18px !important;
  }
}
