body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

/* Sidebar Styles */
#sidebar {
  min-width: 250px;
  max-width: 250px;
  height: 100vh;
  background: #fff;
  border-right: 1px solid #eee;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s;
  overflow-y: auto;
}

#sidebar .sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
}

#sidebar ul.components {
  padding: 20px 0;
}

#sidebar ul li a {
  padding: 12px 20px;
  font-size: 0.9rem;
  display: block;
  color: #6c757d;
  text-decoration: none;
  font-weight: 500;
}

#sidebar ul li a:hover {
  color: #d9534f;
  background: #fff5f5;
}

#sidebar ul li.active>a {
  color: #d9534f;
  background: #fff5f5;
  border-right: 3px solid #d9534f;
}

#sidebar ul li a i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.sidebar-heading {
  padding: 10px 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #adb5bd;
  font-weight: 700;
  margin-top: 10px;
}

/* Main Content */
#content {
  margin-left: 250px;
  min-height: 100vh;
  transition: all 0.3s;
}

/* Navbar */
.navbar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 15px 20px;
}

/* Custom Cards */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.02);
  margin-bottom: 24px;
}

.card-header {
  background-color: transparent;
  border-bottom: 1px solid #f0f0f0;
  padding: 15px 20px;
  font-weight: 600;
}

/* Summary Cards Backgrounds */
.bg-soft-danger {
  background-color: #fff0f0;
}

.bg-soft-success {
  background-color: #eafaf1;
}

.bg-soft-info {
  background-color: #e8f4fd;
}

.bg-soft-warning {
  background-color: #fef7e6;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Product Lists */
.product-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #f8f9fa;
}

.list-group-item {
  border: none;
  border-bottom: 1px solid #f0f0f0;
  padding: 12px 20px;
}

.list-group-item:last-child {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
  #sidebar {
    margin-left: -250px;
  }

  #sidebar.active {
    margin-left: 0;
  }

  #content {
    margin-left: 0;
  }

  #content.active {
    margin-left: 250px;
    /* Optional shift */
  }
}

/* Chart container heights */
.chart-container {
  height: 300px;
  width: 100%;
}