/* stylelint-disable */

/* ============================================================
   FONT AWESOME — NFB EDITOR (MINIMAL, SINGLE FILE)
   - Solid icons only
   - Toolbar + Help modal
============================================================ */

/* ============================================================
   FONT LOADER
============================================================ */

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  src: url("../webfonts/fa-solid-900.woff2") format("woff2");
}

/* ============================================================
   BASE ICON RULE — TOOLBAR + HELP
============================================================ */

.editor-toolbar .fa,
.editor-toolbar .fas,
.editor-toolbar .fa-solid,
.nfb-help-modal .fa,
.nfb-help-modal .fas,
.nfb-help-modal .fa-solid,
.nfb-stat-block .fa,
.nfb-stat-block .fas,
.nfb-stat-block .fa-solid,
.nfb-article .fa,
.nfb-article .fas,
.nfb-article .fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
  font-style: normal;
  display: inline-block;
  line-height: 1;
}

.editor-toolbar .fa-solid::before,
.nfb-help-modal .fa-solid::before,
.nfb-stat-block .fa-solid::before,
.nfb-article .fa-solid::before {
  content: var(--fa);
}

/* ============================================================
   ICON MAP — EDITOR + HELP
============================================================ */

/* === FORMATTING === */
.editor-toolbar .fa-bold,
.nfb-help-modal .fa-bold { --fa: "\f032"; }

.editor-toolbar .fa-italic,
.nfb-help-modal .fa-italic { --fa: "\f033"; }

.editor-toolbar .fa-underline,
.nfb-help-modal .fa-underline { --fa: "\f0cd"; }

.editor-toolbar .fa-strikethrough,
.nfb-help-modal .fa-strikethrough { --fa: "\f0cc"; }

.editor-toolbar .fa-superscript,
.nfb-help-modal .fa-superscript { --fa: "\f12b"; }

.editor-toolbar .fa-subscript,
.nfb-help-modal .fa-subscript { --fa: "\f12c"; }

.editor-toolbar .fa-code,
.nfb-help-modal .fa-code { --fa: "\f121"; }

/* Clear formatting */
.editor-toolbar .fa-eraser,
.nfb-help-modal .fa-eraser { --fa: "\f12d"; }

.editor-toolbar .fa-text-slash,
.nfb-help-modal .fa-text-slash { --fa: "\f87d"; }

/* === ALIGN === */
.editor-toolbar .fa-align-left,
.nfb-help-modal .fa-align-left { --fa: "\f036"; }

.editor-toolbar .fa-align-center,
.nfb-help-modal .fa-align-center { --fa: "\f037"; }

.editor-toolbar .fa-align-right,
.nfb-help-modal .fa-align-right { --fa: "\f038"; }

.editor-toolbar .fa-align-justify,
.nfb-help-modal .fa-align-justify { --fa: "\f039"; }

/* === COLORS / TAGS === */
.editor-toolbar .fa-brush,
.nfb-help-modal .fa-brush { --fa: "\f1fc"; }

.editor-toolbar .fa-highlighter,
.nfb-help-modal .fa-highlighter { --fa: "\f591"; }

.editor-toolbar .fa-tag,
.nfb-help-modal .fa-tag { --fa: "\f02b"; }

/* ============================================================
   ADVANCED (toolbar only for now)
============================================================ */

.fa-terminal              { --fa: "\f120"; }
.fa-bolt                  { --fa: "\f0e7"; }
.fa-chart-simple          { --fa: "\e473"; } /* FA6 */
.fa-users                 { --fa: "\f0c0"; }
.fa-chart-line            { --fa: "\f201"; }
.fa-percent               { --fa: "\25"; }
.fa-pen                   { --fa: "\f304"; }
.fa-note-sticky           { --fa: "\f249"; }
.fa-square-root-variable  { --fa: "\f698"; }

/* ============================================================
   INSERT
============================================================ */

.fa-heading               { --fa: "\f1dc"; }
.fa-feather               { --fa: "\f52d"; }
.fa-quote-left            { --fa: "\f10d"; }
.fa-quote-right           { --fa: "\f10e"; }
.fa-comment               { --fa: "\f075"; }
.fa-comment-dots          { --fa: "\f4ad"; }
.fa-feather-pointed       { --fa: "\f56b"; }

.fa-lightbulb             { --fa: "\f0eb"; }
.fa-circle-info           { --fa: "\f05a"; }
.fa-triangle-exclamation  { --fa: "\f071"; }
.fa-square-exclamation    { --fa: "\f321"; }
.fa-arrows-rotate         { --fa: "\f021"; }
.fa-database              { --fa: "\f1c0"; }
.fa-list-check            { --fa: "\f0ae"; }

/* === CALLOUT ICONS === */
.fa-pen-to-square         { --fa: "\f044"; }
.fa-circle-exclamation    { --fa: "\f06a"; }
.fa-circle-question       { --fa: "\f059"; }
.fa-star                  { --fa: "\f005"; }
.fa-flask                 { --fa: "\f0c3"; }
.fa-chart-column          { --fa: "\e0e3"; }
.fa-chart-pie             { --fa: "\f200"; }
.fa-bars-progress         { --fa: "\f828"; }
.fa-brain                 { --fa: "\f5dc"; }

.fa-key                   { --fa: "\f084"; }
.fa-list-ul               { --fa: "\f0ca"; }
.fa-paragraph             { --fa: "\f1dd"; }
.fa-asterisk              { --fa: "\f069"; }
.fa-link                  { --fa: "\f0c1"; }
.fa-wand-magic-sparkles   { --fa: "\e2ca"; }
.fa-certificate           { --fa: "\f0a3"; }
.fa-square                { --fa: "\f0c8"; }

.fa-list-ol               { --fa: "\f0cb"; }
.fa-caret-down            { --fa: "\f0d7"; }
.fa-sparkles              { --fa: "\f890"; }

/* === CONTEXT / REFERENCES ICONS === */
.fa-book                  { --fa: "\f02d"; }
.fa-book-open             { --fa: "\f518"; }
.fa-folder-open           { --fa: "\f07c"; }
.fa-file-lines            { --fa: "\f15c"; }

/* ============================================================
   LAYOUT
============================================================ */

.fa-columns        { --fa: "\f0db"; }
.fa-table-columns  { --fa: "\f0db"; } /* FA6 alias */
.fa-indent         { --fa: "\f03c"; }
.fa-outdent        { --fa: "\f03b"; }
.fa-stream         { --fa: "\f550"; }
.fa-timeline       { --fa: "\e29c"; }
.fa-minus          { --fa: "\f068"; }
.fa-square-full    { --fa: "\f45c"; }
.fa-border-all     { --fa: "\f84c"; }

/* ============================================================
   MEDIA
============================================================ */

.fa-image        { --fa: "\f03e"; }
.fa-photo-film   { --fa: "\f87c"; }
.fa-paperclip    { --fa: "\f0c6"; }
.fa-table        { --fa: "\f0ce"; }
.fa-table-cells  { --fa: "\f00a"; }
.fa-water        { --fa: "\f773"; }
.fa-square-info  { --fa: "\f30f"; }
.fa-images       { --fa: "\f302"; }
.fa-grip         { --fa: "\f58d"; }

/* ============================================================
   HISTORY
============================================================ */

.editor-toolbar .fa-rotate-left  { --fa: "\f2ea"; } /* undo */
.editor-toolbar .fa-rotate-right { --fa: "\f2f9"; } /* redo */
