/* ==========================================================
   Iconos locales (sin cargar Font Awesome completo)
   Fuentes: assets/fonts/fa-solid.woff2 y fa-brands.woff2
   Son un "subset" de Font Awesome Free 7.3.1 con SOLO los glifos
   que usa el chat (~3.8 KB en total, antes ~235 KB).
   Los nombres de clase se mantienen (fas fa-bars, etc.), asi el HTML
   y boss.js no cambian: cada clase pinta su glifo por codigo unicode.
   Para agregar un icono: añadir su codigo aqui Y regenerar el subset
   (ver instrucciones al final de este archivo).
   Iconos: CC BY 4.0 - Fuentes: SIL OFL 1.1 - Font Awesome Free
   ========================================================== */

@font-face {
    font-family: "FA Solid";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("../fonts/fa-solid.woff2") format("woff2");
}
@font-face {
    font-family: "FA Brands";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("../fonts/fa-brands.woff2") format("woff2");
}

/* Base comun (igual a la de Font Awesome 7: caja de 1.25em, centrado) */
.fas,
.fa-brands {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-synthesis: none;
    line-height: 1;
    text-align: center;
    text-rendering: auto;
    width: 1.25em;
}
.fas       { font-family: "FA Solid";  font-weight: 900; }
.fa-brands { font-family: "FA Brands"; font-weight: 400; }

/* Tamaño */
.fa-3x { font-size: 3em; }

/* ---------- Iconos solid (.fas) ---------- */
.fa-bars::before { content: "\f0c9"; }
.fa-xmark::before,
.fa-times::before { content: "\f00d"; }
.fa-history::before { content: "\f1da"; }
.fa-cog::before { content: "\f013"; }
.fa-pen::before { content: "\f304"; }
.fa-robot::before { content: "\f544"; }
.fa-plus::before { content: "\2b"; }
.fa-paperclip::before { content: "\f0c6"; }
.fa-image::before { content: "\f03e"; }
.fa-microphone::before { content: "\f130"; }
.fa-paper-plane::before { content: "\f1d8"; }
.fa-stop::before { content: "\f04d"; }
.fa-arrow-up-right-from-square::before { content: "\f08e"; }
.fa-square-check::before { content: "\f14a"; }
.fa-square::before { content: "\f0c8"; }
.fa-copy::before { content: "\f0c5"; }
.fa-volume-high::before { content: "\f028"; }
.fa-thumbs-up::before { content: "\f164"; }
.fa-thumbs-down::before { content: "\f165"; }
.fa-rotate-right::before { content: "\f2f9"; }
.fa-download::before { content: "\f019"; }
.fa-share-nodes::before { content: "\f1e0"; }
.fa-keyboard::before { content: "\f11c"; }

/* ---------- Iconos de marcas (.fa-brands) ---------- */
.fa-discourse::before { content: "\f393"; }
.fa-openai::before { content: "\e7cf"; }

/* ----------------------------------------------------------
   Para agregar un icono nuevo:
   1) buscar su codigo unicode en https://fontawesome.com/icons
   2) sumarlo a --unicodes y regenerar (necesita: pip install fonttools brotli):
      pyftsubset fa-solid-900.woff2 --unicodes=f0c9,f00d,... --flavor=woff2 \
        --layout-features='' --no-hinting --output-file=fa-solid.woff2
   3) añadir aqui:  .fa-nombre::before { content: "\XXXX"; }
   ---------------------------------------------------------- */
