/* The lookup sits on a white panel; the amount is shown on a Vietnamese number plate:
   white for private cars, yellow for commercial transport. */
.fee-tool { padding: clamp(18px, 2.4vw, 28px); border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px rgba(11, 31, 66, .1); }
.fee-tool legend { margin-bottom: .75rem; font-size: 1.1rem; font-weight: 700; }
.fee-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.fee-choice { display: flex; flex-direction: column; gap: .15rem; min-height: 76px; padding: .6rem .7rem; border: 2px solid var(--rule); border-radius: 12px; line-height: 1.3; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.fee-choice strong { font-size: .92rem; }
.fee-choice span { color: var(--muted); font-size: .86rem; }
.fee-choice:hover { border-color: var(--navy); }
.btn-check:checked + .fee-choice { border-color: var(--navy); background: var(--sky); box-shadow: inset 0 0 0 1px var(--navy); }
.btn-check:focus-visible + .fee-choice { outline: 3px solid #2f78e0; outline-offset: 2px; }

.fee-result { margin: 1.25rem 0 1rem; text-align: center; }
.fee-label { margin-bottom: .5rem; font-weight: 600; }
.plate { display: flex; align-items: center; justify-content: center; min-height: 86px; margin: 0 auto; padding: .35rem 1rem; max-width: 360px; border: 3px solid var(--ink); border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px #b9c4d6; transition: background-color .2s ease; }
.plate[data-plate="yellow"] { background: var(--plate-yellow); box-shadow: inset 0 0 0 3px var(--plate-yellow), inset 0 0 0 4px #8d7300; }
.plate output { font-size: clamp(1.9rem, 7vw, 2.6rem); font-weight: 800; letter-spacing: .01em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fee-detail { margin: .6rem 0 0; color: var(--muted); font-size: .95rem; }
.fee-source { margin: .9rem 0 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
@media (max-width: 575.98px) {
    .fee-groups { grid-template-columns: 1fr; }
    .fee-choice { flex-direction: row; align-items: center; justify-content: space-between; min-height: 52px; }
    .fee-choice span { text-align: right; }
}
