body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 1.1rem;
	background: #f4f6f8;
	margin: 0;
	padding: 0;
}

.sidebar {
    height: 100vh;
    background-color: #343a40;
    color: #fff;
    width: 275px;
    transition: width 0.3s ease;
    overflow: hidden;
    overflow-y: auto;
    /* To prevent horizontal scroll on collapse */
}

.sidebar a {
    color: #adb5bd;
    display: flex;
    align-items: left;
	text-align: left;
    padding: 12px 24px;
    /* keep horizontal padding */
    text-decoration: none;
    white-space: nowrap;
}

.sidebar .nav-link {
    text-decoration: none !important;
}

.nav-link.active {
  background-color: #007bff;
  color: white;
  font-weight: bold;
  /* any other highlight styles */
}

.sidebar a:hover,
.sidebar a.active {
    background-color: #495057;
    color: #fff;
}

.sidebar .label {
    transition: opacity 0.3s ease, margin-left 0.3s ease;
    margin-left: 10px;
    opacity: 1;
}

.sidebar>div {
    padding-left: 1.5rem;
    /* px-4 = 1.5rem */
    padding-right: 1.5rem;
}

.sidebar::-webkit-scrollbar {
  width: 6px; /* reduce the scrollbar width */
}

.sidebar::-webkit-scrollbar-track {
  background: #f1f1f1; /* optional */
}

.sidebar::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.collapsed .sidebar {
    width: 70px;
	transition: opacity 0.3s ease;
    /* Remove margin-left: -250px; so sidebar stays visible */
}

.collapsed .sidebar span {
    display: none;
}

.collapsed .sidebar span + i {
    display: none;
}

.collapsed .content {
    margin-left: 70px;
	transition: margin-left 0.3s ease;
}

.collapsed .navbar {
    margin-left: 70px;
	transition: margin-left 0.3s ease;
	display: flex;
    align-items: center;
    //gap: 10px;
}

/* Push arrow to far right */
.sidebar .nav-link .arrow-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.collapsed .sidebar .nav-link {
    justify-content: flex-start !important; /* aligns items to the left */
    padding-left: 20px; /* adjust as needed */
}

/* Optional: rotate arrow when expanded */
.sidebar .nav-link[aria-expanded="true"] .arrow-icon {
    transform: rotate(180deg); /* or any effect you want */
}

.collapsed .sidebar .menu-text {
    display: none;
}
.collapsed .sidebar .arrow-icon {
    display: none;
}

.content {
    margin-left: 265px;
    padding: 20px;
    transition: margin-left 0.3s ease;
}

.navbar {
    margin-left: 275px;
    transition: margin-left 0.3s ease;
}

/* Responsive tweaks for smaller screens */

.breadcrumb {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 1rem 0;
  font-size: 15px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  color: #555;
}

.breadcrumb li + li::before {
  content: "›";
  margin: 0 0.5rem;
  color: #999;
}

.breadcrumb a {
  text-decoration: none;
  color: #007bff;
}

.breadcrumb a:hover {
  text-decoration: none;
}


section.dashboard, section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.card-body-black,
.card-body-white {
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-body-black {
  background-color: #1e1e2f;
  color: #fff;
}

.card-body-white {
  background-color: #ffffff;
  color: #333;
}

.square {
  width: 200px;
  min-height: 150px;
}

.chart-square {
  width: 300px;
  min-height: 150px;
}

.rectangle-low-stock {
  background-color: #fff3cd; /* light yellow alert background */
  border: 1.5px solid #ffeeba; /* soft yellow border */
  border-radius: 10px;
  padding: 15px 15px;
  width: 300px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.rectangle {
  width: 620px;
}

.rectangle2xwide {
  width: 540px;;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title {
  font-weight: bold;
}

.more-link a {
  text-decoration: none;
  color: #007bff; /* or your preferred color */
}

.card-title-white {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.card-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.card-subtitle {
  font-size: 0.95rem;
  opacity: 0.85;
}

.bold {
  font-weight: bold;
}

ul {
  padding-left: 20px;
  margin: 0;
  border: none !important;
}

ul li {
  margin: 5px 0;
}

.donut-chat, .packed-circle-chat {
  height: 180px;
  background: #f0f0f0;
  border-radius: 10px;
}

.data-grid {
  margin-top: 10px;
}

.data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.95rem;
}

.dotted-border-bottom {
  border-bottom: 1px dotted #ccc;
}

.data-row span {
  flex: 1;
}

.align-left {
  float: left;
}

.align-right {
  float: right;
}

a {
  //color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.tile {
  background: #f9f9f9;
  margin: 10px 0;
  padding: 12px;
  border-radius: 8px;
}

.tile.white {
  padding: 3px 12px; /* reduce vertical padding to 6px */
  margin: 3px 0;
  border-radius: 8px;
  background: #f9f9f9;
  min-height: unset; /* ensure no minimum height */
}

.tile-row {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
  margin:0;
  font-size: 0.95rem;
}

.custoner_name,
.sale-value {
  font-size: 0.95rem;
}

.card-body-black.chart-square .tile,
.card-body-black.chart-square .tile-row,
.card-body-black.chart-square .custoner_name,
.card-body-black.chart-square .sale-value {
  color: #000000; /* black text */
}

canvas {
  max-width: 100%;
  height: 250px;
  margin-top: 10px;
}

.accordion-header {
  background-color: #7e80e7;
}

.accordion-button {
  color: #212529; /* Dark gray */
}

.accordion-button,
.accordion-body {
  //background-color: #f8f9fa; /* Light gray */
  background-color: #ffffff; /* Light gray */
}

.accordion-item {
  border: 1px solid #dee2e6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hover-shadow:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

.item-box {
  width: 105px;
  height: 150px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-name {
  font-size: 14px;
  margin-top: 5px;
  color: #333;
}

/* Force radio buttons to appear square like checkboxes */
.form-check-input[type="radio"] {
	width: 1.5em;       /* Increase size */
	height: 1.5em;      /* Increase size */
	border-radius: 0.25rem;  /* Bootstrap checkbox-like corners */
}
.form-check-input[type="checkbox"] {
	width: 1.2em;       /* Increase size */
	height: 1.2em;      /* Increase size */
	border-radius: 0.25rem;  /* Bootstrap checkbox-like corners */
}

.modal-xl {
  max-width: 90% !important;
}

.orderdetails-ul{
	list-style-type: none; /* Remove bullets */
	padding: 0; /* Remove padding */
	margin: 0; /* Remove margins */
	border: 0 !important;
}

.orderdetails-ul > li {
	border-radius: 5px;
	border: 1px solid #BEBEBE;
	padding: 5px;
}

.button-bar{
	 border-radius: 10px !important;
	 border: 1px solid #DCDCDC;
}

.icon-with-margin {
    margin-right: 5px; /* Adjust this value as needed (e.g., 8px, 0.5em, 0.3rem) */
}


#item-details > table {
	border: solid 1px 
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .content,
    .navbar {
        margin-left: 0;
    }
}