/**
 * Enforce Inter as the only UI typeface under body.dm-app-theme (loads last).
 * Restores icon fonts and Urdu Nastaliq where required for correct glyphs.
 */
body.dm-app-theme,
body.dm-app-theme * {
    font-family: "Inter" !important;
}

body.dm-app-theme .fa,
body.dm-app-theme .fas,
body.dm-app-theme .far,
body.dm-app-theme .fab,
body.dm-app-theme .fal {
    font-family: FontAwesome !important;
}

body.dm-app-theme .glyphicon {
    font-family: "Glyphicons Halflings" !important;
}

body.dm-app-theme [class^="ion-"],
body.dm-app-theme [class*=" ion-"],
body.dm-app-theme .ion {
    font-family: Ionicons !important;
}

body.dm-app-theme .zmdi,
body.dm-app-theme [class*=" zmdi-"] {
    font-family: "Material-Design-Iconic-Font" !important;
}

/* FA4: icons sometimes omit the base .fa on the same node */
body.dm-app-theme i[class*="fa-"],
body.dm-app-theme span[class*="fa-"] {
    font-family: FontAwesome !important;
}

/* Urdu content: Nastaliq faces (Inter does not cover Arabic script well) */
body.dm-app-theme .urdu-font-family,
body.dm-app-theme .urdu-font-family * {
    font-family: "Jameel Noori Nastaleeq", "Jameel", "Alvi Nastaleeq", "Pak Nastaleeq", "Nafees Web Naskh", "Urdu Naskh Asiatype", serif !important;
}
