/* Professional hub pages: Reports, System Settings, Users & Roles */
.erp-admin-hub {
  --hub-accent: #2563eb;
  --hub-soft: #eff6ff;
  --hub-icon: #1d4ed8;
  background: #f5f7fb;
}

.erp-admin-hub[data-hub-type="settings"] {
  --hub-accent: #7c3aed;
  --hub-soft: #f5f3ff;
  --hub-icon: #6d28d9;
}

.erp-admin-hub[data-hub-type="users"] {
  --hub-accent: #0891b2;
  --hub-soft: #ecfeff;
  --hub-icon: #0e7490;
}

.erp-admin-hub .content-header {
  padding: 24px 8px 14px;
}

.erp-admin-hub .content-header h1 {
  margin: 0;
  color: #172b4d;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.erp-admin-hub .erp-hub-subtitle {
  display: block;
  margin-top: 5px;
  color: #718096;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

.erp-admin-hub .breadcrumb {
  margin-top: 7px;
  padding: 0;
  background: transparent;
  font-size: 11px;
}

.erp-admin-hub .breadcrumb a {
  color: var(--hub-accent);
  font-weight: 700;
}

.erp-admin-hub .content {
  padding-bottom: 30px;
}

.erp-admin-hub .content>.container-fluid>.col-12,
.erp-admin-hub .content>.container-fluid>.row>.col-12,
.erp-admin-hub .content>.container-fluid>.row>[class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

.erp-admin-hub .card {
  overflow: hidden;
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .055);
}

.erp-admin-hub .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 70px;
  padding: 14px 18px;
  border-bottom: 1px solid #e8edf4;
  background: #fff;
}

.erp-admin-hub .card-title {
  margin: 0;
  color: #24324a;
  font-size: 15px;
  font-weight: 800;
  text-transform: none;
}

.erp-admin-hub .card-body {
  padding: 18px;
  background: #fbfcfe;
}

.erp-admin-hub .card-body>.row {
  margin-right: -7px;
  margin-left: -7px;
}

.erp-admin-hub .card-body>.row>[class*="col-"] {
  display: flex;
  padding-right: 7px;
  padding-left: 7px;
}

.erp-admin-hub .card-body>.row>[class*="col-"]>a {
  display: flex;
  width: 100%;
  color: inherit;
  text-decoration: none !important;
}

.erp-admin-hub .info-box,
.erp-admin-hub .info-box[class*="bg-"] {
  position: relative;
  width: 100%;
  min-height: 108px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #fff !important;
  color: #334155 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .035);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.erp-admin-hub a:hover .info-box {
  transform: translateY(-2px);
  border-color: #b8cdf8;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .09);
}

.erp-admin-hub .info-box-icon {
  flex: 0 0 68px;
  width: 68px;
  border-radius: 0;
  background: var(--hub-soft) !important;
  color: var(--hub-icon) !important;
  font-size: 22px;
}

.erp-admin-hub .info-box-content {
  display: flex;
  min-width: 0;
  justify-content: center;
  padding: 13px 34px 13px 14px;
}

.erp-admin-hub .info-box-text {
  overflow: visible;
  color: #1e293b;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  text-transform: none !important;
  white-space: normal;
}

.erp-admin-hub .info-box-number {
  margin-top: 6px;
  color: var(--hub-accent);
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.erp-admin-hub .erp-hub-description {
  display: block;
  margin-top: 5px;
  color: #8290a4;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 500;
}

.erp-admin-hub .erp-hub-arrow {
  position: absolute;
  top: 50%;
  right: 13px;
  color: #b5c0cf;
  font-size: 10px;
  transform: translateY(-50%);
  transition: .16s ease;
}

.erp-admin-hub a:hover .erp-hub-arrow {
  right: 10px;
  color: var(--hub-accent);
}

.erp-hub-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.erp-hub-search {
  position: relative;
  width: 285px;
  max-width: 42vw;
}

.erp-hub-search>i {
  position: absolute;
  top: 11px;
  left: 11px;
  color: #94a3b8;
  font-size: 11px;
}

.erp-hub-search input {
  width: 100%;
  height: 36px;
  padding: 0 33px 0 31px;
  border: 1px solid #d8e0eb;
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  outline: 0;
}

.erp-hub-search input:focus {
  border-color: #91aff3;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.erp-hub-clear {
  position: absolute;
  top: 5px;
  right: 5px;
  display: none;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #94a3b8;
}

.erp-hub-clear:hover {
  color: var(--hub-accent);
  background: var(--hub-soft);
}

.erp-hub-total {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--hub-soft);
  color: var(--hub-icon);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.erp-hub-empty {
  display: none;
  width: 100%;
  padding: 54px 20px;
  text-align: center;
  color: #8090a5;
}

.erp-hub-empty i {
  display: block;
  margin-bottom: 10px;
  color: #b2bfce;
  font-size: 28px;
}

.erp-hub-empty strong {
  display: block;
  margin-bottom: 3px;
  color: #526176;
  font-size: 13px;
}

@media (max-width:767px) {
  .erp-admin-hub .content-header {
    padding-top: 18px;
  }

  .erp-admin-hub .content-header h1 {
    font-size: 22px;
  }

  .erp-admin-hub .breadcrumb {
    display: none;
  }

  .erp-admin-hub .card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .erp-hub-toolbar,
  .erp-hub-search {
    width: 100%;
    max-width: none;
  }

  .erp-hub-total {
    margin-left: auto;
  }

  .erp-admin-hub .card-body {
    padding: 12px;
  }
}

@media (prefers-reduced-motion:reduce) {

  .erp-admin-hub .info-box,
  .erp-admin-hub .erp-hub-arrow {
    transition: none;
  }
}