/* Rezervo - stil i perbashket per faqet publike (kryesore, rezervimi, konfirmimi).
   Ngjyrat e brandit (--ngjyra-kryesore/--ngjyra-theksuese) vendosen inline,
   per salon, ne <head> te cdo faqeje - ky skedar mban vetem gjerat e
   perbashketa: tipografia, hapesira, animacionet, komponentet. */

:root {
    --rz-bg: #f7f7f9;
    --rz-surface: #ffffff;
    --rz-text: #16181d;
    --rz-muted: #6b7280;
    --rz-border: #eceef1;
    --rz-radius-lg: 20px;
    --rz-radius: 14px;
    --rz-radius-sm: 9px;

    /* Hije te shtresuara (disa box-shadow bashke) - jep thellesi reale, jo nje njolle e sheshte */
    --rz-shadow-sm: 0 1px 2px rgba(15,15,20,.04), 0 2px 6px rgba(15,15,20,.05);
    --rz-shadow-md: 0 2px 4px rgba(15,15,20,.04), 0 8px 16px rgba(15,15,20,.06), 0 20px 32px -8px rgba(15,15,20,.10);
    --rz-shadow-lg: 0 4px 8px rgba(15,15,20,.05), 0 16px 32px rgba(15,15,20,.09), 0 32px 64px -12px rgba(15,15,20,.18);
    --rz-ease: cubic-bezier(.22, .9, .32, 1);
    --font-titull: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-tekst: 'Inter', system-ui, -apple-system, sans-serif;

    /* Nuanca te gjeneruara automatikisht nga brandi i sallonit (--ngjyra-kryesore/--ngjyra-theksuese,
       vendosur inline per faqe) - keshtu dy sallone me brande te ndryshme marrin paleta te ndryshme
       pa asnje konfigurim shtese. */
    --brand-50: color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 6%, var(--rz-surface));
    --brand-100: color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 14%, var(--rz-surface));
    --brand-600: var(--ngjyra-theksuese, #6366f1);
    --brand-700: color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 80%, black);
    --brand-shadow: 0 10px 24px -6px color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 45%, transparent);
}

@media (prefers-color-scheme: dark) {
    :root {
        --rz-bg: #101216;
        --rz-surface: #191c22;
        --rz-text: #f0f1f3;
        --rz-muted: #9ba0ab;
        --rz-border: #2b2f38;
        --rz-shadow-sm: 0 1px 2px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.3);
        --rz-shadow-md: 0 2px 4px rgba(0,0,0,.35), 0 8px 16px rgba(0,0,0,.35), 0 20px 32px -8px rgba(0,0,0,.4);
        --rz-shadow-lg: 0 4px 8px rgba(0,0,0,.4), 0 16px 32px rgba(0,0,0,.45), 0 32px 64px -12px rgba(0,0,0,.55);
        --brand-50: color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 10%, var(--rz-surface));
        --brand-100: color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 20%, var(--rz-surface));
    }
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

/* Ndalon rifreskimin aksidental te faqes kur klienti terheq shume poshte
   ne krye te ekranit (gjesti "pull-to-refresh" i shfletuesve mobile) -
   ndjehet i papritur/jo-profesional brenda nje app-i rezervimesh. "none"
   (jo vetem "contain") - Chrome/Android e respekton plotesisht; per
   iOS (ku CSS-ja vetem s'mjafton, sidomos ne modalitetin "standalone" te
   PWA-se se instaluar), shih edhe static/js/ndalo-pull-refresh.js. */
html, body { overscroll-behavior-y: none; }

body {
    font-family: var(--font-tekst);
    background: var(--rz-bg);
    color: var(--rz-text);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-titull); letter-spacing: -.01em; }

a { color: inherit; }

/* ---- Karta / seksione te perbashketa ---- */

.karta {
    background: var(--rz-surface);
    border-radius: var(--rz-radius);
    box-shadow: var(--rz-shadow-sm);
    transition: transform .25s var(--rz-ease), box-shadow .25s var(--rz-ease);
}

@media (hover: hover) {
    .karta.karta-hover:hover { transform: translateY(-4px); box-shadow: var(--rz-shadow-md); }
}

.btn {
    background: linear-gradient(135deg, var(--ngjyra-theksuese, #6366f1),
                color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 82%, #000 14%));
    color: #fff;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: -.005em;
    padding: .68rem 1.35rem;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    box-shadow: 0 1px 2px rgba(15,15,20,.06),
                0 8px 20px -8px color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 60%, transparent);
    transition: transform .2s var(--rz-ease), box-shadow .25s var(--rz-ease), filter .18s var(--rz-ease);
}

.btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 2px 4px rgba(15,15,20,.08),
                0 14px 28px -8px color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 70%, transparent);
    transform: translateY(-2px);
}
.btn:active { transform: translateY(0) scale(.97); filter: brightness(1.02); }

.btn:focus-visible, .btn-dyte:focus-visible, .opsion-btn:focus-visible, .dite-btn:focus-visible,
.ore-btn:focus-visible, a:focus-visible, button:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 55%, #fff 20%);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .btn, .btn-dyte, .opsion-btn, .dite-btn, .ore-btn { transition: none; }
}

/* ---- Skrolli graduale: shto klasen "reveal" ne seksione ---- */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--rz-ease), transform .7s var(--rz-ease);
}

.reveal.eshte-e-dukshme { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---- Hyrja e nje hapi/karte te re (magjistari i rezervimit) ---- */

@keyframes rz-hyrje {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hapi-hyrje { animation: rz-hyrje .45s var(--rz-ease) both; }

@media (prefers-reduced-motion: reduce) {
    .hapi-hyrje { animation: none; }
}

/* ---- Hyrje e shkallezuar per rrjetat/listat e opsioneve (punonjesi, dita, ora) -
   secili buton shfaqet pak me vone se i mepari, jo te gjithe njeheresh. ---- */
@keyframes rz-hyrje-shkalle {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.opsion-btn, .dite-btn, .ore-btn { animation: rz-hyrje-shkalle .3s var(--rz-ease) both; }
.opsion-btn:nth-child(1), .dite-btn:nth-child(1), .ore-btn:nth-child(1) { animation-delay: 0ms; }
.opsion-btn:nth-child(2), .dite-btn:nth-child(2), .ore-btn:nth-child(2) { animation-delay: 22ms; }
.opsion-btn:nth-child(3), .dite-btn:nth-child(3), .ore-btn:nth-child(3) { animation-delay: 44ms; }
.opsion-btn:nth-child(4), .dite-btn:nth-child(4), .ore-btn:nth-child(4) { animation-delay: 66ms; }
.opsion-btn:nth-child(5), .dite-btn:nth-child(5), .ore-btn:nth-child(5) { animation-delay: 88ms; }
.opsion-btn:nth-child(6), .dite-btn:nth-child(6), .ore-btn:nth-child(6) { animation-delay: 110ms; }
.opsion-btn:nth-child(7), .dite-btn:nth-child(7), .ore-btn:nth-child(7) { animation-delay: 132ms; }
.opsion-btn:nth-child(8), .dite-btn:nth-child(8), .ore-btn:nth-child(8) { animation-delay: 154ms; }
.opsion-btn:nth-child(9), .dite-btn:nth-child(9), .ore-btn:nth-child(9) { animation-delay: 176ms; }
.opsion-btn:nth-child(10), .dite-btn:nth-child(10), .ore-btn:nth-child(10) { animation-delay: 198ms; }
.opsion-btn:nth-child(11), .dite-btn:nth-child(11), .ore-btn:nth-child(11) { animation-delay: 220ms; }
.opsion-btn:nth-child(n+12), .dite-btn:nth-child(n+12), .ore-btn:nth-child(n+12) { animation-delay: 242ms; }

@media (prefers-reduced-motion: reduce) {
    .opsion-btn, .dite-btn, .ore-btn { animation: none; }
}

/* ---- Buton magnetik (CTA kryesor) ---- */

.btn-magnetik { will-change: transform; }

/* ---- Skeleton shimmer (per gjendjen "duke u ngarkuar") ---- */

.skelet {
    position: relative; overflow: hidden; background: var(--rz-border);
    border-radius: var(--rz-radius-sm); color: transparent !important; pointer-events: none;
}

.skelet::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
    animation: rz-shkelqim 1.1s infinite;
}

@media (prefers-color-scheme: dark) {
    .skelet::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); }
}

@keyframes rz-shkelqim {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
    .skelet::after { animation: none; }
}

/* ---- Pulsim i lehte per statusin "hapur tani" ---- */

.pika-jeshile {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: #4ade80; margin-right: .4rem; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6);
    animation: rz-puls 2s infinite;
}

@keyframes rz-puls {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); }
    70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .pika-jeshile { animation: none; }
}

/* ---- Checkmark i vizatuar (konfirmimi i rezervimit) ---- */

.rreth-suksesit circle {
    stroke-dasharray: 76; stroke-dashoffset: 76;
    animation: rz-vizato-rreth .5s var(--rz-ease) forwards;
}

.rreth-suksesit path {
    stroke-dasharray: 24; stroke-dashoffset: 24;
    animation: rz-vizato-shenim .35s var(--rz-ease) .45s forwards;
}

@keyframes rz-vizato-rreth { to { stroke-dashoffset: 0; } }
@keyframes rz-vizato-shenim { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
    .rreth-suksesit circle, .rreth-suksesit path { animation: none; stroke-dashoffset: 0; }
}

/* ============================================================
   Faqja e rezervimit (magjistari) + konfirmimi + anulimi
   ============================================================ */

/* Shiriti i njoftimit/ofertes - opsional, vetem kur salloni ka vendosur nje tekst te pa-skaduar. */
.rz-njoftimi-shirit {
    position: relative; z-index: 2; text-align: center; padding: .6rem 1.25rem; font-size: .85rem; font-weight: 600;
    color: #fff; background: var(--ngjyra-theksuese, #6366f1);
}

.rz-header {
    position: relative; color: #fff; padding: 2.5rem 1.5rem 2.25rem; text-align: center; overflow: hidden;
    background: linear-gradient(135deg, var(--ngjyra-kryesore, #111827), color-mix(in srgb, var(--ngjyra-kryesore, #111827) 55%, var(--ngjyra-theksuese, #6366f1)));
}

.rz-header img { height: 52px; width: 52px; object-fit: cover; border-radius: 12px; margin-bottom: .6rem; border: 2px solid rgba(255,255,255,.5); }
.rz-header h1 { margin: 0 0 .3rem; font-size: 1.3rem; }
.rz-header p { margin: 0; opacity: .88; font-size: .88rem; }

main.rz-main { padding: 1.5rem; max-width: 640px; margin: 0 auto; }

.rz-main .karta { padding: 1.25rem 1.5rem; margin-bottom: 1rem; }

.rz-main label { display: block; font-size: .85rem; margin: 0 0 .25rem; color: var(--rz-muted); font-weight: 600; }
.rz-main input, .rz-main select, .rz-main textarea {
    width: 100%; max-width: 360px; padding: .6rem .7rem; margin-bottom: 1rem;
    border: 1px solid var(--rz-border); border-radius: var(--rz-radius-sm); font-family: inherit;
    background: var(--rz-surface); color: var(--rz-text); transition: border-color .15s, box-shadow .15s;
}
.rz-main input:focus, .rz-main select:focus, .rz-main textarea:focus {
    outline: none; border-color: var(--ngjyra-theksuese, #6366f1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 20%, transparent);
}
.gabim { color: #dc2626; font-size: .85rem; margin-bottom: 1rem; }
.cmimi { color: var(--ngjyra-theksuese, #6366f1); font-weight: 700; }

/* Prefiksi i vendit (dropdown +355/+39/...) per fushat e telefonit te klientit - qe numri
   te ruhet ne formatin e sakte. I-a japim nje gjeresi FIKSE (flex:0 0 auto + width), perndryshe
   ne shume shfletues mobile <select> merr gjeresine e opsionit me te gjate dhe s'lihet vend
   per numrin e telefonit. */
.rz-tel-grup { display: flex; align-items: stretch; max-width: 360px; margin-bottom: 1rem; }
.rz-tel-grup .rz-tel-prefiksi {
    display: flex; align-items: center; padding: .6rem 1.5rem .6rem .5rem; border: 1px solid var(--rz-border); border-right: none;
    border-radius: var(--rz-radius-sm) 0 0 var(--rz-radius-sm); background: var(--rz-bg); color: var(--rz-muted);
    font-weight: 700; font-size: .82rem; white-space: nowrap;
    flex: 0 0 auto; width: 7.5rem; max-width: 7.5rem; margin-bottom: 0;
}
.rz-tel-grup input { flex: 1; min-width: 0; max-width: none; margin-bottom: 0; border-radius: 0 var(--rz-radius-sm) var(--rz-radius-sm) 0; }

.btn-madh { width: 100%; padding: .9rem; font-size: 1rem; text-align: center; border: none; }

/* Progres-shiriti i magjistarit */
.progres-mbajtes { margin-bottom: 1rem; }
.progres-teksti { font-size: .8rem; color: var(--rz-muted); margin-bottom: .35rem; font-weight: 600; }
.progres-shirit { height: 6px; background: var(--rz-border); border-radius: 999px; overflow: hidden; }
.progres-mbushur { height: 100%; background: var(--ngjyra-theksuese, #6366f1); border-radius: 999px; transition: width .35s var(--rz-ease); }
.hapi-titull { font-size: 1.1rem; margin: 0 0 1rem; }

/* Rreshtat "sipas ores"/"sipas dites" te statistikave - shirita proporcionale,
   jo grafik canvas, per te qene te lehte edhe kur ka shume rreshta (17 ore). */
.stat-shirit-karta { margin-bottom: 0; }
.stat-shirit-rreshti { display: flex; align-items: center; gap: .75rem; padding: .3rem .4rem; border-radius: var(--rz-radius-sm); transition: background .15s; }
.stat-shirit-rreshti:hover { background: var(--rz-bg); }
.stat-shirit-etiketa { width: 3.2rem; flex: 0 0 auto; font-size: .8rem; color: var(--rz-muted); font-weight: 600; }
.stat-shirit-track { flex: 1; height: 9px; background: var(--rz-bg); border-radius: 999px; overflow: hidden; }
.stat-shirit-mbushur { height: 100%; border-radius: 999px; min-width: 0; background: linear-gradient(90deg, var(--brand-600, #6366f1), var(--brand-700, #4338ca)); transition: width .5s var(--rz-ease); }
.stat-shirit-vlera { width: 1.9rem; flex: 0 0 auto; text-align: right; font-size: .8rem; font-weight: 600; color: var(--rz-muted); font-variant-numeric: tabular-nums; }
.stat-shirit-rreshti.stat-shirit-maks { background: var(--brand-50); }
.stat-shirit-rreshti.stat-shirit-maks .stat-shirit-etiketa,
.stat-shirit-rreshti.stat-shirit-maks .stat-shirit-vlera { color: var(--brand-700, #4338ca); font-weight: 700; }
.prapa { display: inline-block; margin-bottom: .75rem; color: var(--rz-muted); text-decoration: none; font-size: .85rem; font-weight: 600; transition: color .15s; }
.prapa:hover { color: var(--ngjyra-theksuese, #6366f1); }

.opsione-vertikale { display: flex; flex-direction: column; gap: .6rem; }
.opsion-btn {
    display: flex; align-items: center; gap: .6rem; background: var(--rz-surface); border: 1.5px solid var(--rz-border);
    border-radius: var(--rz-radius); padding: .8rem 1rem; text-decoration: none; color: var(--rz-text); font-weight: 700;
    transition: border-color .2s var(--rz-ease), transform .2s var(--rz-ease), box-shadow .2s var(--rz-ease), background .2s var(--rz-ease);
}
.opsion-btn:hover {
    border-color: var(--ngjyra-theksuese, #6366f1); box-shadow: var(--rz-shadow-sm); transform: translateY(-2px);
    background: var(--brand-50);
}
.opsion-btn:active { transform: translateY(0) scale(.98); }
.opsion-foto { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

.dite-shirit { display: flex; gap: .5rem; overflow-x: auto; padding: .1rem .1rem .5rem; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.dite-btn {
    scroll-snap-align: start; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: .15rem;
    background: var(--rz-surface); border: 1.5px solid var(--rz-border); border-radius: var(--rz-radius-sm); padding: .6rem .9rem;
    text-decoration: none; color: var(--rz-text); min-width: 52px;
    transition: border-color .2s var(--rz-ease), transform .2s var(--rz-ease), box-shadow .2s var(--rz-ease), background .2s var(--rz-ease);
}
.dite-btn:hover { border-color: var(--ngjyra-theksuese, #6366f1); box-shadow: var(--rz-shadow-sm); transform: translateY(-2px); background: var(--brand-50); }
.dite-btn:active { transform: translateY(0) scale(.94); }
.dita-emri { font-size: .72rem; color: var(--rz-muted); text-transform: uppercase; }
/* Ditet pa orar pune fare - shenuar "Mbyllur" direkt ne shirit, qe klienti te mos klikoje
   kot dhe te hutohet me mesazhin "s'ka orare te lira" ne hapin tjeter. */
.dite-btn-mbyllur { opacity: .55; }
.dite-btn-mbyllur:hover { transform: none; box-shadow: none; border-color: var(--rz-border); background: var(--rz-surface); }
/* Dita e sotme - dallohet nga te tjerat qe ne shikim te pare, pa u dashur klikuar. */
.dite-btn-sot { border-color: var(--ngjyra-kryesore, #6366f1); background: var(--brand-50); }
.dite-btn-sot .dita-emri { color: var(--ngjyra-kryesore, #6366f1); font-weight: 700; }
.dita-mbyllur-etiketa { font-size: .62rem; color: var(--rz-muted); text-transform: uppercase; letter-spacing: .02em; }
.dita-numri { font-size: 1.05rem; font-weight: 700; }

.info-orare { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--rz-radius-sm); padding: .8rem 1rem; font-size: .85rem; margin-bottom: 1rem; }

/* Banderola e cookies - faqet publike. Fikse ne fund, rrëshqet lart kur
   shfaqet, e vetedijshme per safe-area (iPhone-a me "notch"/shirit poshte). */
.rz-cookie-banderola {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: center;
    padding: 0 1rem calc(1rem + env(safe-area-inset-bottom)); pointer-events: none;
    transform: translateY(110%); opacity: 0; transition: transform .35s var(--rz-ease), opacity .35s var(--rz-ease);
}
.rz-cookie-banderola[hidden] { display: none; }
.rz-cookie-banderola.e-shfaqur { transform: translateY(0); opacity: 1; pointer-events: auto; }
.rz-cookie-karta {
    max-width: 560px; width: 100%; background: var(--rz-surface); border-radius: var(--rz-radius);
    box-shadow: var(--rz-shadow-lg); border: 1px solid var(--rz-border); padding: 1.1rem 1.25rem;
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.rz-cookie-karta p { margin: 0; font-size: .85rem; color: var(--rz-muted); line-height: 1.5; flex: 1 1 auto; min-width: 220px; }
.rz-cookie-butona { display: flex; gap: .6rem; flex: 0 0 auto; margin-left: auto; }
.rz-cookie-butona .btn, .rz-cookie-butona .btn-dyte { padding: .55rem 1.1rem; font-size: .85rem; white-space: nowrap; }
@media (max-width: 420px) {
    .rz-cookie-karta { flex-direction: column; align-items: stretch; }
    .rz-cookie-butona { margin-left: 0; }
    .rz-cookie-butona .btn, .rz-cookie-butona .btn-dyte { flex: 1; }
}
.ore-rrjeta { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .5rem; }
.ore-btn {
    text-align: center; background: var(--rz-surface); border: 1.5px solid var(--rz-border); border-radius: var(--rz-radius-sm);
    padding: .65rem .5rem; text-decoration: none; color: var(--rz-text); font-weight: 700;
    transition: background .18s var(--rz-ease), border-color .18s var(--rz-ease), color .18s var(--rz-ease),
                transform .15s var(--rz-ease), box-shadow .18s var(--rz-ease);
}
.ore-btn:hover {
    background: linear-gradient(135deg, var(--ngjyra-theksuese, #6366f1), color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 82%, #000 14%));
    border-color: transparent; color: #fff; transform: translateY(-2px);
    box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 55%, transparent);
}
.ore-btn:active { transform: translateY(0) scale(.94); }

button.ore-btn { font: inherit; cursor: pointer; appearance: none; }
.ore-btn-zgjedhur, .ore-btn-zgjedhur:hover {
    background: linear-gradient(135deg, var(--ngjyra-theksuese, #6366f1), color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 82%, #000 14%));
    border-color: transparent; color: #fff;
    box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 55%, transparent);
}

.ore-zene {
    background: transparent; border-style: dashed; color: var(--rz-muted);
    text-decoration: line-through; cursor: pointer; opacity: .6;
}
.ore-zene:hover { opacity: 1; border-color: var(--ngjyra-theksuese, #6366f1); background: transparent; color: var(--rz-muted); }

.permbledhje { background: var(--rz-bg); border-radius: var(--rz-radius-sm); padding: .8rem 1rem; margin-bottom: 1.1rem; font-size: .92rem; }

.konfirmim-ikona-wrap { margin: 0 auto 1rem; width: 64px; height: 64px; }
.veprime-konfirmimi { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.btn-dyte {
    background: var(--rz-surface); border: 1.5px solid var(--rz-border); color: var(--rz-text); font-family: inherit;
    padding: .58rem 1.2rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .88rem;
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem; cursor: pointer;
    transition: border-color .2s var(--rz-ease), color .2s var(--rz-ease), transform .18s var(--rz-ease), box-shadow .2s var(--rz-ease);
}
.btn-dyte:hover {
    border-color: var(--ngjyra-theksuese, #6366f1); color: var(--ngjyra-theksuese, #6366f1);
    transform: translateY(-1px); box-shadow: var(--rz-shadow-sm);
}
.btn-dyte:active { transform: translateY(0) scale(.97); }

/* Butoni "Linku & QR" i dashboard-it - <details> qe hapet nen te, jo modal,
   pa trekendeshin parazgjedhje te <summary>-it. */
.rz-qr-detajet summary.btn-dyte { list-style: none; }
.rz-qr-detajet summary.btn-dyte::-webkit-details-marker { display: none; }

/* Summary te stilizuar si buton te vertete (p.sh. "Regjistro pagesën") - hiqet trekendeshi parazgjedhje. */
summary.btn, summary.btn-dyte { list-style: none; }
summary.btn::-webkit-details-marker, summary.btn-dyte::-webkit-details-marker { display: none; }

footer.rz-footer { text-align: center; padding: 1.5rem; color: var(--rz-muted); font-size: .8rem; }

/* ============================================================
   PREMIUM I PERSONALIZUAR (kryesore, rezervo, faleminderit, prit...) -
   "aurora" e holle ne sfond, me NGJYRAT E VETE BRANDIT te sallonit
   (jo nje paleta fikse) - çdo sallon/dyqan del ndryshe automatikisht,
   pa asnje konfigurim shtese nga pronari. E lehte, e lexueshme -
   ndryshe nga "aurora" e erret e marketingut (home.html).
   ============================================================ */

.rz-aurora-klient {
    position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.rz-aurora-klient .rz-blob { filter: blur(75px); opacity: .3; animation: rz-blob-lundro 30s ease-in-out infinite alternate; will-change: transform; }
@media (prefers-color-scheme: dark) { .rz-aurora-klient .rz-blob { opacity: .22; } }
.rz-aurora-klient .rz-blob-a {
    width: 52vw; height: 52vw; top: -20%; left: -14%;
    background: radial-gradient(circle, var(--ngjyra-kryesore, #6366f1), transparent 70%); animation-duration: 32s;
}
.rz-aurora-klient .rz-blob-b {
    width: 42vw; height: 42vw; bottom: -16%; right: -10%;
    background: radial-gradient(circle, var(--ngjyra-theksuese, #8b5cf6), transparent 70%); animation-duration: 38s; animation-delay: -9s;
}
@media (prefers-reduced-motion: reduce) { .rz-aurora-klient .rz-blob { animation: none; } }

.rz-grain-klient {
    position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Karta "xhami" e personalizuar - sfond surface, por me nje aluzion te holle
   te ngjyres se brandit + blur, ne vend te nje kartë krejt neutrale te bardhe. */
.karta-premium {
    background: color-mix(in srgb, var(--rz-surface) 90%, var(--ngjyra-theksuese, #6366f1) 10%) !important;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 16%, var(--rz-border));
}

/* Buton kryesor me shkelqim te holle ne ngjyren e brandit - "premium", pa u larguar nga brandi vete. */
.btn-premium-glow {
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 25%, transparent) inset,
                0 10px 28px -8px color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 55%, transparent);
}

/* ============================================================
   Paneli i administrimit (admin + super-admin) - i njejti sistem
   tokenesh si faqet publike, per te shmangur pamjen "e coptuar".
   ============================================================ */

* { box-sizing: border-box; }

body.rz-panel {
    font-family: var(--font-tekst);
    margin: 0;
    background: var(--rz-bg);
    color: var(--rz-text);
    -webkit-font-smoothing: antialiased;
}

/* Spinner gjate kalimit mes menuve/hapave (admin/super-admin dhe faqet publike) -
   shume me i dukshem se nje shirit i hollë, qe te ndjehet si app i instaluar, jo si faqe web. */
.rz-spinner-mbulese {
    position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--rz-bg) 60%, transparent); opacity: 0; transition: opacity .15s linear;
}
.rz-spinner-mbulese[hidden] { display: none; }
.rz-spinner-mbulese.aktiv { opacity: 1; }
.rz-spinner {
    width: 44px; height: 44px; border-radius: 50%;
    border: 4px solid var(--rz-border); border-top-color: var(--ngjyra-theksuese, #6366f1);
    animation: rz-spinner-rrotullo .7s linear infinite;
}
@keyframes rz-spinner-rrotullo { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .rz-spinner { animation-duration: 1.4s; }
}

.rz-panel table { width: 100%; border-collapse: collapse; background: var(--rz-surface); border-radius: var(--rz-radius); overflow: hidden; box-shadow: var(--rz-shadow-sm); margin-bottom: 1.5rem; }
.rz-panel th, .rz-panel td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--rz-border); font-size: .92rem; }
.rz-panel th { background: color-mix(in srgb, var(--rz-border) 45%, transparent); font-weight: 600; color: var(--rz-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
.rz-panel tbody tr { transition: background .12s; }
.rz-panel tbody tr:hover { background: color-mix(in srgb, var(--rz-border) 35%, transparent); }
.rz-panel tbody tr:last-child td { border-bottom: none; }

.rz-panel .karta { padding: 1.25rem 1.4rem; }
.rz-panel .karta h2 { margin-top: 0; font-size: 1.05rem; }

.rz-panel form.forma label,
.rz-panel label { display: block; font-size: .85rem; margin: 0 0 .3rem; color: var(--rz-muted); font-weight: 600; }
.rz-panel form.forma input, .rz-panel form.forma select, .rz-panel form.forma textarea,
.rz-panel input, .rz-panel select, .rz-panel textarea {
    width: 100%; max-width: 360px; padding: .55rem .7rem; margin-bottom: 1rem; border: 1px solid var(--rz-border);
    border-radius: var(--rz-radius-sm); background: var(--rz-surface); color: var(--rz-text); font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.rz-panel form.forma input:focus, .rz-panel form.forma select:focus, .rz-panel form.forma textarea:focus,
.rz-panel input:focus, .rz-panel select:focus, .rz-panel textarea:focus {
    outline: none; border-color: var(--ngjyra-theksuese, #6366f1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 20%, transparent);
}
.rz-panel .gabimet { color: #dc2626; font-size: .85rem; margin-bottom: 1rem; }

.rz-panel .stat-grafiku { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .85rem; margin-bottom: 1.5rem; }
.rz-panel .stat-karta { background: var(--rz-surface); border-radius: var(--rz-radius); box-shadow: var(--rz-shadow-sm); padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .2rem; }
.rz-panel .stat-ikona {
    width: 34px; height: 34px; border-radius: var(--rz-radius-sm); display: flex; align-items: center; justify-content: center;
    background: var(--brand-100); color: var(--brand-700); margin-bottom: .5rem;
}
.rz-panel .stat-etiketa { font-size: .78rem; color: var(--rz-muted); text-transform: uppercase; letter-spacing: .03em; }
.rz-panel .stat-shifra { font-size: 1.3rem; font-weight: 700; font-family: var(--font-titull); }
.rz-panel .stat-nen { font-size: .85rem; color: var(--ngjyra-theksuese, #6366f1); font-weight: 600; }

.rz-panel main { padding: 1rem; max-width: 1080px; margin: 0 auto; animation: a-hyrje .35s var(--rz-ease) both; }
@keyframes a-hyrje { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .rz-panel main { animation: none; } }
@media (min-width: 640px) { .rz-panel main { padding: 1.75rem; } }

/* ---- Pill statusi / Aktiv-Jo-aktiv ---- */
.pill {
    display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .65rem; border-radius: 999px;
    font-size: .78rem; font-weight: 700; white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-jeshile { background: color-mix(in srgb, #16a34a 14%, transparent); color: #16a34a; }
.pill-portokalli { background: color-mix(in srgb, #d97706 14%, transparent); color: #d97706; }
.pill-gri { background: color-mix(in srgb, #6b7280 16%, transparent); color: #6b7280; }
.pill-kuq { background: color-mix(in srgb, #dc2626 14%, transparent); color: #dc2626; }

/* ---- Kontroll i segmentuar (filtra periudhe etj) ---- */
.segmentuar { display: inline-flex; gap: .25rem; background: var(--rz-surface); border: 1px solid var(--rz-border); border-radius: 999px; padding: .25rem; box-shadow: var(--rz-shadow-sm); }
.segmentuar a {
    padding: .4rem .9rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .85rem;
    color: var(--rz-muted); transition: background .2s var(--rz-ease), color .2s var(--rz-ease), box-shadow .2s var(--rz-ease);
}
.segmentuar a:hover { color: var(--rz-text); }
.segmentuar a.aktiv {
    background: linear-gradient(135deg, var(--ngjyra-theksuese, #6366f1), color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 82%, #000 14%));
    color: #fff; box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 60%, transparent);
}

/* ---- Rreshti i nje njoftimi (Qendra e Njoftimeve) ---- */
.njoftim-lista { display: flex; flex-direction: column; gap: .6rem; }
.njoftim-rresht { padding: 1rem 1.1rem; display: flex; gap: .9rem; align-items: flex-start; }
.njoftim-ikona {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background: var(--brand-100); color: var(--brand-700);
}
.njoftim-mesi { flex: 1; min-width: 0; }
.njoftim-koka { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .3rem; }
.njoftim-lloji { font-weight: 700; font-size: .88rem; }
.njoftim-koha { font-size: .78rem; color: var(--rz-muted); }
.njoftim-destinatari { font-size: .82rem; color: var(--rz-muted); margin-bottom: .35rem; }
.njoftim-permbajtja {
    font-size: .85rem; color: var(--rz-text); background: var(--rz-bg); border-radius: var(--rz-radius-sm);
    padding: .6rem .75rem; white-space: pre-wrap; line-height: 1.45; margin: 0 0 .5rem;
}
.njoftim-veprim { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.njoftim-prova { font-size: .74rem; color: var(--rz-muted); }
@media (max-width: 560px) {
    .njoftim-rresht { flex-direction: column; }
    .njoftim-veprim { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
}

/* ---- Gjendje bosh (tabela pa te dhena) ---- */
.gjendje-bosh { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 2.25rem 1rem; color: var(--rz-muted); text-align: center; }
.gjendje-bosh svg { opacity: .45; }
.gjendje-bosh span { font-size: .9rem; }

/* ---- Sidebar admini (desktop) + shirit poshte (mobil) ---- */
.rz-panel-shell { display: flex; min-height: 100vh; }
.rz-sidebar {
    width: 232px; flex-shrink: 0; background: var(--rz-surface); border-right: 1px solid var(--rz-border);
    display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.rz-sidebar-brand { display: flex; align-items: center; gap: .65rem; padding: 1.1rem 1.15rem; border-bottom: 1px solid var(--rz-border); text-decoration: none; }
.rz-sidebar-brand img { height: 34px; width: 34px; border-radius: 8px; object-fit: cover; }
.rz-sidebar-brand strong { font-family: var(--font-titull); font-size: .98rem; line-height: 1.2; }
.rz-sidebar-nav { flex: 1; padding: .75rem; display: flex; flex-direction: column; gap: .15rem; overflow-y: auto; }
.rz-sidebar-nav a {
    display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; border-radius: var(--rz-radius-sm);
    color: var(--rz-muted); text-decoration: none; font-weight: 600; font-size: .9rem;
    transition: background .18s var(--rz-ease), color .18s var(--rz-ease), transform .18s var(--rz-ease);
}
.rz-sidebar-nav a svg { flex-shrink: 0; opacity: .85; }
.rz-sidebar-nav a:hover { background: var(--rz-bg); color: var(--rz-text); transform: translateX(2px); }
.rz-sidebar-nav a.aktiv {
    background: linear-gradient(135deg, var(--brand-100), color-mix(in srgb, var(--brand-100) 60%, transparent));
    color: var(--brand-700); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 18%, transparent);
}
.rz-nav-badge {
    background: #dc2626; color: #fff; border-radius: 999px; font-size: .68rem; font-weight: 700;
    min-width: 16px; height: 16px; line-height: 16px; text-align: center; padding: 0 .3rem; margin-left: auto;
}
.rz-bottomnav a, .rz-bottomnav button { position: relative; }
.rz-bottomnav .rz-nav-badge { position: absolute; top: 0; right: 6px; margin-left: 0; }
/* "Më shumë" ne anen e majte: lidhjet e rralla, te grupuara, te palosura derisa duhen. */
.rz-nav-me-shume { margin-top: .35rem; border-top: 1px solid var(--rz-border); padding-top: .35rem; }
.rz-nav-me-shume > summary {
    display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; border-radius: var(--rz-radius-sm);
    color: var(--rz-muted); font-weight: 600; font-size: .9rem; cursor: pointer; list-style: none;
}
.rz-nav-me-shume > summary::-webkit-details-marker { display: none; }
.rz-nav-me-shume > summary::after { content: "\25BE"; margin-left: auto; font-size: .75rem; transition: transform .18s var(--rz-ease); }
.rz-nav-me-shume[open] > summary::after { transform: rotate(180deg); }
.rz-nav-me-shume > summary .rz-nav-badge { margin-left: 0; }
.rz-nav-me-shume > summary:hover { background: var(--rz-bg); color: var(--rz-text); }
.rz-nav-me-shume a { padding-left: 1rem; }
.rz-nav-grupi {
    margin: .55rem .75rem .2rem; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    color: var(--rz-muted); opacity: .8;
}

.rz-sidebar-foot { padding: .75rem; border-top: 1px solid var(--rz-border); }
.rz-sidebar-foot button {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: .5rem;
    background: var(--rz-surface); border: 1.5px solid var(--rz-border); color: var(--rz-muted); padding: .55rem; border-radius: 999px;
    cursor: pointer; font-weight: 700; font-size: .85rem;
    transition: border-color .2s var(--rz-ease), color .2s var(--rz-ease), transform .18s var(--rz-ease), box-shadow .2s var(--rz-ease);
}
.rz-sidebar-foot button:hover {
    border-color: var(--ngjyra-theksuese, #6366f1); color: var(--ngjyra-theksuese, #6366f1);
    transform: translateY(-1px); box-shadow: var(--rz-shadow-sm);
}
.rz-sidebar-foot button:active { transform: translateY(0) scale(.97); }
.rz-panel-content { flex: 1; min-width: 0; }

.rz-topbar-mobil {
    display: none; align-items: center; justify-content: space-between; gap: .65rem; padding: .85rem 1rem;
    background: var(--rz-surface); border-bottom: 1px solid var(--rz-border); position: sticky; top: 0; z-index: 15;
}
.rz-topbar-mobil-brenda { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; min-width: 0; overflow: hidden; }
.rz-topbar-mobil img { height: 28px; width: 28px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.rz-topbar-mobil strong { font-family: var(--font-titull); font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rz-topbar-mobil-dil, .rz-topbar-mobil-mbrapa {
    flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: none; border: none;
    color: var(--rz-muted); padding: .4rem; border-radius: 999px; cursor: pointer;
}
.rz-topbar-mobil-dil:active, .rz-topbar-mobil-mbrapa:active { background: var(--rz-bg); }

.rz-bottomnav { display: none; }

@media (max-width: 879px) {
    .rz-sidebar { display: none; }
    .rz-topbar-mobil { display: flex; }
    .rz-panel-shell { flex-direction: column; min-height: 0; }
    /* Tabelat e gjera (shume kolona) s'duhet ta zgjerojne gjithe faqen
       anash - vetem vete tabela rreshqet horizontalisht, brenda kutise se
       vet. "display:block" mban table-layout-in normal per tbody/tr/td. */
    .rz-panel table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    /* Disa tabela (kalendari, kujtesat) shenjohen "rz-tabela-responsive" -
       ne vend te rreshqitjes horizontale, cdo rresht behet nje "karte" e
       shtruar vertikalisht, me etiketen e kolones para vleres. Kështu
       butoni i fundit (p.sh. WhatsApp) duket gjithmone direkt, pa lëvizje
       anash fare. */
    .rz-panel table.rz-tabela-responsive { overflow-x: visible; }
    .rz-panel table.rz-tabela-responsive thead { display: none; }
    .rz-panel table.rz-tabela-responsive, .rz-panel table.rz-tabela-responsive tbody,
    .rz-panel table.rz-tabela-responsive tr, .rz-panel table.rz-tabela-responsive td {
        display: block; width: 100%;
    }
    .rz-panel table.rz-tabela-responsive tr { border-bottom: 8px solid var(--rz-bg); padding: .75rem 1rem; }
    .rz-panel table.rz-tabela-responsive tr:last-child { border-bottom: none; }
    .rz-panel table.rz-tabela-responsive td {
        display: flex; justify-content: space-between; align-items: center; gap: .75rem;
        border-bottom: none; padding: .3rem 0; text-align: right;
    }
    .rz-panel table.rz-tabela-responsive td[data-label]::before {
        content: attr(data-label); font-weight: 600; color: var(--rz-muted); text-align: left;
        font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; flex-shrink: 0;
    }
    .rz-panel table.rz-tabela-responsive td:last-child:not(:empty) { justify-content: stretch; padding-top: .5rem; }
    .rz-panel table.rz-tabela-responsive td:last-child a.btn { width: 100%; text-align: center; }
    /* "fixed" (jo "sticky") - mbetet gjithmone ne fund te ekranit ndersa
       lëviz faqja, pavaresisht sa e gjate eshte permbajtja. Vetem 3-4 rrugë
       fikse (jo me shume, si dikur) - JO overflow-x: nje rreshqitje
       horizontale afer skajit te ekranit ne iOS perplaset me gjestin e
       sistemit "kthehu prapa" dhe mbyll vete app-in e instaluar. Rrugët e
       tjera jane brenda fletes "Më shumë" (shih .rz-sheet-*). */
    .rz-bottomnav {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; width: 100%; z-index: 15;
        background: var(--rz-surface); border-top: 1px solid var(--rz-border);
        padding: .4rem .25rem calc(.4rem + env(safe-area-inset-bottom));
    }
    .rz-bottomnav a, .rz-bottomnav button {
        flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: .25rem;
        padding: .45rem .3rem; border-radius: var(--rz-radius-sm); text-decoration: none; color: var(--rz-muted);
        font-size: .7rem; font-weight: 600; border: none; background: none; font-family: inherit; cursor: pointer;
    }
    .rz-bottomnav a.aktiv, .rz-bottomnav button.aktiv { color: var(--ngjyra-theksuese, #6366f1); }
    /* Vend rezervë poshte qe permbajtja te mos mbetet e fshehur pas shiritit fiks. */
    .rz-panel main { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }

    /* Fleta "Më shumë" - mbulesë e erret + panel qe rrëshqet nga poshte. */
    .rz-sheet-mbulese {
        position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,0); display: flex; align-items: flex-end;
        transition: background .2s var(--rz-ease);
    }
    .rz-sheet-mbulese[hidden] { display: none; }
    .rz-sheet-mbulese.e-hapur { background: rgba(0,0,0,.4); }
    .rz-sheet {
        width: 100%; background: var(--rz-surface); border-radius: var(--rz-radius-lg) var(--rz-radius-lg) 0 0;
        padding: 1rem 1.1rem calc(1.1rem + env(safe-area-inset-bottom)); box-shadow: var(--rz-shadow-lg);
        transform: translateY(100%); transition: transform .25s var(--rz-ease); max-height: 75vh; overflow-y: auto;
    }
    .rz-sheet-mbulese.e-hapur .rz-sheet { transform: translateY(0); }
    .rz-sheet-krye { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
    .rz-sheet-krye strong { font-family: var(--font-titull); font-size: 1.05rem; }
    .rz-sheet-krye button {
        border: none; background: var(--rz-bg); color: var(--rz-muted); width: 32px; height: 32px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center; cursor: pointer;
    }
    .rz-sheet-lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
    .rz-sheet-lista a {
        display: flex; flex-direction: column; align-items: center; gap: .4rem; text-decoration: none;
        color: var(--rz-text); padding: .9rem .4rem; border-radius: var(--rz-radius-sm); background: var(--rz-bg);
        font-size: .78rem; font-weight: 600; text-align: center;
    }
    .rz-sheet-lista a.aktiv { color: var(--ngjyra-theksuese, #6366f1); background: var(--brand-50); }
    .rz-sheet-lista a { position: relative; }
    .rz-sheet-lista .rz-nav-badge { position: absolute; top: .4rem; right: .4rem; margin-left: 0; }
    .rz-sheet-lista + .rz-sheet-grupi { margin-top: 1rem; }
    .rz-sheet-grupi {
        margin: 0 .2rem .45rem; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
        color: var(--rz-muted);
    }
}

/* ---- Shiriti impersonimi (super-admin duke pare si salon) ---- */
.shirit-impersonim {
    background: #b45309; color: #fff; padding: .55rem 1.5rem; font-size: .88rem;
    display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; text-align: center;
}
.shirit-impersonim button {
    background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.5); color: #fff;
    padding: .3rem .8rem; border-radius: var(--rz-radius-sm); cursor: pointer; font-weight: 600; font-size: .82rem; transition: background .15s;
}
.shirit-impersonim button:hover { background: rgba(255,255,255,.28); }

/* ---- Platforma (super-admin) - header i erret, dallues nga panelet e salloneve ---- */
.rz-platforma-header {
    background: #0b0f1a; color: #fff; padding: 1rem 1.5rem; display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
.rz-platforma-header h1 { font-size: 1.1rem; margin: 0; font-weight: 600; }

/* ============================================================
   MARKETING (home.html, aplikoni.html) - sfond "aurora" i gjalle,
   xham (glass), gradient-text. E vecante nga faqet e sallonve (qe
   perdorin brandin e vet) - kjo eshte identiteti i vet Rezervo-s.
   ============================================================ */

.rz-mkt {
    background: #050507; color: #f3f4f6; min-height: 100vh; position: relative;
    font-family: var(--font-tekst); -webkit-font-smoothing: antialiased;
}
.rz-mkt h1, .rz-mkt h2, .rz-mkt h3 { font-family: var(--font-titull); letter-spacing: -.02em; }
.rz-mkt a { color: inherit; }

.rz-mkt-aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.rz-blob {
    position: absolute; border-radius: 50%; filter: blur(85px); opacity: .5;
    animation: rz-blob-lundro 26s ease-in-out infinite alternate; will-change: transform;
}
.rz-blob-1 { width: 44vw; height: 44vw; top: -14%; left: -10%; background: radial-gradient(circle, #6366f1, transparent 70%); animation-duration: 28s; }
.rz-blob-2 { width: 38vw; height: 38vw; bottom: -12%; right: -8%; background: radial-gradient(circle, #ec4899, transparent 70%); animation-duration: 34s; animation-delay: -8s; }
.rz-blob-3 { width: 30vw; height: 30vw; top: 28%; right: 14%; background: radial-gradient(circle, #22d3ee, transparent 70%); animation-duration: 22s; animation-delay: -14s; }
@keyframes rz-blob-lundro {
    0% { transform: translate(0,0) scale(1); }
    50% { transform: translate(4%, 6%) scale(1.14); }
    100% { transform: translate(-4%, -3%) scale(.92); }
}
.rz-grain {
    position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { .rz-blob { animation: none; } }

.rz-mkt-nav {
    position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding: 1rem 1.5rem; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    background: rgba(5,5,7,.6); border-bottom: 1px solid rgba(255,255,255,.08);
}
.rz-mkt-logo { display: flex; align-items: center; gap: .55rem; font-family: var(--font-titull); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.rz-mkt-logo img { height: 30px; width: 30px; border-radius: 9px; }
.rz-logo-teksti { text-transform: uppercase; letter-spacing: .02em; }
.rz-logo-x-theksuese { color: #4c5bf5; }
.rz-mkt-nav-links { display: none; gap: 1.75rem; font-size: .92rem; font-weight: 600; color: #d1d5db; }
.rz-mkt-nav-links a { text-decoration: none; transition: color .15s; }
.rz-mkt-nav-links a:hover { color: #fff; }
@media (min-width: 760px) { .rz-mkt-nav-links { display: flex; } }

.rz-glass {
    position: relative; z-index: 2; background: rgba(255,255,255,.045);
    backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255,255,255,.1); border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.rz-glass-hover { transition: transform .35s var(--rz-ease), border-color .35s, background .35s; }
@media (hover: hover) {
    .rz-glass-hover:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.07); }
}

.rz-gradient-text {
    background: linear-gradient(135deg, #ffffff 10%, #c7d2fe 55%, #93c5fd 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.rz-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1.1rem; border-radius: 999px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); font-size: .82rem; font-weight: 700;
    color: #c7d2fe;
}

.rz-cta-glow {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important; color: #fff !important; border: none;
    box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 14px 40px -10px rgba(99,102,241,.7) !important;
}
@media (hover: hover) {
    .rz-cta-glow:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.22) inset, 0 18px 48px -8px rgba(99,102,241,.9) !important; filter: none !important; }
}

.rz-mkt input, .rz-mkt select, .rz-mkt textarea {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); color: #f3f4f6;
    border-radius: var(--rz-radius-sm); padding: .7rem .85rem; font-family: inherit; font-size: .95rem;
    width: 100%; transition: border-color .15s, box-shadow .15s, background .15s;
}
.rz-mkt input::placeholder, .rz-mkt textarea::placeholder { color: rgba(243,244,246,.4); }
.rz-mkt input:focus, .rz-mkt select:focus, .rz-mkt textarea:focus {
    outline: none; border-color: #8b5cf6; background: rgba(255,255,255,.08);
    box-shadow: 0 0 0 3px rgba(139,92,246,.25);
}
.rz-mkt select option { background: #16171d; color: #f3f4f6; }
.rz-mkt label { display: block; font-size: .85rem; font-weight: 600; color: #d1d5db; margin: 0 0 .35rem; }
.rz-platforma-badge { background: #dc2626; color: #fff; border-radius: 999px; padding: .05rem .5rem; font-size: .75rem; margin-left: .25rem; }

/* Modal konfirmimi - zevendeson window.confirm(), shih static/js/konfirmo.js */
.rz-konfirm-mbivendosje {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5);
    align-items: center; justify-content: center; z-index: 1000; padding: 1rem;
}
.rz-konfirm-mbivendosje.rz-konfirm-e-hapur { display: flex; }
.rz-konfirm-kutia {
    background: var(--rz-surface); border-radius: 12px; padding: 1.5rem; max-width: 360px; width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.rz-konfirm-mesazhi { margin: 0 0 1.25rem; font-size: .95rem; line-height: 1.45; white-space: pre-line; }
.rz-konfirm-butonat { display: flex; gap: .5rem; justify-content: flex-end; }
.rz-konfirm-vazhdo { background: #991b1b; color: #fff; }
/* Ne faqet publike (rezervim klienti) "Vazhdo" s'eshte veprim rreziku - perdor ngjyren e sallonit ne vend te te kuqes se admin-it. */
body.rz-publik .rz-konfirm-vazhdo { background: var(--ngjyra-kryesore, #1c1a17); color: #fff; }

/* ---- Fusha e fjalekalimit me buton "shfaq/fshih" (sy) - login, rivendos-fjalekalimin ---- */
.rz-fusha-fjalekalimi { position: relative; margin-bottom: 1.1rem; }
.rz-fusha-fjalekalimi input { margin-bottom: 0; padding-right: 2.6rem; width: 100%; }
.rz-fusha-fjalekalimi-btn {
    position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
    background: none; border: none; padding: .4rem; margin: 0; width: auto; display: flex;
    align-items: center; color: var(--rz-muted); cursor: pointer;
}
.rz-fusha-fjalekalimi-btn:hover { color: var(--rz-text); }
.rz-fusha-fjalekalimi-btn .sy-mbyllur { display: none; }
.rz-fusha-fjalekalimi-btn.rz-i-shfaqur .sy { display: none; }
.rz-fusha-fjalekalimi-btn.rz-i-shfaqur .sy-mbyllur { display: flex; }

/* =====================================================================
   Telefoni: pa zoom dhe pa levizje majtas-djathtas - per gjithe platformen.
   ===================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Rrjete sigurie: "clip" (jo "hidden") s'e kthen body-n ne kontejner rrotullimi, ndaj
   menute "sticky" dhe rrotullimi normal mbeten te paprekura. */
html, body { max-width: 100%; overflow-x: clip; }
img, video, canvas, iframe { max-width: 100%; }
/* Prekja: pa vonese / pa zmadhim me dy prekje mbi butona e lidhje; pa katrorin blu te iOS. */
a, button, input, select, textarea, label, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
/* Tekste te gjata (email, linqe, emra) thyhen ne vend qe ta shtyjne faqen anash. */
p, li, h1, h2, h3, strong, span, a, label, small { overflow-wrap: break-word; }
td, .rz-karte-shenim, .njoftim-permbajtja { overflow-wrap: anywhere; }

@media (max-width: 879px) {
    /* iOS zmadhon faqen kur preket nje fushe me shkronja nen 16px - 16px kudo ne telefon. */
    input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),
    select, textarea { font-size: 16px !important; }
    input[type=file] { max-width: 100%; font-size: 14px; }
    /* Fushat mbushin gjeresine e ekranit (jo 360px fikse qe del jashte ne telefona te ngushte). */
    .rz-panel input:not([type=checkbox]):not([type=radio]), .rz-panel select, .rz-panel textarea,
    .rz-main input:not([type=checkbox]):not([type=radio]), .rz-main select, .rz-main textarea { max-width: 100%; }
    .rz-tel-grup { max-width: 100%; }
    input[type=date], input[type=time], input[type=datetime-local], input[type=month] { min-width: 0; }
    /* Butona te medhenj per gisht (min. 44px). */
    .btn, .btn-dyte, button.btn, a.btn { min-height: 44px; }
    .btn:active, .btn-dyte:active, .opsion-btn:active, .ore-btn:active { transform: scale(.97); }
    /* Rreshti i koke se tabelave pa <thead> (kthyer ne karta nga js/tabelat-mobile.js). */
    .rz-panel tr.rz-koka-e-fshehur { display: none !important; }
    .rz-panel table.rz-tabela-responsive td { flex-wrap: wrap; min-width: 0; justify-content: flex-end; gap: .3rem .45rem; }
    .rz-panel table.rz-tabela-responsive td[data-label]::before { margin-right: auto; }
    /* Shiriti lart dhe menuja poshte: xham i turbullt, si aplikacionet e telefonit. */
    .rz-topbar-mobil, .rz-bottomnav {
        background: color-mix(in srgb, var(--rz-surface) 82%, transparent);
        -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
    }
    .rz-bottomnav a, .rz-bottomnav button { transition: color .2s var(--rz-ease), transform .15s var(--rz-ease); }
    .rz-bottomnav a:active, .rz-bottomnav button:active { transform: scale(.92); }
    .rz-bottomnav a.aktiv svg, .rz-bottomnav button.aktiv svg { transform: translateY(-1px); }
    /* Kalendari: nje punonjes poshte tjetrit (jo kolona qe rreshqasin anash). */
    .rz-kolonat-stafit { flex-direction: column; overflow-x: visible !important; }
    .rz-kolonat-stafit > .karta { min-width: 0 !important; }
    /* Kartat me tabela te kthyera ne karta s'kane me nevoje per rreshqitje anash. */
    .rz-panel .karta:has(> table.rz-tabela-responsive) { overflow-x: visible !important; }
    /* Tabelat qe mbeten tabela: brenda kartes, pa e shtyre faqen. */
    .rz-panel .karta { max-width: 100%; overflow-wrap: anywhere; }
}

/* Faqja publike: ditet si rrjete (jo shirit qe rreshqet anash). */
@media (max-width: 640px) {
    .dite-shirit { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); overflow: visible; padding: .1rem; }
    .dite-btn { min-width: 0; padding: .6rem .3rem; }
}

/* Hyrje e bute e permbajtjes ne faqet publike (si ne panel). */
.rz-publik main.rz-main { animation: a-hyrje .35s var(--rz-ease) both; }
@media (prefers-reduced-motion: reduce) { .rz-publik main.rz-main { animation: none; } }

/* ---- Kalimi mes faqeve: shirit lart (js/rz-ngarkimi.js) + kalim i bute (View Transitions) ---- */
.rz-shirit-ngarkimi {
    position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 10000; pointer-events: none; opacity: 0;
    background: linear-gradient(90deg, var(--ngjyra-theksuese, #6366f1), var(--ngjyra-kryesore, #a855f7), var(--ngjyra-theksuese, #6366f1));
    background-size: 200% 100%;
    box-shadow: 0 0 10px color-mix(in srgb, var(--ngjyra-theksuese, #6366f1) 70%, transparent);
    border-radius: 0 3px 3px 0;
}
.rz-shirit-ngarkimi.rz-shirit-ecen {
    opacity: 1;
    animation: rz-shirit-ec 2.4s cubic-bezier(.1, .7, .2, 1) forwards, rz-shirit-shkelqe 1s linear infinite;
}
@keyframes rz-shirit-ec { 0% { width: 0; } 20% { width: 45%; } 60% { width: 75%; } 100% { width: 92%; } }
@keyframes rz-shirit-shkelqe { to { background-position: -200% 0; } }
/* Rrethi ne mes: me i dukshem (karte e vogel me hije), jo vetem nje unaze e zbehte. */
.rz-spinner-mbulese { background: color-mix(in srgb, var(--rz-bg) 35%, transparent); }
.rz-spinner-mbulese .rz-spinner { box-shadow: 0 0 0 10px var(--rz-surface), 0 10px 30px rgba(0,0,0,.18); background: var(--rz-surface); }

/* Kalim i bute nga nje faqe te tjetra (Chrome/Android, Safari 18.2+); menuja lart/poshte mbeten ne vend. */
@view-transition { navigation: auto; }
.rz-topbar-mobil { view-transition-name: rz-topbar; }
.rz-bottomnav { view-transition-name: rz-bottomnav; }
.rz-sidebar { view-transition-name: rz-sidebar; }
::view-transition-old(root) { animation: 140ms ease-in both rz-vt-dal; }
::view-transition-new(root) { animation: 240ms cubic-bezier(.22, .9, .32, 1) both rz-vt-hyr; }
@keyframes rz-vt-dal { to { opacity: 0; transform: translateY(-6px); } }
@keyframes rz-vt-hyr { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
    .rz-shirit-ngarkimi.rz-shirit-ecen { animation-duration: 2.4s, 0s; }
}

/* ---- Parapamja e PDF-se (js/pdf-pamje.js) ---- */
html.rz-pa-rrotullim, html.rz-pa-rrotullim body { overflow: hidden; }
.rz-pamje {
    position: fixed; inset: 0; z-index: 1100; display: flex; flex-direction: column;
    background: color-mix(in srgb, #0b0d10 92%, transparent);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    animation: rz-pamje-hyr .22s var(--rz-ease) both;
}
.rz-pamje[hidden] { display: none; }
@keyframes rz-pamje-hyr { from { opacity: 0; transform: translateY(14px); } }
.rz-pamje-koka {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: calc(.7rem + env(safe-area-inset-top)) 1rem .7rem; color: #fff;
}
.rz-pamje-titulli { font-size: 1rem; }
.rz-pamje-mbyll {
    width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,.14); color: #fff;
    font-size: 1.6rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.rz-pamje-trupi { flex: 1; overflow: auto; padding: 0 .75rem 1rem; -webkit-overflow-scrolling: touch; text-align: center; }
.rz-pamje-trupi img {
    display: block; width: 100%; max-width: 820px; margin: 0 auto; border-radius: 6px; background: #fff;
    box-shadow: 0 12px 40px rgba(0,0,0,.45); opacity: 0; transform: scale(.98);
    transition: opacity .25s var(--rz-ease), transform .25s var(--rz-ease);
}
.rz-pamje-trupi img.rz-pamje-gati { opacity: 1; transform: none; }
.rz-pamje-zmadhuar .rz-pamje-trupi img { width: 200%; max-width: none; }
.rz-pamje-ngarkim { display: flex; justify-content: center; padding: 3rem 0; }
.rz-pamje-ngarkim[hidden] { display: none; }
.rz-pamje-gabim { color: #fff; padding: 2rem 1rem; }
.rz-pamje-gabim a { color: #a5b4fc; }
.rz-pamje-fundi {
    display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap;
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, #0b0d10 70%, transparent);
}
.rz-pamje-fundi .btn, .rz-pamje-fundi .btn-dyte { min-width: 140px; justify-content: center; }

/* ---- Karta te klikueshme (js/kartat-klikueshme.js) ---- */
[data-href] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rz-karte[data-href], .rz-rresht[data-href] { transition: transform .15s var(--rz-ease), box-shadow .15s var(--rz-ease), background .15s var(--rz-ease); }
@media (hover: hover) {
    .rz-karte[data-href]:hover { box-shadow: var(--rz-shadow-md); transform: translateY(-1px); }
    .rz-rresht[data-href]:hover { background: color-mix(in srgb, var(--rz-border) 35%, transparent); }
}
.rz-karte[data-href]:active, .rz-karte.rz-karta-e-prekur { transform: scale(.985); }
.rz-rresht[data-href]:active, .rz-rresht.rz-karta-e-prekur { background: color-mix(in srgb, var(--rz-border) 55%, transparent); }
[data-href]:focus-visible { outline: 2px solid var(--ngjyra-theksuese, #6366f1); outline-offset: 2px; }

/* ---- Shiriti "Ndiz njoftimet" (js/push-admin.js) ---- */
.rz-push-shirit {
    position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 40;
    width: min(560px, calc(100% - 1.5rem)); display: flex; align-items: center; gap: .6rem;
    background: var(--rz-surface); color: var(--rz-text); border: 1px solid var(--rz-border); border-radius: var(--rz-radius);
    box-shadow: var(--rz-shadow-lg); padding: .7rem .75rem .7rem 1rem; font-size: .9rem; animation: rz-pamje-hyr .25s var(--rz-ease) both;
}
.rz-push-shirit span { flex: 1; }
.rz-push-shirit .btn { padding: .5rem 1rem; min-height: 40px; }
.rz-push-mbyll { background: none; border: none; color: var(--rz-muted); font-size: 1.4rem; cursor: pointer; padding: .2rem .4rem; }
@media (max-width: 879px) { .rz-push-shirit { bottom: calc(4.7rem + env(safe-area-inset-bottom)); } }

/* Krahasimi para/pas (Moduli Estetik) - rreshqitesi pret foton "pas" (js/para-pas.js). */
.rz-para-pas-krahasim { grid-column:1 / -1; flex-basis:100%; display:flex; flex-direction:column; align-items:flex-start; gap:.6rem; margin-top:.6rem; }
.rz-para-pas-rreshqites { position:relative; width:100%; max-width:360px; aspect-ratio:3/4; border-radius:14px; overflow:hidden; background:#000; user-select:none; }
.rz-para-pas-rreshqites img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; pointer-events:none; }
.rz-para-pas-rreshqites .pas { clip-path:inset(0 0 0 50%); }
.rz-para-pas-rreshqites .vija { position:absolute; top:0; bottom:0; left:50%; width:3px; background:#fff; transform:translateX(-50%); pointer-events:none; }
.rz-para-pas-rreshqites .vija::after { content:"‹ ›"; position:absolute; top:50%; left:50%; transform:translate(-50%, -50%); background:#fff;
    color:#0b0f1a; font-weight:800; border-radius:999px; padding:.3rem .55rem; font-size:.85rem; white-space:nowrap; }
.rz-para-pas-rreshqites input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:ew-resize; margin:0; }
.rz-para-pas-rreshqites .etiketa { position:absolute; top:.6rem; padding:.2rem .6rem; border-radius:999px; background:rgba(11,15,26,.7); color:#fff;
    font-weight:800; font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; pointer-events:none; }
.rz-para-pas-rreshqites .e-para { left:.6rem; } .rz-para-pas-rreshqites .e-pas { right:.6rem; }

/* Butoni i WhatsApp-it dhe lidhja e vogel - te perbashketa per te gjitha faqet e panelit. */
.btn-wa { background:#16a34a !important; border-color:#16a34a !important; color:#fff !important; }
.rz-lidhje-e-vogel { background:none; border:none; padding:0; color:var(--rz-muted); text-decoration:underline; cursor:pointer;
                     font-size:.85rem; font-weight:400; min-height:0; box-shadow:none; }
