/* ============================================================
   global-icons.css — Bootstrap Icons only (single icon library).
   Loaded once via both chrome headers (admin + partner).
   Created 2026-05-28. Updated 2026-05-30: stripped FA/LNI/TI.
   ============================================================ */

/* 1. Pull in Bootstrap Icons font + glyph map */
@import url('../../front/fonts/bootstrap/bootstrap-icons.min.css');

/* 2. Brand-gold color for content-area icons */
.global-icon,
.content-wrapper .card-body i[class*="bi-"],
.bbp-datatable-global i[class*="bi-"]:not(.bi-grip-vertical) {
  color: #F9C127 !important;
}

/* 2a. Icons inside a button follow the button's own text color (each .bz-btn
   variant sets its text to contrast its background), so an icon never vanishes
   on a filled gold/red button — anywhere on the page, including the toolbar.
   The [class*="bz-btn-"] qualifier raises specificity to beat rule 2 above. */
.bz-btn[class*="bz-btn-"] i[class*="bi-"] {
  color: inherit !important;
}

/* 3. Sizing helpers */
.global-icon { display: inline-block; vertical-align: middle; line-height: 1; }

/* 4. Allow opt-out via .text-muted */
.text-muted.global-icon, .text-muted i[class*="bi-"] { color: inherit !important; }

/* 5. Font-family reassertion — beat the body * { font-family } rule in global-sidebar.css */
.bi, .bi::before,
[class^="bi-"], [class^="bi-"]::before,
[class*=" bi-"], [class*=" bi-"]::before {
  font-family: "bootstrap-icons" !important;
  font-style: normal !important;
}
