/* ===== BOOTSTRAP ICONS 强制修复版 ===== */
/* 1. 字体定义 - 确保路径正确 */
@font-face {
  font-family: 'bootstrap-icons';
  src: url('../fonts/bootstrap-icons.woff2') format('woff2'),
       url('../fonts/bootstrap-icons.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

/* 2. 基础图标样式 - 使用高特异性选择器 */
[class^="bi-"]::before,
[class*=" bi-"]::before,
i.bi::before,
.bi::before {
  font-family: 'bootstrap-icons' !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  line-height: 1 !important;
  vertical-align: -.125em !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  display: inline-block !important;
  speak: never;
}

/* 3. 具体图标定义 - 使用正确的字符转义 */
.bi-dash-lg::before { content: "\f2f8" !important; }      /* 􋨸 */
.bi-plus-lg::before { content: "\f64d" !important; }      /* ���� */
.bi-x-lg::before { content: "\f659" !important; }         /* ���� */
.bi-arrow-up-short::before { content: "\f145" !important; } /* 􅅅 */

/* 4. 针对聊天小部件的额外保障 */
#chat-widget .bi::before,
.chat-header .bi::before,
.btn-link .bi::before {
  font-family: 'bootstrap-icons' !important;
}

/* 5. 调试模式：如果还不行，添加视觉提示 */
.bi::before {
  border: 1px solid transparent; /* 调试时可改为红色 */
}