/*
 * icons-fix.css
 * Replaces missing flaticon_Zimtunes font-based icons with pure CSS equivalents.
 * The flaticon font files (woff2/woff/ttf) were absent from the template zip.
 * All <i class="flaticon-*"> tags in HTML have been replaced with
 * <i class="ri-*"> Remixicon equivalents (already loaded via remixicon.css).
 * This file patches the two remaining flaticon usages baked into style.css:
 *   1. Navbar & sidebar dropdown-toggle chevrons
 *   2. Accordion active-state toggle icon
 */

/* ── Dropdown toggle chevron (replaces flaticon \f109 down-arrow) ───────── */
#navbar .navbar-nav .nav-item .nav-link.dropdown-toggle::before,
.sidebar-modal .sidebar-navbar-nav .nav-item .nav-link.dropdown-toggle::before {
    content: '' !important;
    font-family: inherit !important;
    display: inline-block !important;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-top: 1px;
    vertical-align: middle;
}

/* ── Active/open state: chevron flips up (replaces flaticon \f108) ───────── */
.sidebar-modal .sidebar-navbar-nav .nav-item.active > .nav-link.dropdown-toggle::before,
.sidebar-modal .sidebar-navbar-nav .nav-item.active .nav-link.dropdown-toggle::before {
    border-top: none !important;
    border-bottom: 5px solid currentColor !important;
    margin-top: -2px;
}

/* ── Accordion toggle icon (replaces flaticon \f10e minus/dash) ─────────── */
.accordion .accordion-item.active .accordion-toggle i::before {
    content: '\EA13' !important; /* ri-subtract-line */
    font-family: remixicon !important;
    font-style: normal;
}

/* ── Remove the broken @font-face load attempt from flaticon_Zimtunes.css ─── */
/* The rule below suppresses the 404 requests by overriding the src.         */
@font-face {
    font-family: 'flaticon_Zimtunes';
    src: local('Arial'); /* fallback to system font — no network request */
    font-display: optional;
}
