/**
 * TWREG local Font Awesome icon system.
 * The font files are bundled with the plugin; no external request is made.
 */

@font-face {
    font-family: "TWREG Font Awesome";
    src: url("../fonts/fa-solid-900.woff2") format("woff2");
    font-style: normal;
    font-weight: 900;
    font-display: block;
}

@font-face {
    font-family: "TWREG Font Awesome";
    src: url("../fonts/fa-regular-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: block;
}

.twreg-icon {
    display: inline-grid;
    width: 1em;
    min-width: 1em;
    height: 1em;
    place-items: center;
    flex: 0 0 auto;
    font-family: "TWREG Font Awesome" !important;
    font-size: 1em;
    font-style: normal;
    font-variant: normal;
    font-weight: 900;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.twreg-icon--regular {
    font-weight: 400;
}

.twreg-icon::before {
    display: block;
}

.twreg-icon--plus::before { content: "\f067"; }
.twreg-icon--rotate::before { content: "\f2f1"; }
.twreg-icon--file::before { content: "\f15c"; }
.twreg-icon--file-arrow-up::before { content: "\f574"; }
.twreg-icon--clipboard::before { content: "\f328"; }
.twreg-icon--font::before { content: "\f031"; }
.twreg-icon--at::before { content: "\f1fa"; }
.twreg-icon--users::before { content: "\f0c0"; }
.twreg-icon--user-plus::before { content: "\f234"; }
.twreg-icon--clock::before { content: "\f017"; }
.twreg-icon--check::before { content: "\f00c"; }
.twreg-icon--circle-check::before { content: "\f058"; }
.twreg-icon--xmark::before { content: "\f00d"; }
.twreg-icon--circle-xmark::before { content: "\f057"; }
.twreg-icon--circle-dot::before { content: "\f192"; }
.twreg-icon--square-check::before { content: "\f14a"; }
.twreg-icon--search::before { content: "\f002"; }
.twreg-icon--filter::before { content: "\f0b0"; }
.twreg-icon--copy::before { content: "\f0c5"; }
.twreg-icon--trash::before { content: "\f1f8"; }
.twreg-icon--pen::before { content: "\f304"; }
.twreg-icon--eye::before { content: "\f06e"; }
.twreg-icon--eye-slash::before { content: "\f070"; }
.twreg-icon--gear::before { content: "\f013"; }
.twreg-icon--wrench::before { content: "\f0ad"; }
.twreg-icon--lock::before { content: "\f023"; }
.twreg-icon--unlock::before { content: "\f09c"; }
.twreg-icon--shield::before { content: "\f3ed"; }
.twreg-icon--key::before { content: "\f084"; }
.twreg-icon--database::before { content: "\f1c0"; }
.twreg-icon--envelope::before { content: "\f0e0"; }
.twreg-icon--chart::before { content: "\f080"; }
.twreg-icon--arrow-right::before { content: "\f061"; }
.twreg-icon--arrow-up::before { content: "\f062"; }
.twreg-icon--arrow-up-right::before { content: "\f35d"; }
.twreg-icon--chevron-down::before { content: "\f078"; }
.twreg-icon--chevron-up::before { content: "\f077"; }
.twreg-icon--triangle-exclamation::before { content: "\f071"; }
.twreg-icon--circle-info::before { content: "\f05a"; }
.twreg-icon--circle-question::before { content: "\f059"; }
.twreg-icon--link::before { content: "\f0c1"; }
.twreg-icon--plug::before { content: "\f1e6"; }
.twreg-icon--code::before { content: "\f121"; }
.twreg-icon--paper-plane::before { content: "\f1d8"; }
.twreg-icon--floppy-disk::before { content: "\f0c7"; }
.twreg-icon--list::before { content: "\f03a"; }
.twreg-icon--bars { font-weight: 900 !important; }
.twreg-icon--bars::before { content: "\f0c9"; }
.twreg-icon--grip::before { content: "\f58e"; }
.twreg-icon--pause::before { content: "\f04c"; }
.twreg-icon--utensils::before { content: "\f2e7"; }
.twreg-icon--building::before { content: "\f1ad"; }
.twreg-icon--phone::before { content: "\f095"; }
.twreg-icon--id-card::before { content: "\f2c2"; }
.twreg-icon--palette::before { content: "\f53f"; }
.twreg-icon--layer-group::before { content: "\f5fd"; }
.twreg-icon--circle::before { content: "\f111"; }

/* Public validation messages can still emit legacy Dashicons markup. */
.twreg-form .dashicons-warning::before,
.tw-form .dashicons-warning::before {
    content: "\f071" !important;
    font-family: "TWREG Font Awesome" !important;
    font-weight: 900 !important;
}

.twreg-modern-admin .twreg-icon {
    color: currentColor;
}

.twreg-modern-admin button .twreg-icon,
.twreg-modern-admin a .twreg-icon {
    pointer-events: none;
}

@media (forced-colors: active) {
    .twreg-icon {
        forced-color-adjust: auto;
    }
}
