/* dvfeTaxCalc page (calc.tpl). The site's tokens: navy #071b3d / #142a5c, nav blue #17309c, accent #1ca3e7, Anton
   headings, Inter text (templates/dvfe.hu/css/_variable.scss). Mobile first; the two result cards stay side by side
   down to 390 px (the approved mockup). */
.tc-hero { background: linear-gradient(120deg, #000f27, #142a5c); color: #fff; padding: 32px 0 44px; }
.tc-hero h1 { font-family: 'Anton Regular', 'Inter Regular', sans-serif; text-transform: uppercase; font-size: 30px; line-height: 1.08; margin: 0 0 10px; max-width: 900px; }
.tc-hero__lead { color: #c9d3ea; max-width: 760px; margin: 0; }
.tc-chip { display: inline-block; margin: 14px 8px 0 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); padding: 5px 12px; border-radius: 999px; font-size: 13px; }
.tc-flag { margin: 10px 0 0; font-size: 13px; color: #ffe2a8; max-width: 860px; }
.tc-page { padding: 0 0 72px; }
.tc-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: -24px; }
.tc-card { background: #fff; border: 1px solid #dfe4ee; border-radius: 12px; box-shadow: 0 6px 24px rgba(7,27,61,.08); }
.tc-inputs { padding: 18px; }
.tc-inputs h2, .tc-det h2 { font-family: 'Anton Regular', 'Inter Regular', sans-serif; text-transform: uppercase; color: #17309c; font-size: 20px; margin: 0 0 14px; }
.tc-f { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.tc-f__t { display: block; font-weight: 600; margin-bottom: 8px; padding: 0; font-size: 15px; }
.tc-f__s { display: block; font-size: 13px; color: #5b6478; margin-bottom: 4px; }
.tc-f__h { color: #5b6478; font-size: 13px; margin: 6px 0 0; }
.tc-f__h a { color: #17309c; text-decoration: underline; }
.tc-seg { display: grid; grid-template-columns: repeat(3, 1fr); background: #f4f6fb; border-radius: 8px; padding: 4px; gap: 2px; }
.tc-seg__opt { margin: 0; cursor: pointer; }
.tc-seg__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tc-seg__opt span { display: block; text-align: center; padding: 9px 4px; border-radius: 6px; font-weight: 600; color: #5b6478; font-size: 14px; }
.tc-seg__opt input:checked + span { background: #fff; color: #17309c; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.tc-seg__opt input:focus-visible + span { outline: 2px solid #1ca3e7; outline-offset: 1px; }
.tc-page [hidden] { display: none !important; }
.tc-entry { margin-top: 14px; }
.tc-check { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 14px; }
.tc-num { display: flex; align-items: stretch; border: 1px solid #c9d1e0; border-radius: 8px; overflow: hidden; background: #fff; }
.tc-num input { border: 0; padding: 10px 12px; font-size: 16px; font-weight: 600; width: 100%; min-width: 0; color: #1d2433; }
.tc-num span { padding: 0 12px; color: #5b6478; background: #f4f6fb; display: flex; align-items: center; white-space: nowrap; }
.tc-num--s input { padding: 8px 10px; }
.tc-range { width: 100%; margin: 14px 0 4px; accent-color: #1ca3e7; }
.tc-split { display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; }
.tc-split em { font-style: normal; color: #17309c; }
.tc-opts { display: grid; gap: 8px; }
.tc-opt { display: flex; gap: 10px; border: 1px solid #dfe4ee; border-radius: 8px; padding: 10px 12px; margin: 0; cursor: pointer; }
.tc-opt input { margin-top: 3px; accent-color: #1ca3e7; flex: none; }
.tc-opt:has(input:checked) { border-color: #1ca3e7; background: #f1f9fe; }
.tc-opt strong { display: block; font-size: 14px; }
.tc-opt small { color: #5b6478; font-size: 12.5px; }
.tc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tc-sub { margin-top: 16px; }
.tc-row2 label { display: flex; flex-direction: column; justify-content: flex-end; }
.tc-select { width: 100%; padding: 9px 8px; border: 1px solid #c9d1e0; border-radius: 8px; background: #fff; font-size: 14px; margin-bottom: 8px; }
.tc-row2 select { width: 100%; padding: 9px 8px; border: 1px solid #c9d1e0; border-radius: 8px; background: #fff; font-size: 14px; }
.tc-results { display: grid; gap: 16px; min-width: 0; }
.tc-verdict { background: linear-gradient(90deg, #e8f7f0, #f5fbf8); border: 1px solid #bfe6d4; border-radius: 12px; padding: 14px 16px; }
.tc-verdict[data-tc-verdict="none"], .tc-verdict[data-tc-verdict="equal"] { background: #f4f6fb; border-color: #dfe4ee; }
.tc-verdict__t { font-family: 'Anton Regular', 'Inter Regular', sans-serif; text-transform: uppercase; color: #0b6b4a; font-size: 18px; margin: 0; }
.tc-verdict__p { margin: 4px 0 0; color: #24453a; font-size: 14px; }
.tc-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tc-col { padding: 16px 12px 12px; position: relative; }
.tc-col.is-win { border: 2px solid #0e8a5f; }
.tc-badge { display: none; position: absolute; top: -11px; left: 12px; background: #0b6b4a; color: #fff; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.tc-col.is-win .tc-badge { display: inline-block; }
.tc-col h3 { font-family: 'Anton Regular', 'Inter Regular', sans-serif; text-transform: uppercase; color: #17309c; font-size: 17px; margin: 0 0 8px; }
.tc-na { margin: 0; color: #8a4a00; font-size: 13px; }
.tc-big { margin: 0; }
.tc-big div { border-bottom: 1px solid #dfe4ee; padding: 6px 0; }
.tc-big dt { color: #5b6478; font-size: 12px; font-weight: 400; }
.tc-big dd { margin: 0; font-size: 17px; font-weight: 700; white-space: nowrap; }
.tc-big .is-net dd { color: #0b6b4a; }
.tc-det { padding: 6px 12px 14px; }
.tc-det h2 { margin-top: 12px; font-size: 18px; }
.tc-tablewrap { overflow-x: auto; }
.tc-det table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tc-det th, .tc-det td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #dfe4ee; vertical-align: top; }
.tc-det thead th { color: #5b6478; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; border-bottom-width: 2px; }
.tc-det tbody th { font-weight: 400; }
.tc-det th small { display: block; color: #5b6478; font-size: 12px; }
.tc-det .n { text-align: right; white-space: nowrap; }
.tc-det tr.is-sum th, .tc-det tr.is-sum td { font-weight: 700; background: #f4f6fb; border-bottom: 0; }
.tc-flag--cap { color: #8a4a00; background: #fff6eb; border: 1px solid #f3d3a9; border-radius: 10px; padding: 10px 14px; margin: 0; font-size: 13px; }
.tc-disc { font-size: 12.5px; color: #5b6478; background: #f4f6fb; border-radius: 10px; padding: 12px 14px; margin: 0; }
.tc-cta { background: #071b3d; color: #fff; border-radius: 12px; padding: 16px; }
.tc-cta p { margin: 0 0 10px; }
.tc-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border-top: 1px solid #dfe4ee; box-shadow: 0 -4px 16px rgba(0,0,0,.08); padding: 10px 16px; font-size: 13px; font-weight: 600; color: #0b6b4a; }
.tc-sticky__a { color: #17309c; white-space: nowrap; }
.tc-mail { padding: 16px; }
.tc-mail h2 { font-family: 'Anton Regular', 'Inter Regular', sans-serif; text-transform: uppercase; color: #17309c; font-size: 18px; margin: 0 0 10px; }
.tc-mail__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tc-mail__row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.tc-mail__l { font-weight: 600; font-size: 14px; }
.tc-mail__row input { border: 1px solid #c9d1e0; border-radius: 8px; padding: 10px 12px; font-size: 16px; min-width: 0; }
.tc-mail__msg { margin: 8px 0 0; font-weight: 600; font-size: 14px; }
.tc-mail__msg.is-ok { color: #0b6b4a; }
.tc-mail__msg.is-bad { color: #b3261e; }
@media (min-width: 992px) {
    .tc-mail__row { grid-template-columns: auto 1fr auto; align-items: center; }
    .tc-hero { padding: 44px 0 52px; }
    .tc-hero h1 { font-size: 44px; }
    .tc-grid { grid-template-columns: 400px 1fr; gap: 24px; align-items: start; }
    .tc-cmp { gap: 18px; }
    .tc-col { padding: 20px; }
    .tc-col h3 { font-size: 22px; }
    .tc-big div { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; }
    .tc-big dt { font-size: 14px; }
    .tc-big dd { font-size: 21px; }
    .tc-verdict { padding: 16px 20px; }
    .tc-verdict__t { font-size: 20px; }
    .tc-det { padding: 6px 20px 16px; }
    .tc-det table { font-size: 14px; }
    .tc-sticky { display: none; }
    .tc-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
    .tc-cta p { margin: 0; }
}
