/* =========================================================
   BIT – pamjet e produkteve (të ndërtuara me HTML/CSS)
   Restaurant POS · Login BitXPos · Paneli BitXPOS · Bit Reports
   ========================================================= */

:root {
  --app-green-1: #4f7a17;
  --app-green-2: #8cc63f;
  --app-green-soft: #cfe3b5;
  --app-blue: #2f5596;
  --app-orange: #d8873a;
}

/* Ikonat me vija brenda pamjeve */
.rpos svg,
.bx .ic svg {
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Restaurant POS (hero) ---------- */
.hero-visual { padding: 0 0 170px; }

.rpos {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 10px;
  color: var(--text);
}

.rpos-top {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px;
  background: linear-gradient(90deg, var(--app-green-1), var(--app-green-2));
  color: #fff;
}
.rpos-logo { width: 24px; height: auto; flex: none; filter: brightness(0) invert(1); }
.rpos-title { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.rpos-title i { font-style: normal; opacity: .7; margin: 0 3px; }
.rpos-nav { margin-left: auto; display: flex; gap: 12px; }
.rpos-nav span { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.rpos-nav svg { width: 12px; height: 12px; }

.rpos-body { display: grid; grid-template-columns: 1.1fr 1fr; background: #f4f6f1; gap: 8px; padding: 8px; }
.rpos-left, .rpos-right { background: #fff; border-radius: 8px; padding: 8px; }

.rpos-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border-left: 3px solid var(--green);
  padding: 4px 0 4px 8px; margin-bottom: 6px;
  font-size: 10.5px; font-weight: 600; text-transform: uppercase; color: var(--ink);
}
.rpos-right .rpos-head { text-transform: none; font-size: 11px; background: #f6f8f3; border-radius: 0 6px 6px 0; }
.rpos-head b { background: #8cc63f; color: #fff; font-size: 9px; padding: 4px 8px; border-radius: 5px; font-weight: 600; text-transform: none; }
.rpos-head.sub { margin-top: 10px; }

.rpos-table .th, .rpos-table .tr {
  display: grid; grid-template-columns: 1.7fr .45fr .65fr .65fr 52px; align-items: center; gap: 4px;
  padding: 5px 4px;
}
.rpos-table .tr > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rpos-table .th { font-size: 8.5px; color: var(--text-3); border-bottom: 1px solid var(--border); }
.rpos-table .tr { border-bottom: 1px solid #f0f2ec; text-transform: uppercase; font-size: 9px; }
.rpos-table .tr.on { background: #f1f7e8; color: var(--green-700); }
.rpos-table.hist .tr { grid-template-columns: 1.7fr .45fr .65fr .65fr 52px; }
.rpos-table .time { color: var(--text-3); }
.acts { display: flex; gap: 3px; justify-content: flex-end; }
.acts i { width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; font-style: normal; font-size: 8.5px; font-weight: 700; }
.acts .a1 { background: #fdeed9; color: #c47a16; }
.acts .a2 { background: #e3f1d2; color: var(--green-700); }
.acts .a3 { background: #fbe1e1; color: #d14343; }

.rpos-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 10px; }
.rpos-cats span {
  border: 1px solid var(--border); border-radius: 6px; background: #fff;
  padding: 7px 3px; text-align: center; font-size: 8.5px; text-transform: uppercase; color: var(--text-2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.rpos-cats span.on { background: #f1f7e8; border-color: #b9d88f; color: var(--green-700); font-weight: 700; }

.rpos-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rpos-items .it { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.rpos-items .it span { padding: 7px 7px 6px; min-height: 34px; font-size: 8.5px; font-weight: 600; text-transform: uppercase; color: var(--ink); line-height: 1.25; }
.rpos-items .it b { background: var(--app-green-soft); color: var(--green-700); text-align: center; padding: 4px; font-size: 9.5px; }

.rpos-foot { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8px; padding: 0 8px 8px; background: #f4f6f1; }
.rpos-total {
  background: #3f6b14; color: #fff; border-radius: 8px;
  padding: 8px 12px; display: flex; flex-direction: column;
}
.rpos-total small { font-size: 9px; text-transform: uppercase; opacity: .85; }
.rpos-total strong { font-size: 20px; text-align: right; line-height: 1.1; letter-spacing: -0.01em; }
.rpos-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rpos-btns span { border-radius: 8px; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: .03em; }
.b-blue { background: var(--app-blue); }
.b-green { background: #6fae2e; }
.b-orange { background: var(--app-orange); }

/* ---------- Login BitXPos (karta lundruese) ---------- */
.login {
  position: absolute; right: -28px; bottom: 0;
  width: 210px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 16px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border), 0 0 40px -6px rgba(117, 175, 43, .45);
  font-size: 9px;
}
.lg-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.lg-line { width: 26px; height: 3px; border-radius: 3px; background: var(--green); }
.lg-lang { border: 1px solid var(--border); border-radius: 999px; padding: 2px 8px; font-size: 8.5px; color: var(--text-2); }
.lg-title { display: block; font-size: 16px; color: var(--ink); letter-spacing: -0.02em; }
.lg-sub { display: block; color: var(--text-3); font-size: 8.5px; margin: 2px 0 8px; }
.login label { display: block; font-size: 7.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); margin: 7px 0 3px; }
.login label.on { color: var(--green-700); }
.lg-field {
  display: flex; justify-content: space-between; align-items: center;
  border: 1px solid var(--border); background: #f6f8f4; border-radius: 7px;
  padding: 6px 8px; font-size: 9.5px; color: var(--text);
}
.lg-field em { font-style: normal; color: var(--text-3); }
.lg-field.on { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px var(--green-50); }
.caret { display: inline-block; width: 1px; height: 10px; background: var(--ink); margin-left: 1px; vertical-align: -1px; animation: blink 1s steps(1) infinite; }
.lg-btn {
  margin-top: 12px; text-align: center; color: #fff; font-weight: 700; font-size: 10.5px;
  padding: 8px; border-radius: 8px;
  background: linear-gradient(180deg, #86c13c, #5e9420);
  box-shadow: 0 6px 14px -6px rgba(94, 148, 32, .7);
}

@keyframes blink { 50% { opacity: 0; } }

/* ---------- BitXPOS – paneli i administratorit ---------- */
.bx {
  max-width: 1120px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 12px;
}
.bx-titlebar { display: flex; justify-content: space-between; align-items: center; padding: 7px 14px; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--ink); }
.bx-titlebar > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.bx-mini { width: 16px; height: auto; }
.bx-win { display: flex; gap: 18px; color: var(--text-3); }
.bx-win i { font-style: normal; font-size: 11px; }

.bx-body { display: grid; grid-template-columns: 210px 1fr; }

.bx-side { border-right: 1px solid var(--border); padding: 16px 0; display: flex; flex-direction: column; background: #fff; }
.bx-brand { display: flex; align-items: center; gap: 10px; padding: 0 16px 16px; }
.bx-brand img { width: 100%; max-width: 170px; height: auto; }
.bx-side a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px; font-size: 12.5px; color: var(--text);
  border-bottom: 1px solid #f1f3ee;
}
.bx-side a em { font-style: normal; color: var(--text-3); }
.bx-side a.on { background: linear-gradient(90deg, #e3f2d0, #f3f9ec); color: #3f6b14; font-weight: 700; border-right: 3px solid var(--green); }

.bx-main { background: #f7f8f5; padding: 0 16px 16px; min-width: 0; }
.bx-tabs { display: flex; gap: 4px; padding: 10px 0; overflow: hidden; }
.bx-tabs span { padding: 6px 12px; border-radius: 8px; font-size: 12px; color: var(--text); white-space: nowrap; }
.bx-tabs span.on { background: #e5f1d6; color: #3f6b14; font-weight: 700; }

.bx-hero {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 18px;
}
.bx-wave { position: absolute; right: 0; top: 0; width: 70%; height: 100%; pointer-events: none; }
.bx-wave path { fill: none; stroke: #b6dd84; stroke-width: 1; opacity: .7; }
.bx-hero-top { position: relative; display: flex; align-items: flex-start; gap: 16px; }
.bx-hero-top small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.bx-word { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink); margin: 2px 0 6px; }
.bx-word span { color: var(--green); }
.bx-hero-top p { font-size: 13px; color: var(--text-2); }
.bx-biglogo { width: 80px; height: auto; margin-left: auto; filter: drop-shadow(0 8px 18px rgba(117, 175, 43, .4)); }
.bx-date { border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; background: #fff; }
.bx-date b { display: block; font-size: 13px; color: var(--ink); }
.bx-date small { letter-spacing: 0; text-transform: none; color: var(--text-3); }

.bx-counts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.bx-count {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; background: #fbfdf8;
}
.bx-count strong { display: block; font-size: 22px; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.bx-count small { color: var(--text-2); font-size: 11.5px; }
.bx-count em { margin-left: auto; font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #e5f1d6; color: var(--green-700); font-weight: 700; }
.bx .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: #e8f4da; color: #3f7d16; display: grid; place-items: center; }
.bx .ic svg { width: 19px; height: 19px; }

.bx-charts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.bx-panel { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; min-width: 0; }
.bx-ph { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); margin-bottom: 12px; }
.bx-ph em { font-style: normal; color: var(--text-3); }

.bx-pie-wrap { display: flex; align-items: center; gap: 14px; }
.bx-pie { flex: none; width: 96px; height: 96px; border-radius: 50%; position: relative; }
.bx-pie.clients { background: conic-gradient(#75af2b 0 62%, #3f7d16 62% 84%, #cfe3b5 84% 94%, #9aa3a0 94% 100%); }
.bx-pie.items { background: conic-gradient(#f4b740 0 38%, #3b82f6 38% 58%, #75af2b 58% 73%, #9aa3a0 73% 85%, #374151 85% 100%); }
.bx-pie.items::after { content: ""; position: absolute; inset: 24px; border-radius: 50%; background: #fff; }
.bx-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 11px; color: var(--text-2); min-width: 0; flex: 1; }
.bx-legend li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.bx-legend i { flex: none; width: 9px; height: 9px; border-radius: 3px; }
.bx-legend b { margin-left: auto; color: var(--ink); font-weight: 600; }

.bars { height: 120px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; align-items: end; padding-bottom: 20px; }
.bar { position: relative; height: 0; background: #d9ecc2; border-radius: 5px 5px 2px 2px; transition: height 1s var(--ease); }
.bar.hi { background: var(--green); }
.bars.in .bar { height: var(--h); }
.bars.in .bar:nth-child(2) { transition-delay: .05s; }
.bars.in .bar:nth-child(3) { transition-delay: .1s; }
.bars.in .bar:nth-child(4) { transition-delay: .15s; }
.bars.in .bar:nth-child(5) { transition-delay: .2s; }
.bars.in .bar:nth-child(6) { transition-delay: .25s; }
.bars.in .bar:nth-child(7) { transition-delay: .3s; }
.bars.in .bar:nth-child(8) { transition-delay: .35s; }
.bar span { position: absolute; bottom: -19px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--text-3); }

.bx-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.bx-kpi { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.bx-kpi small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .03em; color: var(--text-2); }
.bx-kpi strong { display: block; font-size: 19px; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bx-kpi .up, .bx-kpi .down { font-size: 10.5px; font-weight: 600; }
.bx-kpi .up { color: var(--green-700); }
.bx-kpi .down { color: #c2410c; }

.bx-status {
  display: flex; gap: 18px; align-items: center;
  padding: 8px 16px; border-top: 1px solid var(--border);
  font-size: 10.5px; color: var(--text-3); white-space: nowrap; overflow: hidden;
}
.bx-status b { color: var(--green-700); font-weight: 600; }
.bx-status .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; }
.bx-status .live i { width: 9px; height: 9px; border-radius: 50%; background: #22a34a; animation: pulse 2s infinite; }

/* ---------- Bit Reports (telefon Android, sipas aplikacionit real) ---------- */
.screen.br {
  background: #f2f2f2;
  border-radius: 30px;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 600px;
  font-family: "Roboto", system-ui, sans-serif;
  color: #212121;
}
.br svg { fill: currentColor; stroke: none; }

.br-status { display: flex; justify-content: space-between; align-items: center; height: 24px; padding: 0 18px; background: #000; color: #fff; font-size: 10.5px; font-weight: 500; }
.br-sys { display: flex; gap: 4px; }
.br-sys svg { width: 11px; height: 11px; }

.br-bar { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 14px 0 16px; background: #43a047; color: #fff; }
.br-bar b { font-size: 17px; font-weight: 500; letter-spacing: .01em; }
.br-icons { display: flex; align-items: center; gap: 12px; }
.br-icons svg { width: 22px; height: 22px; }
.br-icons svg:last-child { width: 18px; height: 18px; }

.br-content { flex: 1; padding: 10px 11px 12px; display: flex; flex-direction: column; gap: 9px; }
.br-biz { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 4px 18px; }
.br-biz b { font-size: 15.5px; font-weight: 500; color: #333; }
.br-biz svg { width: 20px; height: 20px; color: #43a047; }

.br-card {
  display: flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 8px 12px;
  background: #fff; border-radius: 7px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .06);
}
.br-card small { display: block; font-size: 13px; font-weight: 500; color: #212121; line-height: 1.2; }
.br-card strong { display: block; font-size: 14px; font-weight: 700; color: #111; line-height: 1.3; }
.br-card strong.sm { font-size: 13.5px; font-weight: 500; }
.br-chev { margin-left: auto; width: 18px; height: 18px; fill: none !important; stroke: #222 !important; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.br-dot {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #8fd85b, #4caf50 60%, #3d8f3f);
  color: #fff;
}
.br-dot svg { width: 16px; height: 16px; }

.br-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.br-tile {
  display: flex; align-items: center; gap: 9px;
  height: 66px; padding: 0 10px;
  border-radius: 11px;
  background: linear-gradient(180deg, #a8dc6c 0%, #7cc24a 45%, #57a32b 100%);
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .18);
}
.br-tile b { font-size: 13.5px; font-weight: 700; line-height: 1.15; text-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.br-tile b small { display: block; font-size: 12px; font-weight: 700; color: #1b1b1b; text-shadow: none; margin-top: 2px; }
.br-circle { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #222; display: grid; place-items: center; }
.br-circle svg { width: 15px; height: 15px; }

.br-pie-card {
  position: relative; margin-top: 6px;
  height: 150px; background: #fff; border-radius: 9px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .06);
}
.br-pie {
  position: absolute; left: 26px; top: 20px;
  width: 112px; height: 112px; border-radius: 50%;
  background: conic-gradient(from 90deg, #4285f4 0 46.9%, #f9b640 46.9% 100%);
  box-shadow: 0 0 0 1px #fff;
}
.br-pie span { position: absolute; left: 0; right: 0; text-align: center; font-size: 8.5px; color: #333; }
.br-pie .o { top: 30px; }
.br-pie .b { top: 74px; }
.br-pie-card ul { position: absolute; left: 148px; top: 14px; list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; font-size: 9px; color: #333; }
.br-pie-card li { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.br-pie-card i { width: 14px; height: 7px; }

.br-nav { display: grid; grid-template-columns: repeat(4, 1fr); height: 44px; align-items: center; background: #6b9a2e; color: #fff; border-top: 1px solid #5c8a24; }
.br-nav span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; }
.br-nav svg { width: 16px; height: 16px; }
.br-nav span.on { font-weight: 500; }

.br-android { display: flex; justify-content: space-around; align-items: center; height: 34px; padding: 0 36px; background: #f2f2f2; color: #5f6368; }
.br-android svg { width: 15px; height: 15px; fill: none !important; stroke: currentColor !important; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bx-charts { grid-template-columns: 1fr 1fr; }
  .bx-charts .bx-panel:last-child { grid-column: 1 / -1; }
  .bx-kpis { grid-template-columns: 1fr 1fr; }
  .hero-panel { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .bx-body { grid-template-columns: 1fr; }
  .bx-side { display: none; }
  .bx-counts { grid-template-columns: 1fr 1fr; }
  .bx-biglogo { display: none; }
}

@media (max-width: 600px) {
  .hero-visual { padding: 16px 0 24px; }
  .login { display: none; }
  .rpos-nav { display: none; }
  .rpos-body { grid-template-columns: 1fr; }
  .rpos-left .rpos-head.sub, .rpos-table.hist { display: none; }
  .rpos-foot { grid-template-columns: 1fr; }
  .rpos-btns span { padding: 8px 0; }
  .bx-charts, .bx-kpis { grid-template-columns: 1fr; }
  .bx-hero-top { flex-direction: column; gap: 10px; }
  .bx-word { font-size: 32px; }
  .bx-count { min-width: 0; padding: 8px; gap: 8px; }
  .bx-count em { display: none; }
  .bx-count strong { font-size: 18px; }
  .bx .bx-count .ic { width: 30px; height: 30px; }
  .bx-date { display: none; }
  .bx-main { padding: 0 10px 10px; }
}

/* ---------- Certifikimi ATK: Arka e BIT + printer fiskal ---------- */
.fiscal-panel {
  padding: 72px 64px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(117, 175, 43, .13), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f6f8f2 100%);
  overflow: hidden;
}
.fiscal-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; margin-bottom: 56px; }
.fiscal-copy h2 { font-size: clamp(32px, 3.8vw, 48px); font-weight: 800; letter-spacing: -0.03em; }
.fiscal-copy h2 .hl { color: var(--green); }

/* Karta e certifikimit */
.cert {
  display: grid; grid-template-columns: auto 1fr; gap: 18px 20px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: 22px;
  padding: 26px; box-shadow: var(--shadow);
}
.cert-seal {
  position: relative; width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-50);
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--green-100);
}
.cert-seal::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed #b9d88f; animation: spin 24s linear infinite; }
.cert-seal img { width: 44px; }
.cert-check { position: absolute; right: -4px; bottom: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; }
.cert-check svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cert-text small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); }
.cert-text strong { display: block; font-size: 21px; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; margin: 2px 0; }
.cert-text span { font-size: 13px; color: var(--text-3); }
.cert-list { grid-column: 1 / -1; list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.cert-list li { position: relative; padding-left: 26px; font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.35; }
.cert-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f7a17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.fiscal-motto {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); text-align: center;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
}

/* Arka */
.arka-wrap { position: relative; padding-right: 160px; }
.arka {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg); font-size: 11.5px; color: var(--text);
}
.ak-titlebar { display: flex; justify-content: space-between; align-items: center; padding: 7px 14px; background: linear-gradient(90deg, var(--app-green-1), var(--app-green-2)); color: #fff; font-weight: 600; font-size: 12px; }
.ak-titlebar > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.ak-titlebar img { width: 16px; filter: brightness(0) invert(1); }
.ak-win { display: flex; gap: 16px; opacity: .85; }
.ak-win i { font-style: normal; font-size: 11px; }

.arka label { display: block; font-size: 11px; font-weight: 600; color: var(--text-2); margin-bottom: 5px; }

.ak-top { display: grid; grid-template-columns: 300px 1fr 44px; gap: 12px; padding: 12px 14px; }
.ak-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-bottom: 10px; }
.ak-tabs span { border: 1px solid var(--border-2); border-radius: 6px; padding: 6px 0; text-align: center; font-weight: 700; font-size: 11.5px; color: var(--ink); background: #fff; }
.ak-tabs span.on { background: #b9dd8c; border-color: #9cc867; }
.ak-input { height: 28px; border: 1px solid var(--border); border-radius: 6px; background: #f7f8f5; padding: 0 9px; display: flex; align-items: center; font-size: 11.5px; }
.ak-input.text { background: #fff; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.ak-input.muted { color: var(--text-3); font-weight: 400; }

.ak-total {
  position: relative; border-radius: 10px;
  background: linear-gradient(135deg, #c9e6a0, #addb72);
  padding: 8px 14px; display: flex; flex-direction: column; justify-content: space-between;
}
.ak-total small { font-size: 12px; font-weight: 600; color: #2e4d10; }
.ak-total strong {
  align-self: flex-end; font-size: clamp(40px, 5.4vw, 72px); font-weight: 800; color: #142010;
  letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums;
}
.ak-side { display: flex; flex-direction: column; gap: 6px; }
.ak-side span { flex: 1; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 16px; background: #c0392b; }
.ak-side .pw { background: #d64a3c; font-size: 14px; }

.ak-list { position: relative; margin: 0 14px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; min-height: 268px; }
.ak-row { display: grid; grid-template-columns: .8fr 2.2fr .8fr .7fr .8fr .8fr .9fr 30px; padding: 6px 10px; border-bottom: 1px solid #f0f2ec; }
.ak-row span:last-child { color: #d14343; text-align: center; font-weight: 700; }
.ak-row:not(.ak-th) span:nth-child(2) { text-transform: uppercase; }
.ak-th { background: #e3f1d0; font-weight: 700; color: var(--ink); font-size: 11.5px; }
.ak-row.on { background: var(--green); color: #fff; }
.ak-row.on span:last-child { color: #fff; }

/* Dritarja e pagesës */
.ak-pay {
  position: absolute; left: 50%; top: 50%; transform: translate(-30%, -46%);
  width: 290px; background: #fff; border-radius: 12px; padding: 0 16px 14px;
  border: 1px solid var(--border); box-shadow: 0 24px 50px -12px rgba(21, 32, 15, .35);
}
.ak-pay-head { display: flex; justify-content: space-between; align-items: center; margin: 0 -16px 10px; padding: 9px 14px; border-bottom: 1px solid var(--border); }
.ak-pay-head strong { font-size: 13px; color: var(--ink); }
.ak-pay-head span { width: 22px; height: 22px; border-radius: 6px; background: #c0392b; color: #fff; display: grid; place-items: center; font-size: 11px; }
.ak-field { display: grid; grid-template-columns: 1fr 130px; align-items: center; gap: 10px; margin-bottom: 6px; }
.ak-field label { margin: 0; text-align: right; font-size: 11.5px; font-weight: 500; color: var(--text); }
.ak-field span { border: 1px solid var(--border); background: #f7f8f5; border-radius: 6px; padding: 4px 8px; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.ak-field.on span { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px var(--green-50); }
.ak-field .green { color: var(--green-700); font-weight: 700; }
.ak-pay-btns { display: flex; gap: 6px; justify-content: flex-end; margin-top: 10px; }
.ak-pay-btns span { padding: 6px 12px; border-radius: 7px; font-weight: 700; font-size: 11px; }
.ak-pay-btns .no { background: #fbe1e1; color: #b42318; }
.ak-pay-btns .ok { background: var(--green); color: #fff; box-shadow: 0 6px 14px -6px rgba(94, 148, 32, .7); }

.ak-bottom { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 14px; padding: 12px 14px; }
.ak-group { border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
.ak-ops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ak-ops span { background: #d3eab3; border-radius: 7px; padding: 8px 6px; text-align: center; font-weight: 700; font-size: 10.5px; color: #20330f; }
.ak-ops span.hi { background: var(--green); color: #fff; }
.ak-pef { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.ak-pef span { background: #b9dd8c; border-radius: 7px; padding: 6px 0; text-align: center; font-weight: 800; font-size: 15px; color: #20330f; }
.ak-mini { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: 11px; }
.ak-mini b { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }

.ak-fkeys { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 7px 14px; background: #fdf1ef; color: #b42318; font-size: 11px; font-weight: 500; }
.ak-fkeys .hi { color: var(--green-700); font-weight: 700; }

/* Printeri fiskal */
.fprinter { position: absolute; right: -16px; bottom: -20px; width: 196px; }
.fp-paper-clip { height: 290px; overflow: hidden; display: flex; align-items: flex-end; padding: 0 16px; }
.fp-paper {
  width: 100%;
  background: #fff;
  padding: 12px 12px 18px;
  font-family: "Courier New", ui-monospace, monospace; font-size: 9.5px; color: var(--ink);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15), 0 0 0 1px var(--border);
  transform: translateY(100%);
  transition: transform 2.4s steps(24, end) .8s;
}
.arka-wrap.in .fp-paper { transform: none; }
.fp-logo { display: flex; align-items: center; justify-content: center; gap: 5px; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 12px; }
.fp-logo img { height: 26px; width: auto; }
.fp-title { text-align: center; font-weight: 700; font-size: 11.5px; margin: 6px 0 2px; letter-spacing: .04em; }
.fp-meta { text-align: center; color: var(--text-2); font-size: 8.5px; margin-bottom: 8px; }
.fp-line { display: flex; justify-content: space-between; padding: 1.5px 0; }
.fp-line.muted { color: var(--text-3); }
.fp-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 11px; border-top: 1px dashed var(--border-2); margin-top: 6px; padding-top: 6px; }
.fp-paper .qr { width: 54px; height: 54px; margin: 10px auto 6px; display: grid; grid-template-columns: repeat(13, 1fr); }
.qr i { background: var(--ink); }
.qr i.o { background: transparent; }
.fp-thanks { text-align: center; font-size: 9px; }
.fp-body {
  position: relative; height: 96px;
  background: linear-gradient(180deg, #2b2f2a, #161915);
  border-radius: 14px 14px 18px 18px;
  box-shadow: var(--shadow-lg);
}
.fp-body::before { content: ""; position: absolute; left: 10px; right: 10px; top: 0; height: 6px; background: #0b0d0a; border-radius: 0 0 6px 6px; }
.fp-led { position: absolute; right: 16px; bottom: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 2s infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1080px) {
  .fiscal-panel { padding: 56px 40px 32px; }
  .fiscal-head { grid-template-columns: 1fr; gap: 32px; }
  .ak-top { grid-template-columns: 240px 1fr 40px; }
  .ak-bottom { grid-template-columns: 1fr 1fr; }
  .ak-bottom .ak-group:first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .arka-wrap { padding-right: 0; padding-bottom: 400px; }
  .fprinter { right: 50%; transform: translateX(50%); bottom: 0; }
  .ak-row { grid-template-columns: 2.2fr .7fr .8fr .9fr 24px; }
  .ak-row span:nth-child(1), .ak-row span:nth-child(3), .ak-row span:nth-child(6) { display: none; }
}

@media (max-width: 600px) {
  .fiscal-panel { padding: 40px 18px 24px; border-radius: 24px; }
  .cert { grid-template-columns: 1fr; justify-items: start; padding: 22px; }
  .cert-list { grid-template-columns: 1fr; }
  .ak-top { grid-template-columns: 1fr; }
  .ak-side, .ak-win { display: none; }
  .ak-total strong { font-size: 44px; }
  .ak-pay { left: 50%; transform: translate(-50%, -46%); width: calc(100% - 24px); max-width: 290px; }
  .ak-field { grid-template-columns: 1fr 110px; }
  .ak-bottom { grid-template-columns: 1fr; }
  .ak-ops { grid-template-columns: 1fr 1fr; }
  .ak-fkeys { display: none; }
  .ak-list { margin: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .fp-paper { transform: none; }
}
