@font-face {
    font-family: "Inter SIMRS";
    src: url("../fonts/inter/InterVariable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root,
[data-bs-theme=light],
html[data-bs-theme=dark] {
    --bs-font-sans-serif: "Inter SIMRS", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bs-body-font-family: "Inter SIMRS", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body,
#app,
#main,
.modal,
.dropdown-menu,
.offcanvas,
.swal2-popup {
    font-family: "Inter SIMRS", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    letter-spacing: 0;
}

.page-heading h3,
.page-heading .h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
}

.page-heading .text-subtitle,
.page-heading .text-muted {
    font-size: 14px;
    line-height: 1.5;
}

.card-title,
.modal-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
}

label,
.form-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
}

.form-control,
.form-select,
.input-group-text,
.btn,
.dropdown-item,
.page-link {
    font-family: inherit;
    font-size: 14px;
    letter-spacing: 0;
}

.table,
.dataTable-table {
    font-size: 14px;
    line-height: 1.45;
}

.table thead th,
.dataTable-table thead th {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
}

.badge,
.pagination,
.metric-value,
.stats-icon + *,
.dataTable-info,
.dataTables_info,
.medical-record,
.visit-date,
.cache-status {
    font-variant-numeric: tabular-nums;
}

#sidebar .sidebar-wrapper,
.sidebar-wrapper .menu .sidebar-link {
    font-size: 14px;
    letter-spacing: 0;
}

.sidebar-wrapper .menu .submenu .submenu-item a {
    font-size: 13px;
    letter-spacing: 0;
}

@media screen and (max-width: 1199px) {
    .global-emergency {
        display: none;
    }

    #sidebar.active .global-emergency {
        display: block;
    }
}
