:root {
  --navy: #23367b;
  --deep: #1b2b66;
  --red: #d3212d;
  --bs-primary: #23367b;
  --bs-primary-rgb: 38, 59, 130;
  --bs-body-font-family: Inter, system-ui, sans-serif;
  --bs-link-color: #23367b;
}
body {
  background: #f3f6fb;
  font-size: 0.88rem;
  color: #1d2440;
}
.btn-check:checked+.btn, 
.btn.active, 
.btn.show, .btn:first-child:active, 
:not(.btn-check)+.btn:active {
    color: var(--bs-btn-active-color);
    background-color: var(--navy);
    border-color: var(--navy);
}
.btn-outline-primary {
    --bs-btn-color: var(--navy);
    --bs-btn-border-color: var(--navy);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--navy);
    --bs-btn-hover-border-color: var(--navy);
    --bs-btn-focus-shadow-rgb: 13,110,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--navy);
    --bs-btn-active-border-color: var(--navy);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--navy);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--navy);
    --bs-gradient: none;
}
.active>.page-link, .page-link.active {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: var(--red);
    border-color: var(--red);
}
.sb {
  position: fixed;
  inset: 0 auto 0 0;
  width: 250px;
  background: var(--deep);
  overflow: auto;
  z-index: 100;
  padding-bottom: 20px;
}
.sb .logo {
  background: var(--navy);
  padding: 14px 18px;
  margin-bottom: 8px;
}
.sb .logo img {
  width: 100%;
  display: block;
}
.sb a {
  display: flex;
  gap: 11px;
  align-items: center;
  color: #b9c3e6;
  text-decoration: none;
  padding: 9px 20px;
  border-left: 3px solid transparent;
}
.sb a:hover,
.sb a.on {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.sb a.on {
  border-left-color: var(--red);
}
.sb .sub a {
  padding: 7px 20px 7px 50px;
  font-size: 0.82rem;
}
.wrap {
  margin-left: 250px;
  min-height: 100vh;
}
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  height: 68px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #e5eaf4;
}
.top .s {
  position: relative;
  width: 340px;
  margin-left: auto;
}
.top .s i {
  position: absolute;
  left: 12px;
  top: 9px;
  color: #8892b0;
}
.top .s input {
  padding-left: 36px;
  background: #f3f6fb;
  border: 0;
}
.av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dfe6fa;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.75rem;
  flex: none;
}
main {
  padding: 28px;
}
.card {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(20, 30, 80, 0.07);
}
.card-h {
  padding: 18px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-h h6 {
  margin: 0;
  font-weight: 600;
}
.btn-primary {
  --bs-btn-bg: var(--navy);
  --bs-btn-border-color: var(--navy);
  --bs-btn-hover-bg: var(--deep);
  --bs-btn-hover-border-color: var(--deep);
  --bs-btn-active-bg: var(--deep);
}
.btn,
.form-control,
.form-select {
  border-radius: 10px;
}
.table {
  --bs-table-bg: transparent;
}
.table th {
  font-size: 0.75rem;
  color: #6b7597;
  font-weight: 600;
  white-space: nowrap;
  border-bottom-color: #e5eaf4;
}
.table td {
  vertical-align: middle;
  padding: 0.75rem 0.6rem;
}
.bd {
  padding: 0.3em 0.75em;
  border-radius: 20px;
  font-size: 0.73rem;
  font-weight: 600;
  white-space: nowrap;
}
.bd-s {
  background: #ddf5e8;
  color: #15803d;
}
.bd-w {
  background: #fff1dc;
  color: #b45f06;
}
.bd-d {
  background: #fde3e5;
  color: #b4141f;
}
.bd-i {
  background: #e0e8ff;
  color: #23367b;
}
.bd-t {
  background: #d9f3f1;
  color: #0f766e;
}
.bd-g {
  background: #eceff6;
  color: #5a6488;
}
.ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex: none;
}
.kpi b {
  font-size: 1.65rem;
  font-weight: 700;
}
.up {
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 600;
}
.tl {
  display: flex;
  overflow: auto;
  padding: 8px 0;
}
.tl .st {
  flex: 1;
  min-width: 110px;
  text-align: center;
  position: relative;
  font-size: 0.76rem;
  color: #8892b0;
}
.tl .st:before {
  content: "";
  position: absolute;
  top: 15px;
  left: -50%;
  width: 100%;
  height: 3px;
  background: #dfe5f2;
}
.tl .st:first-child:before {
  display: none;
}
.tl .st i {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #dfe5f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.tl .done {
  color: #1d2440;
}
.tl .done:before {
  background: var(--navy);
}
.tl .done i {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.tl .now i {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(211, 33, 45, 0.15);
}
.tl .now:before {
  background: var(--navy);
}
.nav-pills .nav-link {
  color: #5a6488;
  border-radius: 10px;
  font-weight: 500;
}
.nav-pills .nav-link.active {
  background: var(--navy);
}
.thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #dfe6fa, #f3d5d8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
@media (max-width: 991px) {
  .sb {
    display: none;
  }
  .wrap {
    margin: 0;
  }
  .top .s {
    display: none;
  }
}
