@font-face {
  font-family: 'Platform Numeric';
  src: url('/fonts/platform/SpaceGrotesk-Numeric.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Platform Sans';
  src: url('/fonts/platform/MultaqaSans-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Platform Sans';
  src: url('/fonts/platform/MultaqaSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Platform Sans';
  src: url('/fonts/platform/MultaqaSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Platform Sans';
  src: url('/fonts/platform/MultaqaSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Platform Display';
  src: url('/fonts/platform/MultaqaDisplay-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Platform Display';
  src: url('/fonts/platform/MultaqaDisplay-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Platform Display';
  src: url('/fonts/platform/MultaqaDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

:root {
  --tblr-font-sans-serif: 'Platform Sans', 'Segoe UI', Tahoma, sans-serif;
}

html,
body {
  min-height: 100%;
}

body,
.table,
.form-control,
.form-select,
.btn,
.card,
.badge,
.nav-link,
.dropdown-menu {
  font-family: 'Platform Sans', 'Segoe UI', Tahoma, sans-serif;
}

.fa-duotone {
  font-size: 1rem;
}

.h1, h1, .h2, h2, .h3, h3, .page-title, .card-title {
  font-family: 'Platform Display', 'Platform Sans', sans-serif;
}

.page {
  min-height: 100vh;
  display: block;
}

.page-wrapper {
  min-height: auto;
  display: block;
}

.page-body {
  display: block;
  flex: initial !important;
  height: auto !important;
}

.footer {
  position: static;
  z-index: auto;
  margin-top: 1.5rem !important;
  background: var(--tblr-bg-surface);
}

.tab-content,
.tab-pane {
  position: static;
  z-index: auto;
}

.page-title {
  font-weight: 700;
}

.card-title {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.sync-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fb344;
  display: inline-block;
  box-shadow: 0 0 0 rgba(47, 179, 68, 0.7);
  animation: pulse-dot 1.6s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(47, 179, 68, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(47, 179, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 179, 68, 0); }
}

.is-refreshing {
  opacity: 0.72;
  transition: opacity .2s ease;
}

.executive-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
}

.executive-tabs .tab-icon {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tblr-blue-lt);
  color: var(--tblr-blue);
  font-size: .9rem;
}

.executive-tabs .nav-link.active .tab-icon {
  background: var(--tblr-blue);
  color: #fff;
}

.tab-pane .row.row-cards > [class*="col-"] {
  min-width: 0;
}

.tab-pane .card .card-body {
  padding: 1rem 1.05rem;
}

.tab-pane .card .h2,
.tab-pane .card .h1 {
  line-height: 1.2;
}

.table-responsive {
  overflow-x: auto;
}

.badge i {
  font-size: .95em;
}

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(32, 107, 196, .10), transparent 65%),
    linear-gradient(160deg, #f4f7fb 0%, #eef3f9 100%);
}

.login-card {
  width: min(460px, 92vw);
}

.login-card-polished {
  border-radius: 1rem;
}

.login-brand {
  padding-bottom: .25rem;
}

.login-logo {
  height: 66px;
  width: auto;
}

.login-title {
  font-weight: 700;
  letter-spacing: .2px;
  font-family: 'Platform Sans', 'Segoe UI', Tahoma, sans-serif;
}

.login-subtitle {
  margin-bottom: 1.5rem;
  font-size: .98rem;
}

.tab-pane .card .list-group-item,
.tab-pane .card .card-title,
.tab-pane .card .small,
.tab-pane .card td,
.tab-pane .card th {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.small,
.table td,
.table th,
.badge,
.form-text,
.dropdown-item {
  font-weight: 500;
}

.apexcharts-text,
.apexcharts-xaxis-label,
.apexcharts-yaxis-label,
.apexcharts-legend-text,
.apexcharts-datalabel,
.apexcharts-tooltip,
.apexcharts-tooltip-text,
.apexcharts-tooltip-title {
  font-family: 'Platform Sans', 'Segoe UI', Tahoma, sans-serif !important;
  font-weight: 500 !important;
}

.uoh-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.uoh-logo-title {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.section-logo-wrap {
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  padding-top: .25rem;
}

.uoh-logo-section {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.uoh-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .6rem;
  border: 1px solid var(--tblr-border-color);
  border-radius: 999px;
  background: var(--tblr-bg-surface);
  font-weight: 600;
}

.filters-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--tblr-border-color);
  border-radius: .75rem;
  background: var(--tblr-bg-surface-secondary);
}

.filters-hero-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

#filters .form-label {
  font-size: 1.05rem;
  font-weight: 700;
}

#filters .form-select {
  min-height: 2.8rem;
  font-size: 1.05rem;
}

#filter-presets .btn {
  font-size: 1.05rem;
  padding: .45rem .9rem;
  border-width: 1px;
}

#filters .btn {
  min-height: 2.8rem;
  font-size: 1.05rem;
}

#filters-modal .modal-content {
  border-radius: 1rem;
}

#active-filters .badge {
  font-size: .95rem;
  padding: .35rem .55rem;
}

#filters-modal .modal-body .fs-1 {
  font-size: 2rem !important;
}

#filters-modal .modal-body .fs-3 {
  font-size: 1.3rem !important;
}

@media (min-width: 1800px) {
  body {
    font-size: 1.12rem;
  }
  .h1, h1 { font-size: 3rem; }
  .h2, h2 { font-size: 2.3rem; }
  .h3, h3 { font-size: 1.55rem; }
  .card-title { font-size: 1.2rem; }
  .badge { font-size: 1rem; }
  .btn { font-size: 1.02rem; }
  .table { font-size: 1rem; }
  .form-select, .form-control { font-size: 1.02rem; min-height: 2.8rem; }
  .tab-pane .card .card-body { padding: 1.1rem 1.2rem; }
}
