
body {
  background-color: #f5f5dc;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f5f5dc;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.sidebar {
  height: 100vh;
  background-color: #212529;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  padding-top: 60px;
}

.sidebar a {
  color: white;
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.sidebar a.active {
  background-color: #6c757d; 
  color: #ffffff;
  font-weight: bold;
  border-left: 4px solid #adb5bd;
}

.sidebar a:hover,
.sidebar a.active {
  background-color: #343a40;
}


.col-item-name {
  width: 25%;
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
table {
  position: absolute;
}

.col-category {
  width: 20%;
}

.col-qty {
  width: 15%;
}

.col-price {
  width: 20%;
}

.col-status {
  width: 20%;
}


.table-responsive {
  overflow-x: auto;
}


.table-sm td,
.table-sm th {
  padding: 0.3rem 0.5rem;
  font-size: 0.9rem;
}


.logout-fixed {
  z-index: 1050; 
}


.content {
  margin-left: 220px; 
  padding-top: 1rem;
  padding-right: 1rem;
  padding-left: 1rem;
}


@media (max-width: 767.98px) {
  .sidebar {
    display: none !important;
  }
  .content {
    margin-left: 0;
  }
}
