/**
 * Google Sans Font - Global Override
 * Force Google Sans font on all elements across the entire application
 */

/* Import Google Sans */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@300;400;500;600;700&display=swap');

/* Global font override - highest priority */
* {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

html,
body {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* All text elements */
h1, h2, h3, h4, h5, h6,
p, span, a, div, label,
button, input, select, textarea,
table, th, td, tr,
.btn, .form-control, .form-label,
.card, .card-title, .card-body,
.modal, .modal-content, .modal-title,
.dropdown-menu, .dropdown-item,
.nav, .nav-link, .navbar,
.alert, .badge, .toast,
.tooltip, .popover,
.list-group-item, .breadcrumb,
.pagination, .page-link {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* DataTables */
.dataTables_wrapper,
.dataTable,
.dataTables_info,
.dataTables_paginate,
.dataTables_length,
.dataTables_filter {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Select2 */
.select2-container,
.select2-selection,
.select2-results,
.select2-results__option {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* SweetAlert2 */
.swal2-popup,
.swal2-title,
.swal2-html-container,
.swal2-content,
.swal2-confirm,
.swal2-cancel,
.swal2-input,
.swal2-textarea {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Toastr */
#toast-container,
.toast-title,
.toast-message {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Bootstrap components */
.accordion,
.accordion-button,
.accordion-body,
.offcanvas,
.offcanvas-body,
.offcanvas-title {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Feather icons should not inherit font */
.feather,
[data-feather] {
    font-family: inherit !important;
}
