/* Calculadoras de juros simples, férias e 13º (04/11/2026). Mesmo visual da calculadora de juros compostos. */
.jc-field { display: grid; gap: 8px; }
.jc-field[hidden] { display: none; }
.jc-split { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 8px; }
.jc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tool-calculator-card select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; font: inherit; font-size: 15px; font-weight: 700; }
.tool-calculator-card select:focus { border-color: rgba(0, 106, 237, .5); box-shadow: 0 0 0 4px rgba(0, 106, 237, .1); outline: 0; }
.tool-calculator-card .jc-check { justify-content: flex-start; gap: 10px; min-height: 40px; font-size: 14px; font-weight: 800; cursor: pointer; }
.tool-calculator-card .jc-check input { width: 20px; height: 20px; min-height: 0; padding: 0; flex: 0 0 auto; accent-color: var(--primary); }
.jc-hint { color: #64748b; font-size: 12.5px; font-weight: 600; line-height: 1.45; }
.jc-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(0, 106, 237, .16); }
.jc-results > div { display: grid; gap: 6px; align-content: start; }
.tool-result-card .jc-results strong { font-size: clamp(19px, 2.4vw, 23px); color: var(--ink); }
.tool-result-card .jc-results .is-interest strong { color: #047857; }
.tool-result-card .jc-results .is-discount strong { color: #b91c1c; }
.tool-result-card small { color: #64748b; font-size: 12.5px; font-weight: 600; }
.tool-result-card p.is-alert { color: #b91c1c; font-weight: 700; }
.jc-lines { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.jc-lines th, .jc-lines td { padding: 7px 0; border-bottom: 1px solid rgba(0, 106, 237, .12); color: #334155; font-weight: 600; text-align: left; }
.jc-lines td { text-align: right; font-weight: 800; color: var(--ink); white-space: nowrap; }
.jc-lines tr.is-discount td { color: #b91c1c; }
.jc-lines tr.is-free th::after { content: " (isento)"; color: #047857; font-size: 12px; font-weight: 800; }
.jc-lines tr.is-total th, .jc-lines tr.is-total td { border-bottom: 0; color: var(--primary-700); font-size: 16px; font-weight: 900; }
.jc-lines tr[hidden] { display: none; }
.jc-evolution { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.jc-panel { min-width: 0; padding: 24px; border: 1px solid rgba(15, 23, 42, .08); border-radius: 8px; background: #fff; box-shadow: 0 18px 45px rgba(15, 23, 42, .08); }
.jc-panel h3 { font-size: 18px; }
.jc-panel > p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.jc-table-wrap { max-height: 520px; margin-top: 14px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
.jc-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.jc-table th, .jc-table td { padding: 8px 10px; border-bottom: 1px solid #EEF2F7; text-align: right; white-space: nowrap; }
.jc-table th:first-child, .jc-table td:first-child { text-align: left; }
.jc-table thead th { position: sticky; top: 0; z-index: 1; color: #475569; background: #F8FAFC; font-size: 12.5px; font-weight: 800; }
.jc-table tbody tr:nth-child(12n) td { border-bottom-color: #CBD5E1; }
.jc-table td:last-child { color: var(--ink); font-weight: 800; }
.jc-more { margin-top: 12px; }
.jc-more[hidden] { display: none; }
.jc-compare { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.jc-compare th, .jc-compare td { padding: 9px 8px; border-bottom: 1px solid #e2e8f0; text-align: right; }
.jc-compare th:first-child, .jc-compare td:first-child { padding-left: 0; text-align: left; }
.jc-compare thead th { color: #475569; font-size: 13px; font-weight: 800; }
.jc-compare-wrap { overflow-x: auto; }
.jc-formula { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: #F1F5F9; color: var(--ink); font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
.jc-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.jc-list li { padding: 8px 12px; border-radius: 8px; background: #f8fafc; color: #334155; font-size: 15px; }
.jc-list li strong { color: #0f172a; }
.jc-note { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--primary); border-radius: 8px; background: #F1F5F9; color: #334155; font-size: 14px; }
.tools-hero .jc-note { max-width: 640px; border-left-color: #fff; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 600; }
.tools-info-card p a, .tools-info-card li a, .jc-note a { color: var(--primary-700); font-weight: 700; }
.jc-wide { grid-column: 1 / -1; }
.tools-content .tools-hero-copy > p { margin-top: 12px; color: #334155; }
@media (max-width: 1024px) { .jc-evolution { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .jc-results, .jc-two { grid-template-columns: 1fr; }
  .jc-split { grid-template-columns: minmax(0, 1fr) 112px; }
  .jc-panel { padding: 16px 14px; }
  .jc-compare { font-size: 13px; }
  .jc-table { font-size: 12.5px; }
  .jc-table th, .jc-table td { padding: 7px 5px; }
  .jc-table thead th { white-space: normal; font-size: 11.5px; }
  .jc-compare th, .jc-compare td { padding: 8px 4px; }
}
