/*
 * Bootstrap 2 Glyphicons → Bootstrap Icons Compatibility Shim
 * Maps BS2 icon-* classes to Bootstrap Icons (bi-*) using ::before pseudo-elements
 * Also maps BS3 glyphicon-* classes used in some templates
 * This file should be loaded AFTER bootstrap-icons.css
 */

/* === Base icon setup === */

[class^="icon-"],
[class*=" icon-"],
[class^="glyphicon-"],
[class*=" glyphicon-"],
.icon {
    display: inline-block;
    font-family: "bootstrap-icons" !important;
    font-style: normal;
    font-weight: 400 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -0.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.glyphicon {
    display: inline-block;
    font-family: "bootstrap-icons" !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 1;
    vertical-align: -0.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === Color modifiers === */

.icon-white { color: #fff !important; }
.icon-black { color: #000 !important; }

/* === BS2 Glyphicon Mappings === */

/* Check / OK */
.icon-ok::before { content: "\f26e"; }         /* bi-check */
.icon-check::before { content: "\f272"; }       /* bi-check2 */
.icon-ok-circle::before { content: "\f26b"; }   /* bi-check-circle */

/* Plus / Minus */
.icon-plus::before { content: "\f4fe"; }        /* bi-plus */
.icon-plus-sign::before { content: "\f4fe"; }   /* bi-plus */
.icon-minus::before { content: "\f2ea"; }       /* bi-dash */
.icon-minus-sign::before { content: "\f2ea"; }  /* bi-dash */

/* Remove / Close */
.icon-remove::before { content: "\f62a"; }      /* bi-x */
.icon-remove-sign::before { content: "\f62a"; } /* bi-x */

/* CRUD / Actions */
.icon-trash::before { content: "\f5de"; }       /* bi-trash */
.icon-search::before { content: "\f52a"; }      /* bi-search */
.icon-edit::before { content: "\f4cb"; }        /* bi-pencil */
.icon-pencil::before { content: "\f4cb"; }      /* bi-pencil */
.icon-print::before { content: "\f501"; }       /* bi-printer */
.icon-refresh::before { content: "\f116"; }     /* bi-arrow-clockwise */
.icon-repeat::before { content: "\f116"; }      /* bi-arrow-clockwise */

/* Files / Folders */
.icon-file::before { content: "\f392"; }        /* bi-file-earmark */
.icon-folder-open::before { content: "\f3d8"; } /* bi-folder2-open */
.icon-folder-close::before { content: "\f3d5"; }/* bi-folder2 */
.icon-book::before { content: "\f194"; }        /* bi-book */

/* UI */
.icon-flag::before { content: "\f3cc"; }        /* bi-flag */
.icon-eye-open::before { content: "\f341"; }    /* bi-eye */
.icon-eye-close::before { content: "\f344"; }   /* bi-eye-slash */
.icon-envelope::before { content: "\f32f"; }    /* bi-envelope */
.icon-off::before { content: "\f4ff"; }         /* bi-power */
.icon-asterisk::before { content: "\f151"; }    /* bi-asterisk */
.icon-ban-circle::before { content: "\f567"; }  /* bi-slash-circle */

/* Navigation */
.icon-chevron-left::before { content: "\f284"; }  /* bi-chevron-left */
.icon-chevron-right::before { content: "\f285"; } /* bi-chevron-right */
.icon-chevron-up::before { content: "\f286"; }    /* bi-chevron-up */
.icon-chevron-down::before { content: "\f282"; }  /* bi-chevron-down */
.icon-arrow-left::before { content: "\f12c"; }    /* bi-arrow-left */
.icon-arrow-right::before { content: "\f138"; }   /* bi-arrow-right */
.icon-arrow-up::before { content: "\f148"; }      /* bi-arrow-up */
.icon-arrow-down::before { content: "\f128"; }    /* bi-arrow-down */

/* Misc */
.icon-cog::before,
.icon-cogs::before { content: "\f3e5"; }          /* bi-gear */
.icon-wrench::before { content: "\f835"; }         /* bi-wrench */
.icon-download::before { content: "\f30a"; }       /* bi-download */
.icon-upload::before { content: "\f603"; }         /* bi-upload */
.icon-list::before { content: "\f479"; }           /* bi-list */
.icon-th::before { content: "\f3f4"; }             /* bi-grid */
.icon-th-list::before { content: "\f479"; }        /* bi-list */
.icon-home::before { content: "\f422"; }           /* bi-house */
.icon-user::before { content: "\f4e1"; }           /* bi-person */
.icon-time::before { content: "\f293"; }           /* bi-clock */
.icon-calendar::before { content: "\f1f6"; }       /* bi-calendar */
.icon-comment::before { content: "\f268"; }        /* bi-chat */
.icon-globe::before { content: "\f3ee"; }          /* bi-globe */
.icon-warning-sign::before { content: "\f33b"; }   /* bi-exclamation-triangle */
.icon-info-sign::before { content: "\f431"; }      /* bi-info-circle */
.icon-question-sign::before { content: "\f504"; }  /* bi-question-circle */
.icon-exclamation-sign::before { content: "\f333"; }/* bi-exclamation-circle */
.icon-lock::before { content: "\f47c"; }           /* bi-lock */
.icon-share::before { content: "\f52c"; }          /* bi-share */
.icon-tag::before { content: "\f5e2"; }            /* bi-tag */
.icon-tags::before { content: "\f5e4"; }           /* bi-tags */
.icon-picture::before { content: "\f42c"; }        /* bi-image */
.icon-camera::before { content: "\f220"; }         /* bi-camera */
.icon-map-marker::before { content: "\f3e7"; }     /* bi-geo-alt */
.icon-star::before { content: "\f588"; }           /* bi-star */
.icon-star-empty::before { content: "\f588"; }     /* bi-star */
.icon-heart::before { content: "\f417"; }          /* bi-heart */
.icon-resize-full::before { content: "\f149"; }    /* bi-arrows-fullscreen */
.icon-resize-small::before { content: "\f381"; }   /* bi-fullscreen-exit */

/* === BS3 Glyphicon Mappings (used in staff-management) === */

.glyphicon-calendar::before { content: "\f1f6"; }  /* bi-calendar */
.glyphicon-earphone::before { content: "\f5c1"; }  /* bi-telephone */
.glyphicon-user::before { content: "\f4e1"; }      /* bi-person */
.glyphicon-remove::before { content: "\f62a"; }    /* bi-x */
.glyphicon-ok::before { content: "\f26e"; }        /* bi-check */
.glyphicon-plus::before { content: "\f4fe"; }      /* bi-plus */
.glyphicon-minus::before { content: "\f2ea"; }     /* bi-dash */
.glyphicon-search::before { content: "\f52a"; }    /* bi-search */
.glyphicon-trash::before { content: "\f5de"; }     /* bi-trash */
.glyphicon-pencil::before { content: "\f4cb"; }    /* bi-pencil */
.glyphicon-print::before { content: "\f501"; }     /* bi-printer */
.glyphicon-envelope::before { content: "\f32f"; }  /* bi-envelope */
.glyphicon-home::before { content: "\f422"; }      /* bi-house */
.glyphicon-star::before { content: "\f588"; }      /* bi-star */
.glyphicon-cog::before { content: "\f3e5"; }       /* bi-gear */
.glyphicon-list::before { content: "\f479"; }      /* bi-list */
.glyphicon-check::before { content: "\f272"; }     /* bi-check2 */
.glyphicon-eye-open::before { content: "\f341"; }  /* bi-eye */
.glyphicon-flag::before { content: "\f3cc"; }      /* bi-flag */
.glyphicon-book::before { content: "\f194"; }      /* bi-book */
