/**
 * Apprimax — Tajawal as the default UI font (main + admin / teacher / student panels).
 * Font files: public/main/fonts/Tajawal
 * Load this stylesheet AFTER theme CSS (style.css / style-student.css) so it wins over Poppins.
 */
@font-face {
    font-family: "Tajawal";
    src: url("../fonts/Tajawal/Tajawal-ExtraLight.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Tajawal";
    src: url("../fonts/Tajawal/Tajawal-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Tajawal";
    src: url("../fonts/Tajawal/Tajawal-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Tajawal";
    src: url("../fonts/Tajawal/Tajawal-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Tajawal";
    src: url("../fonts/Tajawal/Tajawal-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Tajawal";
    src: url("../fonts/Tajawal/Tajawal-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Tajawal";
    src: url("../fonts/Tajawal/Tajawal-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --apprimaxlms-font: "Tajawal", "Tahoma", sans-serif;
    --bs-font-sans-serif: "Tajawal", "Tahoma", sans-serif;
    --bs-body-font-family: "Tajawal", "Tahoma", sans-serif;
}

html,
body,
.container-scroller,
.page-body-wrapper,
.main-panel,
.sidebar,
.content-wrapper,
.navbar,
.apprimaxlms-site,
.apprimaxlms-html,
button,
input,
select,
textarea,
.form-control,
.btn,
.nav-link,
.menu-title,
.card,
.modal,
.modal-title,
.dropdown-item,
table,
h1, h2, h3, h4, h5, h6,
p, label, a, li, td, th {
    font-family: var(--apprimaxlms-font) !important;
}

/* Icon fonts — keep glyph fonts, not Tajawal */
.fa,
.fas,
.far,
.fal,
.fab {
    font-family: FontAwesome !important;
}

.mdi,
.mdi::before {
    font-family: "Material Design Icons" !important;
}

[class^="icon-"]::before,
[class*=" icon-"]::before {
    font-family: "icomoon" !important;
}

[class^="ri-"]::before,
[class*=" ri-"]::before {
    font-family: "remixicon" !important;
}
