/**
 * Rocad app-wide typography — Inter only (UI text).
 * Loaded after AdminLTE so it overrides Source Sans Pro.
 * Icons (Font Awesome / Ionicons / Glyphicons) and monospace stay separate.
 */

:root {
  --rocad-font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

html,
body,
body.hold-transition,
body.skin-blue,
body.skin-blue.sidebar-mini,
.wrapper,
.content-wrapper,
.right-side,
.main-footer,
.main-header,
.main-sidebar,
#rocad-app,
#rocad-app.rocad-shell {
  font-family: var(--rocad-font-sans) !important;
}

/* Common UI surfaces inherit Inter (beats AdminLTE + page-level Muli/Arial) */
body .content-wrapper,
body .content,
body .box,
body .box-header,
body .box-body,
body .box-footer,
body .box-title,
body .table,
body .table > thead > tr > th,
body .table > tbody > tr > td,
body .form-control,
body .btn,
body .dropdown-menu,
body .modal-content,
body .modal-title,
body .nav,
body .nav-tabs > li > a,
body .breadcrumb,
body .alert,
body .label,
body .badge,
body .pagination,
body .dataTables_wrapper,
body .select2-container,
body .select2-selection,
body .select2-results,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p,
body label,
body a,
body span:not(.fa):not(.glyphicon):not(.ion),
body li,
body td,
body th,
body input,
body select,
body textarea,
body button {
  font-family: inherit !important;
}

/* Keep icon fonts intact */
.fa,
.fa:before,
[class^="fa-"]:before,
[class*=" fa-"]:before {
  font-family: FontAwesome !important;
}

.glyphicon,
.glyphicon:before {
  font-family: "Glyphicons Halflings" !important;
}

.ion,
.ionicons,
[class^="ion-"]:before,
[class*=" ion-"]:before {
  font-family: "Ionicons" !important;
}

/* Code / technical text */
code,
kbd,
pre,
samp,
.rocad-mono,
[class*="monospace"] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono",
    monospace !important;
}
