/* Self-hosted fonts — no Google Fonts CDN dependency */

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/roboto-condensed/roboto-condensed-latin-300-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/roboto-condensed/roboto-condensed-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/roboto-condensed/roboto-condensed-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/roboto-condensed/roboto-condensed-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/roboto-condensed/roboto-condensed-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/rubik/rubik-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/rubik/rubik-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/rubik/rubik-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/rubik/rubik-latin-700-normal.woff2') format('woff2');
}

:root {
  --app-font-sans: 'Roboto Condensed', sans-serif;
}

html,
body,
.page-wrapper,
.page-body,
.page-body-wrapper,
.page-header,
.sidebar-wrapper,
.card,
.btn,
.form-control,
.form-select,
.modal-content,
.dropdown-menu,
.table,
h1, h2, h3, h4, h5, h6,
p, span, label, a, li, td, th, input, select, textarea {
  font-family: 'Roboto Condensed', sans-serif;
}

.font-roboto {
  font-family: 'Roboto Condensed', sans-serif;
}

.font-rubik {
  font-family: 'Roboto Condensed', sans-serif;
}

/* Legacy theme rules still reference Rubik — map them to the app default. */
.page-body-wrapper .card .sub-title,
.dropdown .dropdown-menu,
.bootstrap-touchspin .input-group,
.icon-lists,
.monthly-profit .apexcharts-canvas .apexcharts-datalabels-group .apexcharts-datalabel-value {
  font-family: 'Roboto Condensed', sans-serif !important;
}
