body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f5f7fa;
}
.sidebar {
  width: 240px;
  background-color: #fff;
  min-height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  border-right: 1px solid #e6e6e6;
  z-index: 1000;
  transition: width 0.3s ease, transform 0.3s ease;
}
.sidebar.collapsed {
  width: 60px;
}
.sidebar.collapsed .sidebar-title {
  display: none;
}
.sidebar.collapsed .menu-item span,
.sidebar.collapsed .menu-item:not(i) {
  font-size: 0;
}
.sidebar.collapsed .menu-item i {
  margin-right: 0;
  font-size: 18px;
}
.sidebar.collapsed .menu-item {
  justify-content: center;
  padding: 10px;
}
.sidebar-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
}
.sidebar-title {
  font-weight: bold;
  font-size: 18px;
}
.sidebar-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #666;
  transition: color 0.3s;
}
.sidebar-toggle:hover {
  color: #1890ff;
}
.sidebar-toggle i {
  font-size: 16px;
  transition: transform 0.3s;
}
.sidebar.collapsed .sidebar-header {
  justify-content: center;
  padding: 18px 10px;
}
.sidebar-menu {
  padding: 8px 0;
}
.menu-item {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  color: #333;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
  overflow: hidden;
}
.menu-item:hover, .menu-item.active {
  background-color: #e6f7ff;
  color: #1890ff;
  border-right: 3px solid #1890ff;
}
.menu-item i {
  margin-right: 10px;
  font-size: 18px;
  flex-shrink: 0;
}
.main-content {
  margin-left: 240px;
  padding: 20px;
  transition: margin-left 0.3s ease;
}
.main-content.expanded {
  margin-left: 60px;
}
.content-card {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  padding: 20px;
}
.nav-tabs .nav-link {
  color: #666;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 20px;
}
.nav-tabs .nav-link.active {
  color: #1890ff;
  border-bottom: 2px solid #1890ff;
  font-weight: 500;
}
.table th {
  background-color: #fafafa;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}
.btn-action {
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 2px;
}
.btn-edit {
  background-color: #009688;
  color: white;
  border: none;
}
.btn-delete {
  background-color: #dc3545;
  color: white;
  border: none;
}
.sort-input {
  width: 60px;
  text-align: center;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  padding: 4px;
}
.form-label {
  font-weight: 500;
}

/* Product Image */
.product-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}
