/* components.css — komponentët e përbashkët (auditi 10/2026, F3/F8).
 *
 * Përdoren nga Tag Helper-at <gm-status>, <gm-stars>, <gm-price>, <gm-avatar>, <gm-empty>
 * (GjejMjeshtrin/TagHelpers) dhe nga faqet. Shiko të gjithë në /dev/components (vetëm admin).
 * Vjen i fundit te bundle-i, pas theme/premium/content.
 */

/* ------------------------------------------------------------------ aksesueshmëria */

.gm-skip {
    position: absolute;
    left: var(--space-3);
    top: -100px;
    z-index: 2000;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.gm-skip:focus { top: var(--space-3); color: #fff; }

/* Unaza e fokusit vetëm për tastierë (jo për klikim me maus). :where() = specificitet 0,
   që çdo stil i komponentit të mund ta mbishkruajë pa !important. */
:where(a, button, [role="button"], input, select, textarea, summary, [tabindex]):focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

/* ------------------------------------------------------------------ butonat */

.gm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: var(--tap);
    padding: 0 var(--space-5);
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font: 700 var(--fs-sm)/1 var(--font-sans);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.gm-btn:active { transform: translateY(1px); }
.gm-btn[disabled], .gm-btn[aria-busy="true"] { opacity: .65; cursor: not-allowed; }
.gm-btn--accent { background: var(--accent-fill); color: #fff; }
.gm-btn--accent:hover { background: var(--accent-fill-press); color: #fff; }
.gm-btn--ink { background: var(--ink); color: var(--paper); }
.gm-btn--ink:hover { background: var(--accent-fill); color: #fff; }
.gm-btn--ghost { background: var(--card); color: var(--tx); border-color: var(--line); }
.gm-btn--ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.gm-btn--danger { background: var(--danger-tint); color: var(--danger); }
.gm-btn--danger:hover { background: var(--danger); color: #fff; }
.gm-btn--sm { min-height: 36px; padding: 0 var(--space-4); }
.gm-btn--block { width: 100%; }

.gm-linkbtn {
    background: none;
    border: 0;
    padding: 0;
    color: var(--blue);
    font: inherit;
    font-size: var(--fs-sm);
    cursor: pointer;
}
.gm-linkbtn:hover { text-decoration: underline; }
html[data-theme="dark"] .gm-linkbtn { color: var(--info); }

.gm-spin {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: gm-spin .7s linear infinite;
    vertical-align: -.125em;
}
@keyframes gm-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ statusi i kërkesës */

.gm-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font: 500 var(--fs-xs)/1.2 var(--font-mono);
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
}
.gm-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}
.gm-status--open { background: var(--success-tint); color: var(--success); }
.gm-status--talks { background: var(--info-tint); color: var(--info); }
.gm-status--progress { background: var(--warn-tint); color: var(--warn); }
.gm-status--done { background: var(--paper-2); color: var(--tx-soft); }
.gm-status--cancelled { background: var(--danger-tint); color: var(--danger); }

/* ------------------------------------------------------------------ yjet, çmimi, avatari */

.gm-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--gold, #F4B63A);
    font-size: var(--fs-sm);
}
.gm-stars .is-empty { color: var(--line); }
.gm-stars__value { margin-left: 6px; color: var(--tx-soft); font: 500 var(--fs-xs) var(--font-mono); }

.gm-price {
    font-family: var(--font-mono);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.gm-price__unit { margin-left: 2px; opacity: .75; }

.gm-avatar {
    display: inline-grid;
    place-items: center;
    flex: none;
    overflow: hidden;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    font-weight: 800;
    text-transform: uppercase;
}
.gm-avatar img { width: 100%; height: 100%; object-fit: cover; }

.gm-img-fallback {
    display: inline-grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-weight: 800;
    text-transform: uppercase;
}

/* ------------------------------------------------------------------ gjendja bosh */

.gm-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-7) var(--space-5);
    text-align: center;
    color: var(--tx-soft);
}
.gm-empty__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-tint);
    color: var(--accent-text);
    font-size: 1.6rem;
}
.gm-empty__title { margin: 0; color: var(--tx); font-size: var(--fs-lg); font-weight: 800; font-stretch: 108%; }
.gm-empty__text { margin: 0; max-width: 42ch; }

/* ------------------------------------------------------------------ fushat e formave */

.gm-counter {
    display: block;
    margin-top: 4px;
    text-align: right;
    color: var(--tx-faint);
    font: 500 var(--fs-xs) var(--font-mono);
}
.gm-counter.is-near { color: var(--warn); }

/* ------------------------------------------------------------------ bisedat (popup + faqja e plotë) */

.gm-day {
    align-self: center;
    margin: var(--space-2) 0;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    background: var(--paper-2);
    color: var(--tx-soft);
    font: 500 var(--fs-xs) var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.msg-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    color: var(--tx-faint);
    font: 500 10.5px/1 var(--font-mono);
}
.msg-group.you .msg-meta { justify-content: flex-end; }
.msg-tick { letter-spacing: -2px; }
.msg-tick.read { color: var(--blue); }
.msg-group.failed .msg-bubble { opacity: .6; }
.msg-group.failed .msg-tick { color: var(--danger); letter-spacing: 0; }

.gm-chatpage__log .msg-group { display: flex; flex-direction: column; }
.gm-chatpage__log .msg-group.you { align-self: flex-end; align-items: flex-end; }
.gm-chatpage__log .msg-group.them { align-self: flex-start; }
.gm-chatpage__log .msg-wrapper { display: flex; flex-direction: column; min-width: 0; }
.gm-chatpage__log .msg-bubble {
    padding: 10px 14px;
    font-size: 15px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}
.gm-chatpage__log .you .msg-bubble { background: var(--accent-fill); color: #fff; border-radius: 18px 18px 5px 18px; }
.gm-chatpage__log .them .msg-bubble { background: var(--card); color: var(--tx); border: 1px solid var(--line); border-radius: 18px 18px 18px 5px; }
.gm-chatpage__log .like-msg { background: transparent !important; border: 0 !important; color: var(--accent-text) !important; font-size: 34px; padding: 0 4px; }

.fb-chat-window .status-request {
    display: block;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fb-chat-window .status-request::before { display: none; }

/* ------------------------------------------------------------------ zilja e njoftimeve */

.gm-badge-count {
    min-width: 18px;
    padding: 2px 5px;
    border: 2px solid var(--card);
    border-radius: var(--radius-pill);
    background: var(--danger);
    color: #fff;
    font: 700 10.5px/1.2 var(--font-sans);
    text-align: center;
}

.gm-notif-menu {
    /* Sfondi nga tokenat — me sfondin e bardhë të Bootstrap teksti i çelët i temës së errët s'lexohej. */
    background: var(--card, #fff);
    color: var(--tx);
    width: min(340px, calc(100vw - 24px));
    max-height: 420px;
    overflow-y: auto;
    padding: var(--space-2);
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.gm-notif-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) var(--space-3) var(--space-3);
    border-bottom: 1px solid var(--line-2);
    margin-bottom: var(--space-1);
}
.gm-notif-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-6) var(--space-4);
    color: var(--tx-soft);
    font-size: var(--fs-sm);
}
.gm-notif-empty i { font-size: 1.4rem; color: var(--tx-faint); }
.gm-notif-item {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    white-space: normal;
}
.gm-notif-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 50%;
    background: var(--accent-tint);
    color: var(--accent-text);
}
.gm-notif-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gm-notif-title { font-weight: 700; font-size: var(--fs-sm); color: var(--tx); }
.gm-notif-msg { font-size: var(--fs-sm); color: var(--tx-soft); }
.gm-notif-time { font: 500 var(--fs-xs) var(--font-mono); color: var(--tx-faint); }
/* Të palexuarat: sfond i lehtë + pikë; të lexuarat mbeten, por të zbehura. */
.gm-notif-item { position: relative; }
/* Përzier me --card (jo me --accent-tint, që mbetet e çelët edhe në temën e errët). */
.gm-notif-item.is-unread { background: color-mix(in oklab, var(--accent, #EC6A2C) 9%, var(--card, #fff)); }
.gm-notif-item.is-unread::after {
    content: "";
    position: absolute;
    top: 50%;
    right: var(--space-3);
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--accent-fill);
}
.gm-notif-item.is-unread .gm-notif-body { padding-right: var(--space-4); }
.gm-notif-item.is-unread .gm-notif-time { color: var(--tx-soft); }
.gm-notif-item.is-read .gm-notif-title { font-weight: 600; color: var(--tx-soft); }
.gm-notif-item.is-read .gm-notif-icon { background: var(--line-2); color: var(--tx-faint); }
.gm-notif-foot {
    padding: var(--space-3) var(--space-3) var(--space-1);
    border-top: 1px solid var(--line-2);
    margin-top: var(--space-1);
    color: var(--tx-faint);
    font-size: var(--fs-xs);
    text-align: center;
}

/* ------------------------------------------------------------------ vija kohore e statusit */

.gm-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}
.gm-timeline li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-size: var(--fs-xs);
    color: var(--tx-faint);
}
.gm-timeline li::before {
    counter-increment: step;
    content: counter(step);
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: var(--card);
    font: 700 var(--fs-xs) var(--font-mono);
    z-index: 1;
}
.gm-timeline li::after {
    content: "";
    position: absolute;
    top: 15px;
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
    height: 2px;
    background: var(--line);
}
.gm-timeline li:last-child::after { display: none; }
.gm-timeline li.is-done { color: var(--tx-soft); }
.gm-timeline li.is-done::before { content: "✓"; border-color: var(--accent); background: var(--accent-fill); color: #fff; }
.gm-timeline li.is-done::after { background: var(--accent); }
.gm-timeline li.is-current { color: var(--tx); font-weight: 700; }
.gm-timeline li.is-current::before { border-color: var(--accent); color: var(--accent-text); box-shadow: var(--focus-ring); }
.gm-timeline.is-cancelled li::before { border-color: var(--danger); }

/* ------------------------------------------------------------------ krahasimi i ofertave */

.gm-compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-sm); }
.gm-compare caption { caption-side: top; padding: 0 0 var(--space-2); color: var(--tx-soft); font-size: var(--fs-xs); text-align: left; }
.gm-compare th, .gm-compare td { padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: middle; }
.gm-compare thead th { color: var(--tx-faint); font: 500 var(--fs-xs) var(--font-mono); text-transform: uppercase; letter-spacing: .04em; }
.gm-compare .is-best { color: var(--success); font-weight: 700; }
.gm-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ------------------------------------------------------------------ udhëzuesi i komponentëve (/dev/components) */

.gm-kit { max-width: 1100px; margin: 0 auto; padding: var(--space-6) var(--space-4); }
.gm-kit section { margin-bottom: var(--space-7); }
.gm-kit h2 { font-size: var(--fs-xl); font-weight: 800; font-stretch: 108%; margin-bottom: var(--space-4); }
.gm-kit .row-demo { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.gm-kit .swatch { width: 120px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); font: 500 var(--fs-xs) var(--font-mono); }
.gm-kit .swatch span { display: block; height: 56px; }
.gm-kit .swatch code { display: block; padding: 6px 8px; color: var(--tx-soft); }

/* ------------------------------------------------------------------ asistenti i ndihmës */

/* Butoni i ndihmës — hap asistentin (js/help-bot.js); pa JS çon te kapitulli i manualit për
 * faqen ku ndodhet përdoruesi. Zhvendosur nga content.css: _FocusLayout (regjistrimi, hyrja) s'e ngarkon atë.
 * Në celular ngrihet mbi shiritin e poshtëm — ai rri sipër përmbajtjes, ndaj pa këtë
 * zhvendosje butoni do të mbulohej pikërisht atje ku ekrani është më i vogël.
 */
.gm-help-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1030;              /* mbi bottom-nav-in, nën modalet e Bootstrap-it (1055) */

    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;

    background: var(--accent-fill);
    color: #fff;
    font-weight: 600;
    font-size: .93rem;
    text-decoration: none;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
    transition: transform .15s ease, box-shadow .15s ease;
}

.gm-help-fab:hover,
.gm-help-fab:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .5);
}

.gm-help-fab:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    .gm-help-fab {
        /* Mbi shiritin e poshtëm celular. */
        bottom: calc(76px + env(safe-area-inset-bottom));
        right: 14px;
        padding: 12px;
    }

    /* Në ekran të ngushtë mbetet vetëm ikona — teksti do të hante hapësirë të çmuar. */
    .gm-help-fab-text {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

/* _FocusLayout s'ka shiritin e poshtëm celular — butoni rri në cep. */
@media (max-width: 991.98px) {
    .gm-focus-body .gm-help-fab { bottom: calc(18px + env(safe-area-inset-bottom)); }
}
/* Kur asistenti është hapur, butoni fshihet në celular (paneli zë ekranin). */
@media (max-width: 575.98px) {
    .gm-bot-open .gm-help-fab { display: none; }
}

.gm-bot {
    position: fixed;
    right: 18px;
    bottom: 84px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    width: min(380px, calc(100vw - 24px));
    height: min(560px, calc(100vh - 120px));
    border-radius: var(--radius-lg);
    background: var(--card, #fff);
    color: var(--tx);
    box-shadow: 0 24px 60px -18px rgba(19, 28, 51, .45), 0 0 0 1px var(--line-2, rgba(19, 28, 51, .06));
    overflow: hidden;
    animation: gm-bot-in .2s ease;
}
.gm-bot[hidden] { display: none; }
/* _FocusLayout s'ngarkon Bootstrap-in — etiketa e fushës fshihet vetë (mbetet për lexuesit e ekranit). */
.gm-bot .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.gm-bot__backdrop { display: none; }
@keyframes gm-bot-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes gm-bot-fade { from { opacity: 0; } }

.gm-bot__head {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
    background: #131C33; /* Natë — e errët në të dyja temat (--ink çelet në temën e errët) */
    color: #fff;
}
.gm-bot__avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 50%;
    background: var(--accent-fill);
    font-size: 1.1rem;
}
.gm-bot__who { flex: 1; min-width: 0; }
.gm-bot__title { margin: 0; font-size: var(--fs-md); font-weight: 800; color: #fff; }
.gm-bot__status { display: block; font-size: var(--fs-xs); color: rgba(255, 255, 255, .72); }
.gm-bot__icon {
    display: grid;
    place-items: center;
    width: var(--tap);
    height: var(--tap);
    flex: none;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.gm-bot__icon:hover { background: rgba(255, 255, 255, .12); }
.gm-bot__icon:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

.gm-bot__log {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4);
    overflow-y: auto;
    background: var(--paper, #F8F5EF);
    overscroll-behavior: contain;
}
.gm-bot__log:focus-visible { outline: none; box-shadow: inset var(--focus-ring); }

.gm-bot__msg {
    align-self: flex-start;
    max-width: 92%;
    padding: var(--space-3) var(--space-4);
    border-radius: 4px var(--radius-md) var(--radius-md) var(--radius-md);
    background: var(--card, #fff);
    box-shadow: var(--shadow-sm);
    font-size: var(--fs-sm);
    line-height: 1.5;
}
.gm-bot__msg p { margin: 0; }
.gm-bot__msg.is-user {
    align-self: flex-end;
    border-radius: var(--radius-md) 4px var(--radius-md) var(--radius-md);
    background: var(--accent-fill);
    color: #fff;
}
.gm-bot__steps { margin: var(--space-2) 0 0; padding-left: 1.25em; }
.gm-bot__steps li + li { margin-top: 4px; }
.gm-bot__steps.is-plain { padding-left: 0; list-style: none; font-weight: 600; }
.gm-bot__msg.is-typing { display: inline-flex; gap: 4px; padding: var(--space-3) var(--space-4); }
.gm-bot__msg.is-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tx-faint);
    animation: gm-bot-dot 1s infinite ease-in-out;
}
.gm-bot__msg.is-typing span:nth-child(2) { animation-delay: .15s; }
.gm-bot__msg.is-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes gm-bot-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.gm-bot__choices { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: var(--space-2); }
.gm-bot__choice {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 40px;
    padding: 6px var(--space-4);
    border: 1px solid color-mix(in oklab, var(--accent, #EC6A2C) 45%, transparent);
    border-radius: var(--radius-pill);
    background: var(--card, #fff);
    color: var(--accent-text);
    font-size: var(--fs-sm);
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.gm-bot__choice:hover:not(:disabled) { background: var(--accent-fill); border-color: var(--accent-fill); color: #fff; }
.gm-bot__choice.is-link { border-style: dashed; }
.gm-bot__choice .gm-bot__ext { font-size: .8em; opacity: .7; }
/* Zgjedhjet e mëparshme: mbeten si histori, por s'klikohen më. */
.gm-bot__choices.is-done .gm-bot__choice:not(.is-link) { opacity: .5; cursor: default; }
.gm-bot__choice:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.gm-bot__ask {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-3);
    border-top: 1px solid var(--line-2, rgba(19, 28, 51, .06));
    background: var(--card, #fff);
}
.gm-bot__ask input {
    flex: 1;
    min-width: 0;
    min-height: var(--tap);
    padding: 0 var(--space-4);
    border: 1px solid var(--line, rgba(19, 28, 51, .10));
    border-radius: var(--radius-pill);
    background: var(--paper, #F8F5EF);
    color: var(--tx);
    font: inherit;
    font-size: var(--fs-sm);
}
.gm-bot__ask input:focus { outline: var(--focus-outline); outline-offset: 1px; }
.gm-bot__ask button {
    display: grid;
    place-items: center;
    width: var(--tap);
    height: var(--tap);
    flex: none;
    border: 0;
    border-radius: 50%;
    background: var(--accent-fill);
    color: #fff;
    cursor: pointer;
}
.gm-bot__ask button:hover { background: var(--accent-fill-press); }
.gm-bot__call {
    margin: 0;
    padding: var(--space-2) var(--space-3) 0;
    background: var(--card, #fff);
    color: var(--tx-soft);
    font-size: var(--fs-sm);
    text-align: center;
}
.gm-bot__call[hidden] { display: none; }
.gm-bot__call a {
    color: var(--accent-text);
    font-family: var(--font-mono);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.gm-bot__call a:hover { text-decoration: underline; }
.gm-bot__manual {
    display: block;
    padding: 0 var(--space-3) var(--space-3);
    background: var(--card, #fff);
    color: var(--tx-soft);
    font-size: var(--fs-xs);
    text-align: center;
    text-decoration: none;
}
.gm-bot__manual:hover { color: var(--accent-text); }

@media (max-width: 991.98px) {
    .gm-bot { bottom: calc(140px + env(safe-area-inset-bottom)); right: 12px; }
    .gm-focus-body .gm-bot { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
/* Telefon: fletë nga poshtë, mbi shiritin e poshtëm. */
@media (max-width: 575.98px) {
    .gm-bot__backdrop:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1059;
        background: rgba(10, 14, 28, .5);
        animation: gm-bot-fade .2s ease;
    }
    .gm-bot,
    .gm-focus-body .gm-bot {
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        height: min(82vh, calc(100dvh - 60px));
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        padding-bottom: env(safe-area-inset-bottom);
        z-index: 1060;
    }
}

@media print {
    .gm-help-fab, .gm-bot { display: none; }
}

/* ---- Badges që menaxhon admini (_Badges.cshtml) ---- */
.gm-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gm-badge-chip {
    --bc: var(--blue, #2447A8);
    display: inline-flex; align-items: center; gap: 5px; max-width: 100%;
    padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.5;
    color: var(--bc); background: color-mix(in srgb, var(--bc) 13%, transparent);
    border: 1px solid color-mix(in srgb, var(--bc) 30%, transparent);
}
.gm-badge-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-theme="dark"] .gm-badge-chip { color: color-mix(in srgb, var(--bc) 55%, #fff); }
.gm-badges.is-compact .gm-badge-chip { font-size: 11px; padding: 2px 7px; }
.pc-badges { margin-top: 8px; }
.pc-badges .gm-badge-chip { font-size: 11px; padding: 2px 8px; }
.pbadges { margin-top: 10px; }

/* Banderola e pëlqimit për analitikën (_SiteAnalytics, js/analytics.js) — strategjia SEO për mjeshtrit, 9. */
.gm-consent {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(var(--gm-safe-b, 0px) + 12px);
    z-index: 1090;
    max-width: 640px;
    margin: 0 auto;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--card, #fff);
    color: var(--tx, #131C33);
    border: 1px solid var(--line, rgba(19, 28, 51, .12));
    box-shadow: 0 18px 40px -18px rgba(19, 28, 51, .45);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    font-size: .9rem;
}
.gm-consent[hidden] { display: none; }
.gm-consent p { margin: 0; flex: 1 1 260px; }
.gm-consent a { color: var(--accent-text); }
.gm-consent-actions { display: flex; gap: 8px; }
@media (max-width: 991.98px) {
    .gm-consent { bottom: calc(var(--gm-tabbar-h, 62px) + var(--gm-safe-b, 0px) + 10px); }
}
