* {
  padding: 0;
  margin: 0;
  color: white;
  font-family: sans-serif;
}

body {
  display: flex;
  background-color: #001;
}

/* Profile Image Box */
.img-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid white;
  flex-shrink: 0;
}

.img-box img {
  width: 100%;
}

/* Profile Section */
.profile {
  display: flex;
  align-items: center;
  gap: 30px;
}

.profile h2 {
  font-size: 20px;
  text-transform: capitalize;
}

/* Sidebar Menu */
.menu {
  background-color: #123;
  width: 60px;
  height: 100vh;
  padding: 20px;
  overflow: hidden;
  transition: 0.5s;
}

.menu:hover {
  width: 260px;
}

ul {
  list-style: none;
  position: relative;
  height: 95%;
}

ul li a {
  display: flex;
  align-items: center;
  gap: 40px;
  text-decoration: none;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  transition: 0.5s;
}

ul li a:hover {
  background-color: #ffffff55;
}

ul li a i {
  font-size: 30px;
}

/* Log Out Style */
.log-out {
  position: absolute;
  bottom: 0;
}

.log-out a {
  background-color: red;
}

/* Main Content */
.content {
  width: 100%;
}

/* Title Info Box */
.title-info {
  background-color: #0481ff;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
}

/* Data Info Boxes */ /* */
.data-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.data-info .box {
  background-color: #123;
  height: 150px;
  flex-basis: 150px;
  flex-grow: 1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  transition: 0.3s;
}

.data-info .box:hover {
  background-color: #ffffff81;
}

.data-info .box i {
  font-size: 40px;
}

.data-info .box .data {
  text-align: center;
}

.data-info .box .data span {
  font-size: 30px;
}

/* Table Styling */
table {
  width: 100%;
  text-align: center;
  border-spacing: 10px;
}

td, th {
  background-color: #123;
  height: 40px;
  border-radius: 8px;
}

th {
  background-color: #0481ff;
}

td:hover {
  background-color: #ffffff55;
}

.price, .count {
  padding: 6px;
  border-radius: 6px;
}

.price {
  background-color: green;
}

.count {
  background-color: rgb(202, 174, 12);
}
/* Extra small devices (phones, less than 576px) */
@media (max-width: 576px) {
  body {
    flex-direction: column;
  }

  .menu {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding: 10px;
  }

  .menu:hover {
    width: 100%;
  }

  .menu ul {
    display: flex;
    flex-direction: row;
    height: auto;
    padding: 0;
  }

  .menu ul li {
    flex: 1;
    text-align: center;
  }

  .menu ul li a {
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
  }

  .profile {
    display: none; 
  }

  .data-info {
    flex-direction: column;
  }

  .data-info .box {
    width: 100%;
    height: auto;
    padding: 15px;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  td, th {
    min-width: 100px;
    font-size: 14px;
  }

  .title-info {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 992px) {
  .menu {
    width: 80px;
  }

  .menu:hover {
    width: 200px;
  }

  .data-info {
    gap: 10px;
    flex-wrap: wrap;
  }

  .data-info .box {
    flex-basis: 45%;
  }
}

/* Large devices (small laptops/desktops) */
@media (min-width: 993px) and (max-width: 1200px) {
  .data-info .box {
    flex-basis: 22%;
  }
}
