/**
 * Custom Fonts - Font chữ tùy chỉnh cho ứng dụng
 * Sử dụng font Bahnschrift từ thư mục fonts
 */

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

/* Áp dụng font cho toàn bộ ứng dụng */
body,
html {
    font-family: 'Bahnschrift', 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Áp dụng cho tất cả các phần tử */
*,
*::before,
*::after {
    font-family: inherit;
}

/* Đảm bảo các phần tử form cũng sử dụng font */
input,
textarea,
select,
button,
.form-control,
.form-select,
.btn,
.nav-link,
.card-title,
h1, h2, h3, h4, h5, h6,
p, span, div, a, li, td, th,
.table,
.modal-title,
.dropdown-menu,
.breadcrumb,
.alert,
.badge,
.label {
    font-family: 'Bahnschrift', 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Áp dụng cho AdminLTE components */
.app-wrapper,
.app-header,
.app-sidebar,
.app-main,
.app-content,
.sidebar-menu,
.navbar,
.card,
.table-responsive,
.modal,
.dropdown-menu {
    font-family: 'Bahnschrift', 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Áp dụng cho DataTables */
.dataTables_wrapper,
.dataTables_filter,
.dataTables_length,
.dataTables_info,
.dataTables_paginate {
    font-family: 'Bahnschrift', 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Áp dụng cho Select2 */
.select2-container,
.select2-selection,
.select2-results {
    font-family: 'Bahnschrift', 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Áp dụng cho Bootstrap Icons (giữ nguyên font cho icons) */
.bi,
[class*=" bi-"],
[class^=bi-] {
    font-family: bootstrap-icons !important;
}

/* Áp dụng cho Font Awesome (giữ nguyên font cho icons) */
.fa,
.fas,
.far,
.fab {
    font-family: var(--fa-style-family, "Font Awesome 6 Free") !important;
}

