body.erp-body {
  background: #f3f6fa;
  color: #1f2937;
}

.erp-topbar {
  background: linear-gradient(90deg, #071d33 0%, #0b2947 100%);
  min-height: 58px;
}

.erp-brand-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.erp-brand-sub {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  color: #93c5fd;
}

.erp-module-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #dbe7f3 !important;
  border-left: 1px solid #21415f;
  padding-left: 0.72rem !important;
  padding-right: 0.72rem !important;
  height: 58px;
  display: inline-flex;
  align-items: center;
}

.erp-module-link:hover,
.erp-module-link:focus,
.erp-module-link.show {
  color: #fff !important;
  background: #163a5f;
}

.erp-subnav-tabs {
  gap: 0.1rem;
  padding-top: 0.45rem;
  margin-bottom: 0;
}

.erp-subnav-tabs .nav-link {
  white-space: nowrap;
  border: 1px solid transparent;
  border-bottom: 0;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
}

.erp-subnav-tabs .nav-link:hover {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.erp-subnav-tabs .nav-link.active {
  color: #1d4ed8;
  background: #fff;
  border-color: #bfdbfe #bfdbfe #fff;
}

.erp-content-shell {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  padding: 1rem;
  min-height: calc(100vh - 180px);
}

.erp-topbar .dropdown-menu {
  border: 1px solid #dbe4ef;
  border-radius: 0.6rem;
  font-size: 0.85rem;
}

.erp-topbar .dropdown-item {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.erp-topbar .dropdown-item:active {
  background: #1d4ed8;
}

.erp-topbar .btn-success {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.erp-topbar .btn-success:hover {
  background: #1e40af;
  border-color: #1e40af;
}

.erp-topbar .btn-outline-light {
  border-color: #31577a;
}

.erp-topbar .btn-outline-light:hover {
  background: #163a5f;
  border-color: #163a5f;
}

.erp-topbar .navbar-toggler {
  color: #dbe7f3;
}

.erp-footer {
  border-top: 1px solid #dbe4ef;
  background: #fff;
}

@media (max-width: 991.98px) {
  .erp-module-link {
    border-left: none;
    height: auto;
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
  }
  .erp-content-shell {
    min-height: auto;
  }

  .erp-topbar .dropdown-menu {
    border: 0;
    box-shadow: none !important;
    background: #0f2d4d;
    color: #e2e8f0;
  }

  .erp-topbar .dropdown-item {
    color: #dbe7f3;
  }

  .erp-topbar .dropdown-item:hover,
  .erp-topbar .dropdown-item:focus {
    background: #174064;
    color: #fff;
  }

  .erp-topbar .dropdown-divider {
    border-color: #2e577c;
  }

  .erp-topbar .dropdown-header {
    color: #93c5fd;
  }
}
