/* HRDI Admin — IBM Plex Sans Thai (rem base: theme-default.css html) */
html,
body {
  font-family: 'IBM Plex Sans Thai', 'Open Sans', sans-serif !important;
  font-size: 1rem !important;
}

body,
.page-container,
.page-content,
.page-sidebar,
.x-navigation,
.x-navigation li > a,
.x-navigation .xn-text,
.panel,
.panel-title,
.panel-body,
.panel-heading,
.breadcrumb,
.form-control,
.btn,
.table,
.table td,
.table th,
label,
.control-label,
.help-block,
.dropdown-menu,
.modal,
.modal-title,
.modal-body,
.alert,
.widget,
.widget-title,
.widget-subtitle,
.login-container,
.login-box,
.login-title,
.login-body,
.dashboard-chatbox,
.dashboard-chatbox .chat-head,
.dashboard-chatbox .chat-body,
.dashboard-chat-chips,
.nav,
.navbar,
h1, h2, h3, h4, h5, h6,
p, span, a, li, td, th, div, input, select, textarea, button {
  font-family: 'IBM Plex Sans Thai', 'Open Sans', sans-serif !important;
}

/* Relative type scale (follows theme html root) */
.help-block,
.text-muted,
small,
.badge,
.label,
.breadcrumb,
.panel .panel-subtitle,
.widget-subtitle {
  font-size: 0.875rem !important;
}

.form-control,
.btn,
.table,
.x-navigation li > a,
.panel-body,
.login-body {
  font-size: 1rem !important;
}

.panel-title,
.modal-title,
.login-title,
h4 {
  font-size: 1.125rem !important; /* 18px */
}

h3 {
  font-size: 1.25rem !important; /* 20px */
}

h2 {
  font-size: 1.5rem !important; /* 24px */
}

h1 {
  font-size: 1.75rem !important; /* 28px */
}

.btn-sm,
.btn-xs {
  font-size: 0.875rem !important;
}

.btn-lg {
  font-size: 1.125rem !important;
}

/* Keep icon fonts intact */
.fa,
.fa:before,
[class^="fa-"]:before,
[class*=" fa-"]:before {
  font-family: FontAwesome !important;
}
.glyphicon,
.glyphicon:before {
  font-family: 'Glyphicons Halflings' !important;
}
