@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --line: rgba(15, 23, 42, 0.12);
}

html,
body {
  min-height: 100%;
}

body {
  background: #f4f8ff;
  color: #0f172a;
}

.page-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 650px at 12% 2%, rgba(56, 189, 248, 0.2), transparent 62%),
    radial-gradient(750px 600px at 88% 18%, rgba(16, 185, 129, 0.14), transparent 60%),
    radial-gradient(1100px 700px at 50% 98%, rgba(59, 130, 246, 0.12), transparent 66%),
    linear-gradient(180deg, #f8fbff 0%, #eff6ff 46%, #e9f2ff 100%);
}

.glass-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.96));
  box-shadow: 0 16px 34px rgba(30, 64, 175, 0.12);
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 0.8rem;
  background: #ffffff;
  color: #1e293b;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.55rem 0.9rem;
}

.nav-pill:hover {
  background: #f8fbff;
}

.nav-pill-active {
  border-color: rgba(14, 116, 144, 0.3);
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.35), rgba(167, 243, 208, 0.45));
  color: #0f172a;
}

.kpi-value {
  font-size: 1.6rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.kpi-label {
  margin-top: 0.4rem;
  color: #64748b;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.input-dark,
textarea.input-dark,
select.input-dark {
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #ffffff;
  color: #0f172a;
  padding: 0.68rem 0.8rem;
}

.input-dark:focus,
textarea.input-dark:focus,
select.input-dark:focus {
  outline: none;
  border-color: rgba(8, 145, 178, 0.7);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  border: 0;
  background: linear-gradient(135deg, #28c7f6, #2ce5a7);
  color: #03101f;
  font-weight: 800;
  padding: 0.68rem 1rem;
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.18);
  color: #0f172a;
  background: #ffffff;
  font-weight: 700;
  padding: 0.66rem 1rem;
}

.btn-muted:hover {
  background: #f1f5f9;
}

.table-dark {
  width: 100%;
  border-collapse: collapse;
}

.table-dark th,
.table-dark td {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  padding: 0.7rem;
  font-size: 0.88rem;
}

.table-dark th {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  text-align: left;
}

.table-dark tbody tr:hover {
  background: #f8fafc;
}

.table-wrap-sticky {
  max-height: 62vh;
  overflow: auto;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.9rem;
}

.table-sticky thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fbff;
}

div.dt-container .dt-search input,
div.dt-container .dt-length select {
  border: 1px solid rgba(15, 23, 42, 0.18) !important;
  border-radius: 0.65rem !important;
  background: #ffffff !important;
  color: #0f172a !important;
}

div.dt-container .dt-paging .dt-paging-button {
  border-radius: 0.6rem !important;
  border: 1px solid rgba(15, 23, 42, 0.18) !important;
  background: #ffffff !important;
}

div.dt-container .dt-paging .dt-paging-button.current,
div.dt-container .dt-paging .dt-paging-button.current:hover {
  background: linear-gradient(135deg, rgba(40, 199, 246, 0.25), rgba(44, 229, 167, 0.28)) !important;
  border-color: rgba(14, 116, 144, 0.3) !important;
  color: #0f172a !important;
}

div.dt-container .dt-layout-row {
  margin-bottom: 0.6rem;
}

.dt-grid-wrap .dt-container {
  padding: 0.25rem 0;
}
