/* Roboto Font Family - Local Installation */

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

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

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

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

/* Aplicar Roboto globalmente con prioridad absoluta */
:root {
	--tblr-font-sans-serif: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
	--bs-font-sans-serif: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
}

/* Aplicar Roboto a TODOS los elementos */
* {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
}

body {
	font-family: 'Roboto', sans-serif !important;
	font-size: 14px;
}

/* Encabezados con Roboto */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto', sans-serif !important;
	font-weight: 600;
}

/* Elementos de formulario */
.card-body,
.table,
.form-control,
.form-select,
.btn,
.input-group-text,
.dropdown-item,
.nav-link {
	font-family: 'Roboto', sans-serif !important;
}

/* Select2 (jQuery plugin) */
.select2-container,
.select2-results,
.select2-selection {
	font-family: 'Roboto', sans-serif !important;
}

/* Tabler overrides */
.navbar,
.sidebar,
.modal,
.toast,
.alert {
	font-family: 'Roboto', sans-serif !important;
}
