/* Kasica + Bodovi screens (kasica/points work package). Loaded after app.css; reuses its tokens.
   Savings = blue band + lime. Points = ink band + lime (same world as the ×badges). */

/* ---------- Kasica: tappable month bars ---------- */
.kas-band { padding-bottom: 24px; }
.mread { margin-top: 22px; min-height: 52px; }
.mread-t { display: flex; align-items: baseline; gap: 10px; }
.mread-t b { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; }
.mread-t .save { font-family: var(--display); font-weight: 700; font-size: 19px; padding: 4px 8px 2px; border-radius: 6px; }
.mread-s { font-size: 14.5px; font-weight: 700; margin-top: 6px; }
.mread.tick .mread-t { animation: mtick .32s var(--ease); }
@keyframes mtick { from { opacity: .35; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* each bar is a full-height transparent button; the visible bar sits at its bottom */
.months { display: flex; align-items: stretch; gap: 0; height: 104px; margin: 12px -3px 0; }
.mbar { position: relative; flex: 1; min-width: 0; height: 100%; border: 0; background: none; padding: 0 3px; display: flex; align-items: flex-end; border-radius: 6px; }
.mbar i { display: block; width: 100%; height: max(8px, var(--h)); background: #93C8EA; border-radius: 4px 4px 0 0;
  transform-origin: bottom; animation: mgrow .7s var(--d) var(--ease) both; transition: background .2s, box-shadow .2s; }
.mbar.sel i { background: var(--lime); box-shadow: 0 6px 14px rgba(11, 29, 43, .22); }
.mbar:active i { background: #B9DCF2; }
.mbar.sel:active i { background: var(--lime); }
.mbar:focus-visible { outline: 2.5px solid #fff; outline-offset: 0; }
@keyframes mgrow { from { transform: scaleY(0); } to { transform: none; } }
.kas-band .months-l { margin-top: 8px; }

/* ---------- Kasica: points card (secondary to the savings) ---------- */
.ptscard { display: block; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); overflow: hidden; }
.ptscard:active { background: var(--surface); }
.ptscard-m { display: flex; align-items: center; gap: 14px; padding: 16px 14px 14px 16px; }
.ptscard-m > .ic { color: var(--muted); }
.pts-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; flex: none; }
.pts-ic .ic { width: 26px; height: 26px; fill: currentColor; stroke-width: 1.5; }
.ptscard-t { flex: 1; min-width: 0; }
.ptscard-t b { display: block; font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1; font-variant-numeric: lining-nums; }
.ptscard-t small { display: block; font-size: 14px; color: var(--muted); font-weight: 600; margin-top: 5px; }
.ptscard-f { display: flex; align-items: center; gap: 10px; margin: 0 16px; padding: 12px 0 14px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.ptscard-f .xbadge { font-size: 14px; padding: 3px 7px 2px; }

/* ---------- Bodovi: ink hero ---------- */
.pts-band { background: var(--ink) var(--ppat); padding-bottom: 26px; }
.pts-n { margin-top: 10px; }
.pts-n small { font-size: 30px; }
.pts-band .sticker { margin-top: 18px; }
.pts-lead { font-size: 15px; line-height: 1.45; color: #C9D6E0; margin-top: 18px; max-width: 320px; }

.sec-c { font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }

/* bon picker: three values, the locked one shows how far away it is */
.bons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bon { min-height: 92px; border: 0; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); padding: 12px 10px 11px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 6px; text-align: left; transition: box-shadow .15s, background .15s; }
.bon { position: relative; }
.bon b { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: .9; }
.bon b small { font-size: 15px; margin-left: 3px; }
.bon > span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.bon.on { background: var(--blue-l); box-shadow: inset 0 0 0 2.5px var(--blue); }
.bon.on > span { color: var(--blue-d); }
.bon > .bon-ck { position: absolute; top: 9px; right: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-d); color: #fff; display: grid; place-items: center; }
.bon-ck .ic { width: 14px; height: 14px; stroke-width: 3; }
.bon[aria-disabled="true"] { cursor: default; background: var(--surface); box-shadow: none; }
.bon[aria-disabled="true"] b { color: var(--muted); }
.bon[aria-disabled="true"] > span { color: var(--ink); font-weight: 650; }
.bon-bar { display: block; width: 100%; height: 6px; border-radius: 3px; background: rgba(15, 42, 63, .1); overflow: hidden; margin-top: auto; margin-bottom: -2px; }
.bon-bar i { display: block; height: 100%; background: var(--lime-d); border-radius: 3px; }
.bon-next { font-size: 13.5px; color: var(--muted); margin-top: 10px; }

.bon-ok { display: flex; align-items: center; gap: 14px; background: var(--lime-l); border-radius: 18px; padding: 14px 16px; margin-top: 12px; animation: okIn .4s var(--ease) both; }
.bon-ok-v .save { font-family: var(--display); font-size: 22px; padding: 7px 9px 5px; border-radius: 7px; }
.bon-ok-t { flex: 1; min-width: 0; }
.bon-ok-t b { display: block; font-size: 15.5px; }
.bon-ok-t small { display: block; font-size: 13px; color: #47566A; margin-top: 3px; line-height: 1.4; }
.bon-ok .link { flex: none; }
@keyframes okIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* brand rewards */
.rws { padding-bottom: 4px; }
.rw { width: 156px; display: flex; flex-direction: column; }
.rw .well { background: var(--surface); box-shadow: none; }
.rw-b { font-size: 12px; font-weight: 700; color: var(--blue-d); margin-top: 9px; }
.rw h3 { font-size: 14.5px; font-weight: 650; line-height: 1.25; margin-top: 2px; min-height: 36px; text-wrap: balance; }
.rw-p { font-family: var(--display); font-weight: 700; font-size: 18px; margin-top: 6px; }
.rw-p { margin-bottom: 10px; }
.rw .btn { width: 100%; margin-top: auto; }
.rw-lock { background: var(--surface); color: var(--muted); cursor: default; }
.rw-ok { font-size: 12.5px; font-weight: 700; color: var(--ink); margin: -4px 0 10px; }
.rw.got .well { box-shadow: inset 0 0 0 2.5px var(--lime); }

/* local cause */
.cause h2 { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.1; text-wrap: balance; }
.cause .bar { margin-top: 16px; background: rgba(15, 42, 63, .09); }
.cause-n { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.cause-n b { font-family: var(--display); font-size: 20px; }
.cause-n span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.cause-me { display: flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 1.4; margin-top: 12px; animation: okIn .4s var(--ease) both; }
.cause-me > .ic { width: 18px; height: 18px; color: var(--blue-d); flex: none; }
.cause-me span { flex: 1; }
.cause .btn:disabled { opacity: .45; cursor: default; }

/* points history */
.phist { margin-top: 8px; }
.phist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.phist li:last-child { border-bottom: 0; }
.phist b { display: block; font-size: 15px; font-weight: 650; }
.phist small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.phist em { font-style: normal; font-family: var(--display); font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }
.phist em.neg { color: var(--muted); }
.pts-fine { margin-top: 22px; }
.pts-fine .ic { color: var(--blue-d); }
.r-bodovi .promo-t small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; margin-top: 1px; }

.ptscard-t small.ptscard-k { margin: 0 0 5px; font-size: 13px; font-weight: 700; color: var(--blue-d); }
