body {
  font-family: "Outfit", sans-serif;
  background: radial-gradient(circle at 10% 10%, #e9f1ff 0, #f6f8fc 40%, #eef3ff 100%);
  color: #1f2a37;
}

.preloader {
  display: none;
}

#wrapper {
  min-height: 100vh;
}

#page-wrapper {
  background: transparent;
  margin: 0;
  padding: 22px;
}

.mofi-shell {
  padding: 18px 24px 8px;
}

.mofi-topbar {
  background: linear-gradient(135deg, #2f3c96, #1e88e5);
  border-radius: 18px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 28px rgba(25, 40, 90, 0.2);
}

.mofi-logo img {
  height: 38px;
  width: auto;
}

.mofi-menu {
  display: flex;
  gap: 10px;
}

.mofi-pill {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  display: inline-block;
}

.mofi-pill:hover,
.mofi-pill:focus {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.26);
}

.white-box,
.login-box .white-box {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(36, 52, 90, 0.12);
  background: #fff;
}

.bg-title {
  border-radius: 14px;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(31, 55, 102, 0.1);
}

h1, h2, h3, h4 {
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.1px;
}

.btn-success {
  background: linear-gradient(135deg, #2f3c96, #3aa6ff) !important;
  border: 0 !important;
  border-radius: 10px !important;
}

.form-control {
  border-radius: 10px;
  border: 1px solid #d8def0;
  min-height: 40px;
}

.table {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.table > thead > tr > th {
  background: #f0f5ff;
  border-bottom: 1px solid #dce6ff;
  color: #203464;
  font-weight: 600;
}

.pagination > li > a,
.pagination > li > span {
  border-radius: 8px !important;
  margin: 0 2px;
}

.footer {
  border-top: 0;
  margin-top: 20px;
  color: #4d5f86;
}

.cd-hero {
  background: linear-gradient(130deg, #ffffff 0%, #f3f7ff 100%);
  border: 1px solid #d9e5ff;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(46, 74, 145, 0.12);
  margin-bottom: 18px;
  padding: 24px;
}

.cd-hero-title {
  color: #162a57;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.cd-hero-subtitle {
  color: #5c6f93;
  font-size: 15px;
  margin-bottom: 16px;
}

.cd-card {
  background: #fff;
  border: 1px solid #e0e8fb;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(35, 54, 103, 0.1);
  margin-bottom: 18px;
  padding: 20px;
}

.cd-section-title {
  color: #223d73;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.cd-meta-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.cd-table {
  margin-bottom: 0;
}

.cd-table > tbody > tr > th {
  background: #f7faff;
  color: #243f76;
  font-weight: 600;
  width: 32%;
}

.cd-kpi {
  background: #fff;
  border: 1px solid #dce7ff;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(35, 55, 106, 0.08);
  margin-bottom: 18px;
  min-height: 110px;
  padding: 16px;
}

.cd-kpi-label {
  color: #60739a;
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cd-kpi-value {
  color: #1f3768;
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 767px) {
  #page-wrapper {
    padding: 14px;
  }

  .mofi-shell {
    padding: 14px 14px 6px;
  }

  .mofi-topbar {
    flex-direction: column;
    gap: 10px;
  }

  .cd-hero {
    padding: 16px;
  }

  .cd-hero-title {
    font-size: 24px;
  }
}
