body {
  overflow-x: hidden;
}

:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --light-color: #f8f9fa;
  --body-color: #343a40;
}
.bg-body {
  background-color: var(--body-color) !important;
}
.imag-avatar {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
}
.imag-avatar-dashboard {
  width: 2rem;
  height: 2rem;
  object-fit: cover;
}

.font-14 {
  font-size: 14px;
}

.font-12 {
  font-size: 12px;
}
.font-10 {
  font-size: 10px;
}

.font-8 {
  font-size: 8px;
}
.w-md-25 {
  width: auto;
}
.w-md-50 {
  width: auto;
}
@media (min-width: 768px) {
  .w-md-25 {
    width: 25%;
  }
  .w-md-50 {
    width: 50%;
  }
    #loadingSpinner77 , #loadingSpinner8 {
    display: none !important;
  }
}
/* Sidebar styling */
.sidebar {
  width: 250px;
  height: 100vh;
  position: fixed;
  background: var(--body-color);
  transition: all 0.3s;
  z-index: 1000;
}

.sidebar .nav-link {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1rem;
  margin-bottom: 0.2rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link i {
  margin-right: 0.5rem;
}

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

/* Collapsed state */
.sidebar-collapsed .sidebar {
  margin-left: -250px;
}

.sidebar-collapsed .content {
  margin-left: 0;
}

/* Mobile view */
@media (max-width: 768px) {
  .sidebar {
    margin-left: -250px;
  }

  .content {
    margin-left: 0;
    width: 100%;
  }

  .sidebar.show {
    margin-left: 0;
  }

  .sidebar-collapsed .sidebar.show {
    margin-left: -250px;
  }

  /* Overlay for mobile */
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }

  .sidebar-overlay.active {
    display: block;
  }
}

/* Pagination style  */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.pagination a,
.pagination span {
  padding: 10px 15px;
  margin: 0 5px;
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid #007bff;
  color: #007bff;
  transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
  background-color: #007bff;
  color: white;
}
.pagination a:hover span {
  background-color: #007bff;
  color: white;
}

.pagination .active > a {
  background-color: #007bff;
  color: white;
  border: 1px solid #0056b3;
}

.table-hover tbody tr:hover {
  background-color: #f1f1f1;
}

/* Style Icn Eye order */
a.icon-eye {
  padding: 5px;
  cursor: pointer;
  text-decoration: none;
  border-color: blue !important;
}
a.icon-eye:hover {
  background: blue;
}
a.icon-eye i {
  color: blue;
}
a.icon-eye:hover i {
  color: white;
}

/* Style Order details */
.wrap-order-product:hover {
  background: #f1f1f1;
  cursor: pointer;  
  border-radius: 5px;
  transition: all 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}
