/**
 * A-MIS global typography — Inter across admin, auth, and public UI.
 */
:root {
    --amis-font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --amis-font-size-base: 0.9375rem;
    --amis-line-height: 1.6;
    --amis-heading-weight: 600;
    --amis-text-color: #334155;
    --amis-muted-color: #64748b;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--amis-font-sans) !important;
    font-size: var(--amis-font-size-base) !important;
    line-height: var(--amis-line-height) !important;
    color: var(--amis-text-color) !important;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

h1, h2, h3, h4, h5, h6,
.section-header h1,
.card-header h4,
.card-header h5,
.card .card-title,
.modal-title,
.navbar-brand {
    font-family: var(--amis-font-sans) !important;
    font-weight: var(--amis-heading-weight) !important;
    letter-spacing: -0.015em;
    color: #1e293b !important;
}

p, span, li, td, th, label, small, .text-muted {
    font-family: var(--amis-font-sans) !important;
}

.text-muted,
.card-description,
.section-header-breadcrumb {
    color: var(--amis-muted-color) !important;
}

.btn,
.form-control,
.custom-select,
.input-group-text,
select,
textarea,
input,
.table,
.sidebar-menu li a,
.main-sidebar,
.navbar,
.dropdown-item,
.breadcrumb-item,
.badge {
    font-family: var(--amis-font-sans) !important;
}

.table th {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.card-statistic-1 .card-header h4 {
    font-weight: 500 !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.02em;
}

.card-statistic-1 .card-body {
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    letter-spacing: -0.02em;
}

.section-header h1 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.form-control,
.custom-select {
    font-size: 0.9375rem !important;
}

.btn {
    font-weight: 500 !important;
    letter-spacing: 0.01em;
}

.dashboard-chart-wrap {
    font-family: var(--amis-font-sans) !important;
}
