/**
 * IcoMoon → Font Awesome 6 Compatibility Layer
 *
 * Corrige les icônes cassées des extensions tierces (RSTickets!Pro, modules...)
 * qui utilisent les anciennes classes IcoMoon de Joomla 3 (icon-*).
 * Chargé automatiquement par Helix Ultimate — résistant aux mises à jour.
 */

/* ---------------------------------------------------------------
   Base : toutes les classes icon-[nom] utilisent FA6 Free Solid
--------------------------------------------------------------- */
[class^="icon-"]::before,
[class*=" icon-"]::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
}

/* ---------------------------------------------------------------
   Actions principales
--------------------------------------------------------------- */
.icon-print::before        { content: "\f02f"; } /* fa-print          */
.icon-edit::before         { content: "\f044"; } /* fa-pen-to-square  */
.icon-delete::before       { content: "\f2ed"; } /* fa-trash-can      */
.icon-trash::before        { content: "\f1f8"; } /* fa-trash          */
.icon-save::before         { content: "\f0c7"; } /* fa-floppy-disk    */
.icon-apply::before        { content: "\f00c"; } /* fa-check          */
.icon-ok::before           { content: "\f00c"; } /* fa-check          */
.icon-check::before        { content: "\f00c"; } /* fa-check          */
.icon-cancel::before       { content: "\f05e"; } /* fa-ban            */
.icon-cancel-2::before     { content: "\f00d"; } /* fa-xmark          */
.icon-remove::before       { content: "\f00d"; } /* fa-xmark          */
.icon-close::before        { content: "\f00d"; } /* fa-xmark          */
.icon-times::before        { content: "\f00d"; } /* fa-xmark          */
.icon-refresh::before      { content: "\f021"; } /* fa-arrows-rotate  */
.icon-plus::before         { content: "\f067"; } /* fa-plus           */
.icon-minus::before        { content: "\f068"; } /* fa-minus          */
.icon-copy::before         { content: "\f0c5"; } /* fa-copy           */

/* ---------------------------------------------------------------
   Navigation
--------------------------------------------------------------- */
.icon-arrow-left::before   { content: "\f060"; } /* fa-arrow-left     */
.icon-arrow-right::before  { content: "\f061"; } /* fa-arrow-right    */
.icon-arrow-up::before     { content: "\f062"; } /* fa-arrow-up       */
.icon-arrow-down::before   { content: "\f063"; } /* fa-arrow-down     */
.icon-chevron-down::before { content: "\f078"; } /* fa-chevron-down   */
.icon-back::before         { content: "\f060"; } /* fa-arrow-left     */
.icon-next::before         { content: "\f061"; } /* fa-arrow-right    */
.icon-menu::before         { content: "\f0c9"; } /* fa-bars           */
.icon-menu-2::before       { content: "\f0c9"; } /* fa-bars           */
.icon-list::before         { content: "\f0ca"; } /* fa-list-ul        */
.icon-home::before         { content: "\f015"; } /* fa-house          */

/* ---------------------------------------------------------------
   Utilisateurs et sécurité
--------------------------------------------------------------- */
.icon-user::before         { content: "\f007"; } /* fa-user           */
.icon-users::before        { content: "\f0c0"; } /* fa-users          */
.icon-user-plus::before    { content: "\f234"; } /* fa-user-plus      */
.icon-register::before     { content: "\f234"; } /* fa-user-plus      */
.icon-lock::before         { content: "\f023"; } /* fa-lock           */
.icon-unlock::before       { content: "\f09c"; } /* fa-lock-open      */
.icon-key::before          { content: "\f084"; } /* fa-key            */

/* ---------------------------------------------------------------
   Fichiers et documents
--------------------------------------------------------------- */
.icon-file::before         { content: "\f15b"; } /* fa-file           */
.icon-doc-text::before     { content: "\f15c"; } /* fa-file-lines     */
.icon-folder::before       { content: "\f07b"; } /* fa-folder         */
.icon-folder-open::before  { content: "\f07c"; } /* fa-folder-open    */
.icon-attach::before       { content: "\f0c6"; } /* fa-paperclip      */
.icon-paperclip::before    { content: "\f0c6"; } /* fa-paperclip      */
.icon-clipboard::before    { content: "\f328"; } /* fa-clipboard      */
.icon-download::before     { content: "\f019"; } /* fa-download       */
.icon-upload::before       { content: "\f093"; } /* fa-upload         */
.icon-image::before        { content: "\f03e"; } /* fa-image          */

/* ---------------------------------------------------------------
   Communication
--------------------------------------------------------------- */
.icon-mail::before         { content: "\f0e0"; } /* fa-envelope       */
.icon-envelope::before     { content: "\f0e0"; } /* fa-envelope       */
.icon-comment::before      { content: "\f075"; } /* fa-comment        */
.icon-comments::before     { content: "\f086"; } /* fa-comments       */
.icon-broadcast::before    { content: "\f0a1"; } /* fa-bullhorn       */
.icon-reply::before        { content: "\f3e5"; } /* fa-reply          */
.icon-share::before        { content: "\f064"; } /* fa-share          */
.icon-feed::before         { content: "\f09e"; } /* fa-rss            */

/* ---------------------------------------------------------------
   Recherche et informations
--------------------------------------------------------------- */
.icon-search::before       { content: "\f002"; } /* fa-magnifying-glass   */
.icon-info::before         { content: "\f129"; } /* fa-info               */
.icon-info-circle::before  { content: "\f05a"; } /* fa-circle-info        */
.icon-question::before     { content: "\f128"; } /* fa-question           */
.icon-question-sign::before { content: "\f059"; } /* fa-circle-question   */
.icon-warning::before      { content: "\f071"; } /* fa-triangle-exclamation */
.icon-help::before         { content: "\f059"; } /* fa-circle-question    */
.icon-star::before         { content: "\f005"; } /* fa-star               */
.icon-thumbs-up::before    { content: "\f164"; } /* fa-thumbs-up          */

/* ---------------------------------------------------------------
   Temps et localisation
--------------------------------------------------------------- */
.icon-calendar::before     { content: "\f133"; } /* fa-calendar       */
.icon-clock::before        { content: "\f017"; } /* fa-clock          */
.icon-time::before         { content: "\f017"; } /* fa-clock          */
.icon-location::before     { content: "\f3c5"; } /* fa-location-dot   */
.icon-map::before          { content: "\f279"; } /* fa-map            */

/* ---------------------------------------------------------------
   Paramètres et administration
--------------------------------------------------------------- */
.icon-cogs::before         { content: "\f085"; } /* fa-gears          */
.icon-cog::before          { content: "\f013"; } /* fa-gear           */
.icon-settings::before     { content: "\f013"; } /* fa-gear           */
.icon-dashboard::before    { content: "\f3fd"; } /* fa-gauge-high     */
.icon-database::before     { content: "\f1c0"; } /* fa-database       */
.icon-tag::before          { content: "\f02b"; } /* fa-tag            */
.icon-tags::before         { content: "\f02c"; } /* fa-tags           */
.icon-link::before         { content: "\f0c1"; } /* fa-link           */
.icon-eye::before          { content: "\f06e"; } /* fa-eye            */
.icon-eye-close::before    { content: "\f070"; } /* fa-eye-slash      */
.icon-eye-open::before     { content: "\f06e"; } /* fa-eye            */

/* ---------------------------------------------------------------
   Correction de la typo dans RSTickets : btn-.econdary → btn-secondary
--------------------------------------------------------------- */
.btn-.econdary {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    color: #6c757d;
    background-color: transparent;
    border: 1px solid #6c757d;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.btn-.econdary:hover,
.btn-.econdary:focus {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
