/* cs-icons.css — 2026-11-30: ხაზოვანი აიქონები ემოჯის ნაცვლად (იგივე სტილი, რაც ქვედა მენიუში: 24×24, ხაზი 1.8).
   აიქონი = <svg class="cs-ic"> (HTML-ში ჩაწერილი; ფერი — currentColor). წარწერები / ღილაკები / მოქმედებები უცვლელია. */
.cs-ic { flex: none; display: inline-block; vertical-align: -0.2em; width: 1.15em; height: 1.15em; }   /* ზომა — ტექსტის მიხედვით; კონკრეტული ადგილები ქვემოთ */

/* პირადი მონაცემები (გვერდითი მენიუ) */
.dash-sidebar-link > .cs-ic { width: 19px; height: 19px; margin-right: 8px; color: #1f6b57; }
.dash-sidebar-link-danger > .cs-ic { color: #b42318; }

/* სწრაფი წვდომის ფილები (მყიდველი / გამყიდველი / სტუმარი) */
.qa-icon-badge > .cs-ic, .gqa-ico > .cs-ic { width: 21px; height: 21px; color: #1f6b57; vertical-align: middle; }
.qa-icon-badge:has(> .cs-ic), .gqa-ico:has(> .cs-ic) { display: inline-flex; align-items: center; justify-content: center; }

/* სფეროების სათაურები — აიქონი რბილ კვადრატში, ტექსტი მარცხნივ (როგორც იყო) */
.sector-card-header .cs-sec-t { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.sector-card-header .cs-sec-t > .cs-ic { width: 22px; height: 22px; padding: 7px; box-sizing: content-box; border-radius: 11px; background: rgba(255, 255, 255, .72); color: var(--sph, #1f7a52); vertical-align: middle; }

/* ზედა ჩამოსაშლელი მენიუ (კომპიუტერზე) */
.cs-hdr-ico > .cs-ic { width: 18px; height: 18px; color: #1f6b57; vertical-align: -4px; }
.cs-hdr-item.danger .cs-hdr-ico > .cs-ic { color: #b42318; }

/* ბნელი თემა */
html[data-theme="dark"] .dash-sidebar-link > .cs-ic,
html[data-theme="dark"] .qa-icon-badge > .cs-ic,
html[data-theme="dark"] .gqa-ico > .cs-ic,
html[data-theme="dark"] .cs-hdr-ico > .cs-ic { color: #9fd4bd; }
html[data-theme="dark"] .dash-sidebar-link-danger > .cs-ic,
html[data-theme="dark"] .cs-hdr-item.danger .cs-hdr-ico > .cs-ic { color: #f1a69b; }
html[data-theme="dark"] .sector-card-header .cs-sec-t > .cs-ic { background: rgba(255, 255, 255, .08); }

/* ── ეტაპი 2 (cs-icons.js): კატეგორიები, გაფრთხილება, რეკლამა, ბანერები, ანგარიში ── */
.cs-ic-play { fill: currentColor; stroke: none; }
.dash-item > .cs-ic { width: 20px; height: 20px; margin-right: 8px; color: var(--sph, #1f7a52); vertical-align: -5px; }
.csn-t > .cs-ic { width: 18px; height: 18px; margin-right: 6px; color: #b45309; vertical-align: -3px; }
.csn-b > .cs-ic { width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; }
.cads-h > .cs-ic { width: 20px; height: 20px; margin-right: 8px; color: #1f6b57; vertical-align: -3px; }
.cads-play > .cs-ic { width: 14px; height: 14px; vertical-align: -2px; }
.cads-i > .cs-ic { width: 15px; height: 15px; vertical-align: -3px; }
.sb-box .cs-ic { width: 17px; height: 17px; margin-right: 6px; color: #15803d; vertical-align: -3px; }
.dhcw-field > .cs-ic { width: 19px; height: 19px; margin-right: 6px; color: #1f6b57; vertical-align: -4px; }
.cs-empty-ic > .cs-ic { width: 40px; height: 40px; color: #6b8a7d; }
.hi-ico > .cs-ic, .role-auth-cta > .cs-ic, .cs-pwa-btn > .cs-ic { width: 18px; height: 18px; margin-right: 6px; vertical-align: -4px; }
html[data-theme="dark"] .cads-h > .cs-ic, html[data-theme="dark"] .dhcw-field > .cs-ic, html[data-theme="dark"] .sb-box .cs-ic { color: #9fd4bd; }
html[data-theme="dark"] .csn-t > .cs-ic { color: #fbbf24; }
html[data-theme="dark"] .cs-empty-ic > .cs-ic { color: #9fb8ac; }
/* 💳 ანგარიში — ტელეფონზე წარწერა იმალება და ღილაკზე „💳 ▾“ იწერებოდა (::before): ახლა აიქონი + ▾ */
@media (max-width: 767px) {
  #sbAcctBtn.sb-acct-btn:has(> .cs-ic)::before { content: "▾" !important; order: 2; font-size: 15px !important; letter-spacing: 0 !important; }
  #sbAcctBtn.sb-acct-btn:has(> .cs-ic) > .cs-ic { margin-right: 0; }
}

/* ── ეტაპი 3: პანელების სათაურები, სიების გვერდები, გამყიდველის „ჩემი შეთავაზებები“ ── */
#offersPanelTitle > .cs-ic { width: 20px; height: 20px; margin-right: 7px; vertical-align: -4px; }
.back-btn > .cs-ic { width: 16px; height: 16px; margin-right: 5px; vertical-align: -3px; }
.pending-header-row h2 > .cs-ic, .ongoing-page-wrapper > h2 > .cs-ic { width: 21px; height: 21px; margin-right: 7px; vertical-align: -4px; color: #1f6b57; }
.deleted-list-btn > .cs-ic, .bulk-btn > .cs-ic { width: 16px; height: 16px; margin-right: 5px; vertical-align: -3px; }
body[class*="theme-"] .ns-btn > .cs-ic { width: 16px; height: 16px; margin-right: 5px; vertical-align: -3px; }
.ow-dph > .cs-ic { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }
.mo-h3 > .cs-ic { width: 20px; height: 20px; margin-right: 7px; vertical-align: -4px; }
.mo-gh > .cs-ic { width: 16px; height: 16px; margin-right: 5px; vertical-align: -3px; }
.mo-chip > .cs-ic { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }
html[data-theme="dark"] .pending-header-row h2 > .cs-ic, html[data-theme="dark"] .ongoing-page-wrapper > h2 > .cs-ic { color: #9fd4bd; }

/* ── ეტაპი 4: შეთავაზების ფანჯრები — აიქონი ტექსტის ზომისაა (ზემოთ), აქ მხოლოდ გამონაკლისები ── */
.ow-modal > h3 > .cs-ic { width: 1.1em; height: 1.1em; }
.ov-empty-ico > .cs-ic { width: 40px; height: 40px; color: #6b8a7d; }

/* ── ფორმები, ჯგუფი 1 (სავაჭრო: <body data-cs-ic-form>) ── */
body[data-cs-ic-form] .tcx-dchip > .cs-ic { width: 16px; height: 16px; margin-right: 4px; vertical-align: -3px; }
body[data-cs-ic-form] .tcx-more > summary .cs-ic,
body[data-cs-ic-form] .tcx-attt .cs-ic,
body[data-cs-ic-form] .tcx-dhead .cs-ic { width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px; color: #15803d; }
body[data-cs-ic-form] .tsp-cnt > .cs-ic, body[data-cs-ic-form] .tsp-ccnt > .cs-ic, body[data-cs-ic-form] .tsp-legend > .cs-ic { width: 14px; height: 14px; margin-right: 3px; vertical-align: -2px; }
body[data-cs-ic-form] .tsp-warn > div > .cs-ic { width: 16px; height: 16px; margin-right: 2px; vertical-align: -3px; color: #b45309; }
body[data-cs-ic-form] .btn-upload > .cs-ic { width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px; }
body[data-cs-ic-form] .selected-seller-indicator > button > .cs-ic { width: 14px; height: 14px; margin-right: 3px; vertical-align: -2px; }
body[data-cs-ic-form] .sbb-title > .cs-ic, body[data-cs-ic-form] .teq-dynamic-title > .cs-ic { width: 19px; height: 19px; margin-right: 6px; vertical-align: -4px; }
body[data-cs-ic-form] [id$="SummaryBox"] > .cs-ic { width: 15px; height: 15px; margin-right: 2px; vertical-align: -3px; color: #1f6b57; }
/* „სპონსორირებული“ (გვერდითი პანელი) — ⭐ (CSS ::before) → ხაზოვანი ვარსკვლავი */
body[data-cs-ic-form]:has(#salesIndustryHeader) aside .sdp-sponsored.sdp-sponsored::before {
  content: '' !important;
  background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3.5 2.6 5.3 5.9.9-4.25 4.1 1 5.8L12 16.9l-5.25 2.7 1-5.8L3.5 9.7l5.9-.9z'/%3E%3C/svg%3E") center / 20px 20px no-repeat !important;
}
html[data-theme="dark"] body[data-cs-ic-form] .tcx-more > summary .cs-ic,
html[data-theme="dark"] body[data-cs-ic-form] .tcx-attt .cs-ic,
html[data-theme="dark"] body[data-cs-ic-form] .tcx-dhead .cs-ic { color: #9fd4bd; }

/* ── ფორმები, ჯგუფი 2 (მომსახურება) ── */
body[data-cs-ic-form] .tcx-sdet .cs-ic { width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px; color: #15803d; }
body[data-cs-ic-form] .scc-cnt > .cs-ic, body[data-cs-ic-form] .scc-legend > .cs-ic { width: 14px; height: 14px; margin-right: 3px; vertical-align: -2px; }
body[data-cs-ic-form] .scc-warn > div > .cs-ic { width: 16px; height: 16px; margin-right: 2px; vertical-align: -3px; color: #b45309; }
body[data-cs-ic-form] :is(.svc-field-caption, .it-condition-caption, .form-label) > .cs-ic { width: 16px; height: 16px; margin-right: 5px; vertical-align: -3px; color: #1f6b57; }
body[data-cs-ic-form] :is(.ind-pick-reset, .svc-date-reset) > .cs-ic { width: 14px; height: 14px; vertical-align: -2px; }
body[data-cs-ic-form] :is(.svc-choice-button, .tsp-txt) .cs-ic { width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px; color: #1f6b57; }
body[data-cs-ic-form] .sru-content-panel > .cs-ic { width: 16px; height: 16px; margin-right: 4px; vertical-align: -3px; color: #1f6b57; }
html[data-theme="dark"] body[data-cs-ic-form] :is(.tcx-sdet, .svc-field-caption, .it-condition-caption, .form-label, .svc-choice-button, .tsp-txt, .sru-content-panel) .cs-ic { color: #9fd4bd; }

/* ── ფორმები, ჯგუფი 4 (ინდივიდუალური) ── */
body[data-cs-ic-form] :is(.tcx-lhead, .tcx-cdet) .cs-ic { width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px; color: #15803d; }
body[data-cs-ic-form] :is(.ctm-legend, .ctm-cnt) > .cs-ic { width: 14px; height: 14px; margin-right: 3px; vertical-align: -2px; }
body[data-cs-ic-form] :is(.ctm-opt, .tsp-opt) .cs-ic { width: 18px; height: 18px; margin-right: 6px; vertical-align: -4px; color: #1f6b57; flex: none; }
body[data-cs-ic-form] :is(.ucf-options-drop > summary, .vat-payer-badge, .courier-service-label) .cs-ic { width: 16px; height: 16px; margin-right: 5px; vertical-align: -3px; color: #1f6b57; }
html[data-theme="dark"] body[data-cs-ic-form] :is(.tcx-lhead, .tcx-cdet, .ctm-opt, .tsp-opt, .ucf-options-drop > summary) .cs-ic { color: #9fd4bd; }

/* ── ფორმები, ჯგუფი 3 (სამედიცინო) ── */
body[data-cs-ic-form] .med-note > .cs-ic { width: 16px; height: 16px; margin-right: 5px; vertical-align: -3px; color: #1f6b57; }
body[data-cs-ic-form] .dc-reset > .cs-ic { width: 14px; height: 14px; vertical-align: -2px; }
body[data-cs-ic-form] .scc-legend > span:not(.scc-cnt) > .cs-ic { width: 14px; height: 14px; margin-right: 3px; vertical-align: -2px; color: #1f6b57; }
body[data-cs-ic-form] .sbb-question > .cs-ic { width: 17px; height: 17px; margin-right: 5px; vertical-align: -3px; color: #1f6b57; }
html[data-theme="dark"] body[data-cs-ic-form] :is(.med-note, .scc-legend > span, .sbb-question) > .cs-ic { color: #9fd4bd; }
body[data-cs-ic-form] :is(.scc-warn, .tsp-warn) b > .cs-ic { width: 15px; height: 15px; margin-right: 3px; vertical-align: -2px; }
body[data-cs-ic-form] :is(.scc-alt, .tsp-alt) > span > .cs-ic { width: 14px; height: 14px; margin-right: 3px; vertical-align: -2px; }
body[data-cs-ic-form] .svc-choice-menu [role=option] .cs-ic { width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px; color: #1f6b57; flex: none; }
html[data-theme="dark"] body[data-cs-ic-form] .svc-choice-menu [role=option] .cs-ic { color: #9fd4bd; }

/* ── ძებნის ველები: 🔍 წარწერაში აღარ არის — ხაზოვანი აიქონი ველის მარცხნივ ── */
/* !important — style.css ზოგ თემაში `background: … !important` შემოკლებით აიქონს შლიდა */
#sellerSearchInput, #sadCatSearch {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b7b70' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: 11px 50% !important; background-size: 16px 16px !important; padding-left: 34px !important;
}
html[data-theme="dark"] #sellerSearchInput, html[data-theme="dark"] #sadCatSearch {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fb8ac' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") !important;
}
