/* Global Lato Font Override - Single Font for Entire Project */

/* Lato Font Face Definitions */
@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-regular.woff2') format('woff2'),
         url('../fonts/lato-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-bold.woff2') format('woff2'),
         url('../fonts/lato-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Force Lato globally - Override all font-family declarations */
* {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}

body,
html,
input,
textarea,
select,
button,
table,
th,
td,
p,
span,
div,
h1, h2, h3, h4, h5, h6,
.form-control,
.btn,
.navbar,
.sidebar,
.main-sidebar,
.content-wrapper,
.card,
.modal,
.dropdown-menu {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}

/* AdminLTE/Jazzmin specific overrides */
.main-sidebar,
.main-header,
.content-wrapper,
.brand-text,
.nav-link,
.nav-item,
.sidebar-menu,
.menu-label {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}

/* Bootstrap/AdminLTE form controls */
.form-group label,
.form-control,
.input-group-text,
.btn,
.alert,
.card-title,
.card-text {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}

/* Django admin specific */
.submit-row,
.object-tools,
.module,
.breadcrumbs,
#changelist,
.paginator {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}

