/* ════════════════════════════════════════════════════════════════
   Tema e frymëzuar nga SAP Fiori 3 · Quartz Light
   (vetëm stili vizual: ngjyrat, hijet, format — pa logo apo markë SAP)
   Ngarkohet pas style.css dhe mbishkruan pamjen.
   ════════════════════════════════════════════════════════════════ */
:root {
  --bg: #f7f7f7;
  --surface: #ffffff;
  --surface-2: #f7f7f7;
  --border: #e5e5e5;
  --border-strong: #89919a;
  --text: #32363a;
  --text-2: #6a6d70;
  --text-3: #8c8f92;
  --primary: #0a6ed1;
  --primary-2: #0854a0;
  --primary-soft: #e5f0fa;
  --side: #354a5f;
  --side-2: #283848;
  --ok: #107e3e;   --ok-soft: #f1fdf6;
  --warn: #e9730c; --warn-soft: #fef7f1;
  --bad: #bb0000;  --bad-soft: #ffebeb;
  --info: #0a6ed1; --info-soft: #f5faff;
  --radius: 4px;
  --f-shadow0: 0 0 0.125rem 0 rgba(0,0,0,.1), 0 0.125rem 0.25rem 0 rgba(0,0,0,.12);
  --f-shadow1: 0 0 0 0.0625rem rgba(0,0,0,.06), 0 0.125rem 0.5rem 0 rgba(0,0,0,.1);
  --f-shadow2: 0 0 0 0.0625rem rgba(0,0,0,.06), 0 0.625rem 1.875rem 0 rgba(0,0,0,.15);
  --f-ease: cubic-bezier(.4, 0, .2, 1);
  --font: "72", "72full", -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
  --shadow: var(--f-shadow0);
}
body { background: var(--bg); color: var(--text); font: 14px/1.4286 var(--font); }
h1 { font-size: 20px; font-weight: 400; letter-spacing: 0; color: var(--text); }
h2 { font-size: 16px; font-weight: 700; letter-spacing: 0; }
h3 { font-size: 14px; font-weight: 700; letter-spacing: 0; }
a { color: var(--primary); }
::selection { background: #cce3f8; }
* { scrollbar-width: thin; scrollbar-color: #949494 transparent; }

/* ——— Shell bar ——— */
.top { height: 44px; background: var(--side); box-shadow: 0 1px 2px rgba(0,0,0,.35); padding-right: 8px; gap: 2px; }
.shell { grid-template-rows: 44px 1fr; }
.top .brand { font-size: 16px; font-weight: 700; gap: 10px; }
.top .brand .logo { width: 30px; height: 30px; border-radius: 4px; background: #fff; color: var(--side); font-size: 15px; }
.toptabs a { color: #fff; font-weight: 400; font-size: 14px; padding: 0 14px; border-bottom: 0; position: relative; transition: background .15s var(--f-ease); }
.toptabs a:hover { background: var(--side-2); }
.toptabs a.active { background: transparent; }
.toptabs a.active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #fff; }
.toptabs .cnt, .tree .cnt { background: #bb0000; border-radius: 9px; line-height: 16px; min-width: 16px; text-align: center; font-weight: 700; }
.top-new { background: var(--primary) !important; border-radius: 4px; font-weight: 400 !important; height: 30px !important; }
.top-new::after { display: none; }
.top-new:hover { background: #085caf !important; }
.topright { gap: 6px; }
.topright a { font-weight: 400; padding: 6px 10px; border-radius: 4px; text-decoration: none; }
.topright a:hover { background: var(--side-2); }
.topright button { border: 0; border-radius: 4px; font-weight: 400; padding: 6px 10px; color: #fff; }
.topright button:hover { background: var(--side-2); }
.sec-chip { border-radius: 4px; font-weight: 400; }
.sec-seller { background: rgba(255,255,255,.12); color: #fff; }
.sec-buyer { background: rgba(255,255,255,.12); color: #fff; }

/* ——— Navigimi anësor ——— */
.tree { top: 44px; height: calc(100vh - 44px); background: #fff; border-right: 0; box-shadow: 1px 0 0 #d9d9d9, 2px 0 6px rgba(0,0,0,.04); padding: 4px 0 20px; font-size: 14px; }
.tree ul { padding-left: 0; }
.tree ul ul .lbl { padding-left: 28px; }
.tree .lbl { border-radius: 0; border: 0; margin: 0; padding: 0 16px; min-height: 44px; gap: 12px; color: var(--text); transition: background .12s var(--f-ease); }
.tree .lbl:hover { background: #f5f5f5; }
.tree a.lbl.active { background: var(--primary-soft); border: 0; font-weight: 400; color: var(--primary-2); box-shadow: inset 3px 0 0 var(--primary-2); }
.tree a.lbl.active .fi { box-shadow: none; }
.tree .fi { width: 24px; height: 24px; }
.tree .tg { border-color: #89919a; border-radius: 2px; }
.tree-head { padding: 4px 8px 0; }
.tree-refresh { color: var(--primary); }
.tree-refresh:hover { background: var(--primary-soft); }
.tree .root { padding-top: 4px; }
.tree .root > li > .lbl { padding-left: 16px; }

/* ——— Faqja ——— */
.content { padding: 16px 32px 48px; }
/* Koka e faqes si "Dynamic Page header": brez i bardhë në gjithë gjerësinë */
.content > .page-head:first-child, .content > .crumbs:first-child { margin: -16px -32px 16px; padding: 16px 32px; background: #fff; box-shadow: inset 0 -1px 0 #d9d9d9; }
.content > .crumbs:first-child { margin-bottom: 0; padding-bottom: 0; box-shadow: none; font-size: 14px; }
.content > .crumbs:first-child + .page-head { margin: 0 -32px 16px; padding: 4px 32px 16px; background: #fff; box-shadow: inset 0 -1px 0 #d9d9d9; }
.content > .crumbs:first-child + .card.hero { margin: 0 -32px 16px; border-radius: 0; box-shadow: inset 0 -1px 0 #d9d9d9; padding: 8px 32px 20px; }
.page-head .sub { color: var(--text-2); font-size: 14px; }
.crumbs a { color: var(--primary); }

/* ——— Karta / panele ——— */
.card { border: 0; border-radius: 4px; box-shadow: var(--f-shadow0); }
.card-head { border-bottom: 1px solid var(--border); padding: 12px 16px; }
.card-head h2 { font-size: 16px; }
.card-body, .card-pad { padding: 16px; }
.hero .fig .l { font-size: 14px; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--text-2); }
.hero .fig .v { font-size: 20px; font-weight: 400; color: var(--text); }
.hero h1 { font-size: 20px; }

/* ——— Butonat ——— */
.btn { height: 36px; padding: 0 12px; border-radius: 4px; border: 1px solid var(--primary); background: #fff; color: var(--primary); font: 400 14px var(--font); gap: 6px; transition: background .12s var(--f-ease), box-shadow .12s var(--f-ease); }
.btn:hover { background: #ebf5fe; border-color: var(--primary); }
.btn:active { background: var(--primary); color: #fff; }
.btn:focus-visible { outline: 1px dotted #000; outline-offset: -4px; }
.btn:disabled { opacity: .4; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
.btn.primary:hover { background: #085caf; border-color: #085caf; }
.btn.primary:active { background: var(--primary-2); }
.btn.primary:focus-visible { outline-color: #fff; }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.ok:hover { background: #0d6733; border-color: #0d6733; }
.btn.danger { background: #fff; border-color: var(--bad); color: var(--bad); }
.btn.danger:hover { background: var(--bad-soft); }
.btn.danger-solid { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.danger-solid:hover { background: #a20000; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--primary); }
.btn.ghost:hover { background: rgba(10,110,209,.1); }
.btn.sm { height: 26px; padding: 0 8px; font-size: 13px; border-radius: 4px; }
.btn.lg { height: 40px; padding: 0 18px; font-size: 14px; }

/* ——— Fushat ——— */
input, select, textarea { font: 14px var(--font); color: var(--text); border: 1px solid var(--border-strong); border-radius: 4px; background: #fff; padding: 0 10px; height: 36px; transition: border-color .12s; }
textarea { height: auto; padding: 8px 10px; }
input[type=checkbox], input[type=radio] { height: auto; accent-color: var(--primary); }
input:hover, select:hover, textarea:hover { border-color: var(--primary-2); }
input:focus, select:focus, textarea:focus { outline: 1px dotted #000; outline-offset: -4px; border-color: var(--border-strong); }
input:disabled, select:disabled, textarea:disabled { opacity: .5; background: #fff; }
label.f { font-weight: 400; color: var(--text-2); font-size: 14px; gap: 4px; }
.amount-in { border-radius: 4px; border-color: var(--border-strong); }
.amount-in:focus-within { outline: 1px dotted #000; outline-offset: -4px; border-color: var(--border-strong); }
.amount-in input { height: auto; }
.amount-in > span { background: #f7f7f7; font-weight: 400; }

/* ——— Tabelat (Responsive Table) ——— */
.tbl th { background: #fff; color: var(--text-2); font-size: 14px; font-weight: 400; text-transform: none; letter-spacing: 0; border-bottom: 1px solid #e5e5e5; padding: 10px 16px; }
.tbl td { border-bottom: 1px solid #e5e5e5; padding: 10px 16px; }
.dense th { background: #fff; border-right: 0; font-size: 14px; padding: 10px 16px; }
.dense th.sortable:hover { background: #f5f5f5; }
.dense td { padding: 10px 16px; }
.dense tbody tr:nth-child(even) td { background: #fff; }
.dense tr.clickable:hover td, .tbl tr.clickable:hover td { background: #f5f5f5 !important; }
.dense tr.clickable:active td { background: var(--primary-soft) !important; }
.tbl tfoot td { background: #f7f7f7; }
/* Shigjeta e navigimit në fund të rreshtit (si list item "Navigation") */
.slim tr.clickable td:last-child { position: relative; padding-right: 36px; }
.slim tr.clickable td:last-child::after { content: "›"; position: absolute; right: 14px; top: 50%; transform: translateY(-52%); font-size: 22px; color: #8c8f92; font-weight: 300; }
.gridbox-title { background: #fff; border-bottom: 1px solid #e5e5e5; padding: 12px 16px; }
.gridbox-title b { font-size: 16px; font-weight: 700; }
.gridbox-foot { background: #fff; border-top: 1px solid #e5e5e5; }
.searchbar { border: 0; border-radius: 4px; box-shadow: var(--f-shadow0); padding: 10px 16px; }
.searchbar > b { font-weight: 400; color: var(--text-2); }

/* ——— Statuset (ObjectStatus) ——— */
.badge { border-radius: 4px; font-size: 12px; font-weight: 700; padding: 2px 6px; background: #ededed; color: var(--text-2); }
.badge.ok { background: var(--ok-soft); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(16,126,62,.25); }
.badge.warn { background: var(--warn-soft); color: #c35500; box-shadow: inset 0 0 0 1px rgba(233,115,12,.3); }
.badge.bad { background: var(--bad-soft); color: var(--bad); box-shadow: inset 0 0 0 1px rgba(187,0,0,.25); }
.badge.info, .badge.primary { background: var(--info-soft); color: var(--primary-2); box-shadow: inset 0 0 0 1px rgba(10,110,209,.25); }
.ph-open { color: var(--ok); } .ph-evaluation { color: #c35500; } .ph-awarded { color: var(--primary-2); } .ph-cancelled { color: var(--bad); }
.sub-line .left, .tp-figs .left { color: var(--ok); font-weight: 400; }

/* ——— MessageStrip ——— */
.alert { border-radius: 4px; padding: 10px 14px; border-width: 1px; color: var(--text); }
.alert.info { background: var(--info-soft); border-color: var(--primary); color: var(--text); }
.alert.ok { background: var(--ok-soft); border-color: var(--ok); color: var(--text); }
.alert.warn { background: var(--warn-soft); border-color: var(--warn); color: var(--text); }
.alert.bad { background: var(--bad-soft); border-color: var(--bad); color: var(--text); }

/* ——— IconTabBar ——— */
.tabs { background: #fff; border-bottom: 0; box-shadow: var(--f-shadow0); border-radius: 4px; padding: 0 8px; margin-bottom: 16px; gap: 0; }
.tabs button { font: 400 14px var(--font); color: var(--text); padding: 13px 14px 12px; border-bottom: 0; position: relative; transition: color .12s; }
.tabs button:hover { color: var(--primary-2); }
.tabs button.active { color: var(--primary-2); }
.tabs button.active::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary-2); }
.tabs .cnt { background: transparent; color: var(--text-2); padding: 0 0 0 4px; font-size: 14px; }
.tabs .cnt::before { content: "("; } .tabs .cnt::after { content: ")"; }
.tabs button.active .cnt { background: transparent; color: var(--primary-2); }

/* ——— Pllakat (Launchpad tiles) ——— */
.stat { padding: 16px; justify-content: space-between; min-height: 140px; transition: box-shadow .2s var(--f-ease), transform .2s var(--f-ease); }
.stat .lbl { color: var(--text); font-size: 14px; font-weight: 400; }
.stat .val { font-size: 36px; font-weight: 300; color: var(--text); line-height: 1.1; }
.card.stat:hover { box-shadow: var(--f-shadow2); transform: translateY(-2px); }
.tiles { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.tile { width: 176px; height: 148px; background: #fff; border-radius: 4px; box-shadow: var(--f-shadow0); padding: 16px; display: flex; flex-direction: column; text-decoration: none !important; color: var(--text); cursor: pointer; position: relative; overflow: hidden;
  transition: box-shadow .2s var(--f-ease), transform .2s var(--f-ease); }
.tile:hover { box-shadow: var(--f-shadow2); transform: translateY(-2px); }
.tile:active { transform: translateY(0); box-shadow: var(--f-shadow1); }
.tile:focus-visible { outline: 1px dotted #000; outline-offset: -4px; }
.tile .th { font-size: 14px; line-height: 1.3; color: var(--text); }
.tile .ts { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.tile .tn { margin-top: auto; display: flex; align-items: flex-end; gap: 6px; }
.tile .tn b { font-size: 36px; font-weight: 300; line-height: 1; color: var(--text); }
.tile .tn b.good { color: var(--ok); } .tile .tn b.crit { color: #c35500; } .tile .tn b.tone-brand { color: var(--primary); }
.tile .tn span { font-size: 12px; color: var(--text-2); padding-bottom: 4px; }
.tile .ti-ic { position: absolute; right: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; opacity: .95; }
.tile .ti-ic .ti { width: 100%; height: 100%; display: block; }
.tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent, transparent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--f-ease); }
.tile:hover::after { transform: scaleX(1); }
@media (max-width: 600px) { .tile { width: calc(50% - 4px); height: 128px; } .tile .tn b { font-size: 30px; } }

/* ——— Dialogët ——— */
.modal-bg { background: rgba(0,0,0,.6); }
.modal { border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 1rem 2rem rgba(0,0,0,.3); animation: f-pop .18s var(--f-ease); }
@keyframes f-pop { from { opacity: 0; transform: scale(.97); } }
.modal .mh { padding: 0 16px; min-height: 48px; box-shadow: inset 0 -1px 0 #d9d9d9; border-bottom: 0; }
.modal .mh h2 { font-size: 16px; font-weight: 700; }
.modal .mh button.x { width: 30px; height: 30px; font-size: 15px; }
.modal .mb { padding: 16px; }
.modal .mf { padding: 8px 16px; border-top: 0; box-shadow: inset 0 1px 0 #d9d9d9; gap: 8px; }
.offer-box { border: 0; border-radius: 4px; background: var(--info-soft); box-shadow: inset 0 0 0 1px #c6dff5; }
.tp-figs > div { background: #fff; border: 0; border-radius: 4px; box-shadow: var(--f-shadow0); }
.tp-figs .l { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 400; color: var(--text-2); }
.tp-figs .v { font-weight: 400; font-size: 16px; }
.tp-more { border: 0; box-shadow: var(--f-shadow0); border-radius: 4px; }
.tp-more summary { font-weight: 400; color: var(--primary); }
.tp-doc { border-radius: 4px; border-color: #e5e5e5; }

/* ——— MessageToast ——— */
#toasts { left: 50%; right: auto; transform: translateX(-50%); bottom: 48px; align-items: center; }
.toast { background: rgba(50,54,58,.92); border-radius: 4px; padding: 14px 20px; font-size: 14px; box-shadow: var(--f-shadow1); text-align: center; animation: f-toast .25s var(--f-ease); }
.toast.ok { background: rgba(16,126,62,.95); } .toast.bad { background: rgba(187,0,0,.95); }
@keyframes f-toast { from { opacity: 0; transform: translateY(8px); } }

/* ——— Wizard (progress navigator) ——— */
.stepper { background: #fff; box-shadow: var(--f-shadow0); border-radius: 4px; padding: 14px 16px; gap: 0; position: relative; }
.stepper .st { background: none; border: 0 !important; border-radius: 0 !important; padding: 0 8px; flex-direction: column; gap: 6px; font-weight: 400; font-size: 13px; text-align: center; position: relative; color: var(--text-2); }
.stepper .st::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 1px; background: #89919a; z-index: 0; }
.stepper .st:first-child::before { display: none; }
.stepper .st .n { position: relative; z-index: 1; width: 32px; height: 32px; background: #fff; border: 1px solid var(--primary); color: var(--primary); font-size: 14px; transition: all .2s var(--f-ease); }
.stepper .st.active { background: none; color: var(--text); font-weight: 700; }
.stepper .st.active .n { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(10,110,209,.18); }
.stepper .st.done .n { background: #fff; color: var(--primary); border-color: var(--primary); }
.stepper .st:hover .n { box-shadow: 0 0 0 4px rgba(10,110,209,.12); }

/* ——— Të tjera ——— */
.empty .e { filter: grayscale(.3); opacity: .8; }
.kv dt { color: var(--text-2); }
.kv dd { font-weight: 400; }
.files li { border-radius: 4px; background: #fff; border-color: #e5e5e5; }
.drop { border-radius: 4px; border-color: #89919a; }
.drop:hover, .drop.over { border-color: var(--primary); background: var(--info-soft); }
.item-card { border: 0; border-radius: 4px; box-shadow: var(--f-shadow0); }
.ic-head .req { border-radius: 4px; }
.req.missing { border-left: 4px solid var(--warn); }
.req.okk { border-left: 4px solid var(--ok); }
.meter { height: 6px; border-radius: 3px; } .meter > i { border-radius: 3px; }
.qa .a { border-left-color: var(--ok); border-radius: 0 4px 4px 0; }
.mail .it.sel { background: var(--primary-soft); box-shadow: inset 3px 0 0 var(--primary-2); }
.mail .it.unread::before { background: var(--primary); }
.rank-head { background: #fff; }
.rank-row .pos { background: #ededed; }
.rank-row:first-child .pos { background: var(--primary); }
.rank-row .co:hover { background: #f5f5f5; }
.rank-row .co:hover b { color: var(--primary); }
.rank-row.winner { background: var(--ok-soft); box-shadow: inset 3px 0 0 var(--ok); }
.rank-row.me { background: var(--primary-soft); box-shadow: inset 3px 0 0 var(--primary-2); }
.av { border-radius: 50%; background: #5899da; font-weight: 400; }
.av.xl { border-radius: 50%; background: #5899da; }
.cbtn { border-radius: 4px; font-weight: 400; background: #fff !important; color: var(--text) !important; box-shadow: var(--f-shadow0); justify-content: flex-start; padding: 12px 14px; }
.cbtn:hover { transform: translateY(-1px); box-shadow: var(--f-shadow1); filter: none; }
.cbtn > span:first-child { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: #fff; flex: none; }
.c-msg > span:first-child { background: var(--primary); }
.c-mail > span:first-child { background: #e9730c; }
.c-tel > span:first-child { background: #107e3e; }
.award-pick { border-radius: 4px; border-color: rgba(16,126,62,.3); }
.dyn-row { border-radius: 4px; background: #fff; border-color: #e5e5e5; }
.form-section { border-bottom-color: #e5e5e5; }
.form-section > h3 { font-size: 16px; }
.lump-box { background: var(--info-soft); }

/* ——— Hyrja (si faqja e hyrjes Fiori) ——— */
.gate { color: var(--text); background: linear-gradient(180deg, #e8eef5 0%, #f7f7f7 55%) fixed; }
.gate-top { background: var(--side); padding: 0 16px; height: 44px; box-shadow: 0 1px 2px rgba(0,0,0,.35); }
.gate-brand { font-size: 16px; }
.gate-brand .logo { width: 30px; height: 30px; border-radius: 4px; background: #fff; color: var(--side); font-size: 15px; }
.gate-top-txt { color: #d1dbe5; }
.gate-reg { border: 0; border-radius: 4px; font-weight: 400; padding: 6px 12px; }
.gate-reg:hover { background: var(--side-2); }
.gate-intro h1 { color: var(--text); font-size: 28px; font-weight: 300; }
.gate-intro p { color: var(--text-2); font-size: 16px; }
.gate-card { background: #fff; border: 0; border-radius: 4px; box-shadow: var(--f-shadow0); color: var(--text); padding: 24px; gap: 4px; transition: box-shadow .2s var(--f-ease), transform .2s var(--f-ease); }
.gate-card::before { height: 3px; }
.gate-card:hover { transform: translateY(-3px); box-shadow: var(--f-shadow2); border-color: transparent; }
.gate-card .gate-ico { border-radius: 50%; width: 56px; height: 56px; box-shadow: none; }
.gate-eyebrow { letter-spacing: .04em; font-weight: 400; color: var(--text-2); }
.gate-title { color: var(--text); font-size: 20px; font-weight: 700; }
.gate-text { color: var(--text-2); font-size: 14px; }
.gate-card ul { color: var(--text); }
.gate-go { border-radius: 4px; font-weight: 700; padding: 0 16px; height: 36px; }
.gate-login { border-radius: 4px; box-shadow: var(--f-shadow1); padding: 24px; }
.gate-login::before { height: 3px; }
.gate-login .gate-ico.sm { border-radius: 50%; }
.gate-foot { color: var(--text-2); }

/* ——— Fundi i panelit anësor: kompania + Dil ——— */
.tree { display: flex; flex-direction: column; padding-bottom: 0; }
.tree > ul.root { flex: 1 0 auto; }
.tree-foot { position: sticky; bottom: 0; margin-top: auto; background: #fff; border-top: 1px solid #e5e5e5; padding: 12px 16px 14px; box-shadow: 0 -4px 10px rgba(0,0,0,.03); }
.tf-label { font-size: 12px; color: var(--text-2); display: flex; justify-content: space-between; gap: 8px; }
.tf-prof { font-size: 12px; }
.tf-co { font-weight: 700; font-size: 14px; color: var(--text); margin: 2px 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-logout { width: 100%; height: 36px; border-radius: 4px; border: 1px solid var(--primary); background: #fff; color: var(--primary); font: 400 14px var(--font); cursor: pointer; transition: background .12s; }
.tf-logout:hover { background: #ebf5fe; }


/* ——— Mallrat/shërbimet: specifikimet në fushë të madhe më vete + importimi ——— */
.dyn-items .dyn-row { grid-template-columns: 120px minmax(0, 2fr) 130px 120px 36px; }
.dyn-items .spec-wrap { grid-column: 1 / 4; }
.dyn-items .warr-wrap { grid-column: 4 / -1; }
.dyn-reqs .dyn-row { grid-template-columns: 1.3fr 1.3fr 1.4fr 140px 36px; }
/* section heading with its main button on the right */
.sec-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sec-head > div { min-width: 0; flex: 1 1 260px; }
.btn.add-main { background: #0a6ed1; border-color: #0a6ed1; color: #fff; font-weight: 600; padding: 8px 16px; }
.btn.add-main:hover { background: #0854a0; border-color: #0854a0; color: #fff; }
.btn.add-bottom { margin-top: 10px; }
.auto-chip { font-size: 11px; font-weight: 600; color: #0a6ed1; background: #e8f2fb; border-radius: 10px; padding: 1px 8px; margin-left: 6px; }
.kind-out { padding: 8px 10px; border: 1px dashed #c9c9c9; border-radius: 4px; background: #fafafa; color: #32363a; }
/* Lek / Euro switch */
.cur-switch { display: inline-flex; border: 1px solid #0a6ed1; border-radius: 6px; overflow: hidden; width: max-content; }
.cur-switch button { border: 0; background: #fff; color: #0a6ed1; padding: 8px 22px; font: inherit; font-weight: 600; cursor: pointer; }
.cur-switch button + button { border-left: 1px solid #0a6ed1; }
.cur-switch button.on { background: #0a6ed1; color: #fff; }
.spec-ta { width: 100%; min-height: 84px; max-height: 640px; resize: vertical; line-height: 1.45; padding: 8px 10px; background: #fff; overflow-y: auto; }
.spec-count { text-align: right; margin-top: 2px; min-height: 16px; }
.items-tools { margin-top: 10px; gap: 8px; }
@media (max-width: 1100px) {
  .dyn-items .dyn-row, .dyn-reqs .dyn-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dyn-items .dyn-row > div:nth-of-type(2), .dyn-items .spec-wrap, .dyn-items .warr-wrap { grid-column: 1 / -1; }
  .dyn-items .dyn-row, .dyn-reqs .dyn-row { position: relative; padding-top: 30px; }
  .dyn-items .x-btn, .dyn-reqs .x-btn { position: absolute; top: 4px; right: 4px; }
}
.spec-text { white-space: pre-wrap; overflow-wrap: anywhere; }

/* ——— Draftet te «Kërkesa për Ofertë» ——— */
.drafts-box .gridbox-title { background: #fef7f1; box-shadow: inset 3px 0 0 var(--warn); }
.draft-row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid #e5e5e5; flex-wrap: wrap; }
.draft-row:first-of-type { border-top: 0; }
.dr-main { flex: 1; min-width: 200px; }
.dr-main b { overflow-wrap: anywhere; }
.dr-act { display: flex; gap: 6px; flex-wrap: wrap; }
.label-opt { font-weight: 400; color: var(--text-3); font-size: 12px; }

/* ——— Kërkesat për tender (te Mesazhet) ——— */
.qa-tender > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; min-height: 56px; transition: background .12s; }
.qa-tender > summary::-webkit-details-marker { display: none; }
.qa-tender > summary::before { content: "›"; font-size: 20px; color: #8c8f92; width: 12px; transition: transform .2s var(--f-ease); }
.qa-tender[open] > summary::before { transform: rotate(90deg); }
.qa-tender > summary:hover { background: #f5f5f5; }
.qt-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.qt-main b { overflow-wrap: anywhere; }
.qt-cnt { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.qa-body { padding: 4px 16px 16px 40px; border-top: 1px solid #e5e5e5; }
.qa-item { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.qa-item .q { font-weight: 700; margin-top: 2px; overflow-wrap: anywhere; }
.qa-item .a { margin-top: 8px; padding: 8px 12px; background: var(--ok-soft); border-left: 3px solid var(--ok); border-radius: 0 4px 4px 0; overflow-wrap: anywhere; }
.qa-item .a.none { background: #f7f7f7; border-left-color: #89919a; color: var(--text-2); font-style: italic; }
.qa-answer, .qa-ask { display: flex; gap: 8px; align-items: flex-end; margin-top: 10px; }
.qa-answer textarea, .qa-ask textarea { min-height: 38px; flex: 1; }
@media (max-width: 600px) { .qa-body { padding-left: 16px; } .qa-answer, .qa-ask { flex-direction: column; align-items: stretch; } }
.rank-pop .rank-card { box-shadow: none; margin: -16px; }
@media (max-width: 600px) { .rank-row .nm b { white-space: normal; overflow-wrap: anywhere; } }

/* ——— Hyrja: dy seksionet gjithmonë krah për krah ——— */
.gate-cards { grid-template-columns: repeat(2, minmax(0, 380px)); }
@media (max-width: 820px) {
  .gate-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; max-width: none !important; gap: 10px; }
  .gate-card { padding: 16px 12px; }
  .gate-card .gate-ico { width: 44px; height: 44px; margin-bottom: 8px; }
  .gate-card .gate-ico svg { width: 24px; height: 24px; }
  .gate-title { font-size: 17px; }
  .gate-text { font-size: 13px; }
  .gate-card ul { display: none; }
  .gate-go { align-self: stretch; justify-content: center; margin-top: 12px; padding: 0 8px; }
  .gate-intro h1 { font-size: 24px; }
  .gate-main { padding: 20px 12px 32px; }
}

/* ——— Regjistrimi ——— */
.auth .promo { background: linear-gradient(160deg, #354a5f 0%, #283848 100%); }
.roles label { border-radius: 4px; border: 1px solid #d9d9d9; transition: box-shadow .15s, border-color .15s; }
.roles label:hover { border-color: var(--primary); }
.roles label.on { border-color: var(--primary); background: var(--primary-soft); box-shadow: inset 0 0 0 1px var(--primary); }

@media (max-width: 900px) {
  .content { padding: 12px 16px 40px; }
  .content > .page-head:first-child, .content > .crumbs:first-child { margin: -12px -16px 12px; padding: 12px 16px; }
  .content > .crumbs:first-child { margin-bottom: 0; padding-bottom: 0; }
  .content > .crumbs:first-child + .page-head { margin: 0 -16px 12px; padding: 4px 16px 12px; }
  .content > .crumbs:first-child + .card.hero { margin: 0 -16px 12px; padding: 8px 16px 16px; }
  .tree { top: 44px; }
}

/* ——— Kërkimi i drejtpërdrejtë ——— */
[hidden] { display: none !important; }
.live-search { gap: 10px; }
.live-search .sb-ico { font-size: 20px; color: var(--text-2); line-height: 1; }
.live-search input[type=search] { flex: 1; min-width: 0; }
.searchbar select#sph { flex: none; }

/* ——— Ikona e korrespondencës te tenderi ——— */
.corr-btn { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; border: 1px solid #c6dff5;
  background: var(--info-soft); color: var(--primary-2) !important; font-size: 13px; text-decoration: none !important; white-space: nowrap; transition: background .12s, box-shadow .12s; }
.corr-btn:hover { background: #dcecfb; box-shadow: var(--f-shadow0); }
.corr-btn .ti { width: 24px; height: 24px; border-radius: 50%; display: block; }
.corr-btn.short { padding: 1px 8px 1px 1px; font-size: 12px; }
.corr-btn.short .ti { width: 20px; height: 20px; }
.sub-line .corr-btn { margin-left: 4px; }

/* ——— Chat-i i asistencës (përdoruesi) ——— */
#chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-btn { position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; background: var(--primary); display: grid; place-items: center; padding: 0;
  box-shadow: 0 4px 14px rgba(10,110,209,.4), 0 2px 6px rgba(0,0,0,.18); transition: transform .2s var(--f-ease), box-shadow .2s var(--f-ease); }
.chat-btn svg { width: 32px; height: 32px; }
.chat-btn:hover { transform: scale(1.07); }
.chat-btn:focus-visible { outline: 2px dotted #000; outline-offset: 3px; }
.chat-badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #bb0000; color: #fff; font: 700 12px/20px var(--font); }
.chat-pop { width: min(380px, calc(100vw - 40px)); height: min(560px, calc(100vh - 120px)); background: #fff; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 12px 36px rgba(0,0,0,.22); animation: f-pop .18s var(--f-ease); transform-origin: bottom right; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--side); color: #fff; flex: none; }
.chat-head > div { flex: 1; min-width: 0; }
.chat-head b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-head .small { color: #c9d4df; }
.chat-av { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; flex: none; }
.chat-av svg { width: 22px; height: 22px; }
.chat-back { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-x { width: 28px; height: 28px; border-radius: 50%; border: 0; background: #dc2626; color: #fff; font-size: 13px; cursor: pointer; flex: none; }
.chat-body { flex: 1; overflow-y: auto; padding: 12px; background: #f7f7f7; display: flex; flex-direction: column; gap: 10px; }
.chat-bubble { background: #fff; border-radius: 0 8px 8px 8px; padding: 8px 10px; font-size: 13.5px; box-shadow: var(--f-shadow0); }
.chat-new { width: 100%; flex: none; }
.chat-list { display: flex; flex-direction: column; gap: 6px; }
.chat-item { display: flex; flex-direction: column; gap: 3px; text-align: left; background: #fff; border: 1px solid #e5e5e5; border-radius: 6px; padding: 10px 12px; font: 14px var(--font); cursor: pointer; color: var(--text); }
.chat-item:hover { border-color: var(--primary); }
.chat-item.unread { box-shadow: inset 3px 0 0 var(--primary); }
.chat-item.unread b::after { content: " •"; color: var(--primary); }
.ci-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ci-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-last { color: var(--text-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-date { color: var(--text-3); font-size: 12px; }
.chat-thread { display: flex; flex-direction: column; gap: 8px; }
.cm { max-width: 85%; display: flex; flex-direction: column; gap: 2px; }
.cm.mine { align-self: flex-end; align-items: flex-end; }
.cm.theirs { align-self: flex-start; }
.cm-b { padding: 8px 11px; border-radius: 10px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; box-shadow: var(--f-shadow0); }
.cm.mine .cm-b { background: var(--primary); color: #fff; border-bottom-right-radius: 3px; }
.cm.theirs .cm-b { background: #fff; color: var(--text); border-bottom-left-radius: 3px; }
.cm-meta { font-size: 11.5px; color: var(--text-3); }
.cm-status { align-self: center; font-size: 12px; color: var(--text-2); background: #ececec; border-radius: 999px; padding: 2px 10px; }
.chat-foot { display: flex; gap: 8px; align-items: flex-end; padding: 10px; border-top: 1px solid #e5e5e5; background: #fff; flex: none; }
.chat-foot textarea { flex: 1; min-height: 38px; max-height: 120px; resize: none; }
.chat-foot.static { padding: 10px 0 0; border-top: 0; }
.chat-thread.admin { max-height: 50vh; overflow-y: auto; padding: 10px; background: #f7f7f7; border-radius: 6px; }
@media (max-width: 600px) { #chat-fab { right: 14px; bottom: 14px; } .chat-btn { width: 52px; height: 52px; } }

/* ——— CRM i asistencës (admini) ——— */
.crm { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 12px; align-items: start; }
.crm-list { max-height: 72vh; overflow-y: auto; }
.crm-search { padding: 10px 10px 0; }
.crm-search .searchbar { box-shadow: none; padding: 0; margin-bottom: 8px; }
.crm-user { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid #eee; padding: 10px 12px; cursor: pointer; font: 14px var(--font); color: var(--text); }
.crm-user:hover { background: #f5f5f5; }
.crm-user.sel { background: var(--primary-soft); box-shadow: inset 3px 0 0 var(--primary-2); }
.crm-user .cnt { margin-left: auto; background: #bb0000; color: #fff; border-radius: 9px; min-width: 18px; text-align: center; font-size: 11px; font-weight: 700; line-height: 18px; padding: 0 5px; }
.cu-main { display: flex; flex-direction: column; min-width: 0; }
.cu-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-user-card { padding: 16px; }
.tbl tr.unread-row td { background: #f5faff; }
.topics-box { margin-top: 16px; }
.topics-box > summary { cursor: pointer; padding: 12px 16px; font-weight: 700; }
.topic-row { grid-template-columns: 240px 1fr 36px !important; }
@media (max-width: 900px) { .crm { grid-template-columns: 1fr; } .crm-list { max-height: 40vh; } .topic-row { grid-template-columns: 1fr !important; } }

/* red counters on the burger and the section switch */
#burger { position: relative; }
#burger .cnt { position: absolute; top: 2px; right: -2px; background: #bb0000; color: #fff; border-radius: 9px; min-width: 16px; line-height: 16px; padding: 0 4px; font-size: 10px; font-weight: 700; text-align: center; }
.sec-switch .cnt { display: inline-block; background: #bb0000; color: #fff; border-radius: 9px; min-width: 16px; line-height: 16px; padding: 0 4px; font-size: 10px; font-weight: 700; text-align: center; margin-left: 4px; }

/* tender form: compact, auto-filled title block at the bottom */
.gen-compact { padding-top: 12px; padding-bottom: 12px; }
.gen-compact .gen-head { display: flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; }
.gen-compact h3 { font-size: 14px; margin: 0; }
.gen-compact .kind-chip { margin-left: auto; font-size: 12px; color: #6a6d70; background: #f2f2f2; border-radius: 10px; padding: 2px 10px; }
.gen-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px 12px; margin-top: 8px; }
.gen-compact .f { font-size: 12px; }
.gen-compact .f input { padding: 5px 8px; font-size: 13px; min-height: 0; height: 30px; }
.gen-desc { margin-top: 8px; font-size: 12px; }
.gen-desc summary { cursor: pointer; color: #0a6ed1; }
.gen-desc textarea { width: 100%; margin-top: 6px; font-size: 13px; }
@media (max-width: 700px) { .gen-grid { grid-template-columns: minmax(0, 1fr); } .gen-compact .kind-chip { margin-left: 0; } }
