.nav-sidebar > .nav-item .nav-icon {
  font-size: 16px;
  color: #646466;
}

.nav-sidebar > .nav-item .nav-icon.active {
  color: #000;
}

.nav-sidebar .nav-item > .nav-link {
  display: flex;
  align-items: center;
  font-size: 14.3px;
  padding-top: 3.2px;
  padding-bottom: 3.2px;
  padding-left: 8px;
}

.main-header {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.brand-link {
  min-height: 0px !important;
  padding: 0 !important;
  height: 40.5px;
  margin: 5px 9px;
}

.brand-link ul {
  list-style: none;
}

.brand-text {
  font-size: 14.5px;
  font-weight: 600;
}

.sidebar-dark-primary .brand-text {
  color: rgba(255, 255, 255, 0.8);
}

.brand-link .brand-image {
  background-color: #8fa1f4 !important;
  height: 26px;
  font-size: 14px;
  width: 30px;
}

.modal-expanded {
  max-width: 100%;
  max-height: 100% !important;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0 !important;
}

.toastr-success {
  background-color: #fff !important;
  color: #000 !important;
}

.nav-sidebar .nav-item > .nav-link {
  display: flex;
  align-items: center;
  font-size: 14.3px;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 8px;
  border-radius: 7px;
}

.desktop-padding {
  border: 1px solid #dee2e6;
  border-radius: 0.65rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  background-color: #fff;
  margin: 15px 0.5rem 20px 0.5rem;
}

.content-wrapper > .content {
  padding-left: 1rem;
  padding-right: 1rem;
}

.desktop-content {
  padding-left: 1rem;
  padding-right: 1rem;
}

.tab-view {
  background-color: #f6f6f6;
  border-radius: 7px;
  padding: 2px 5px 3px 5px;
  border: 1px solid #dee2e6 !important;
}

.tab-view a:hover {
  background-color: #fff;
  font-weight: 500;
}

.tab-view .btn.active {
  background-color: #fff;
  font-weight: 500;
}

.dashboard-add-icon img {
  width: 40px;
  height: 40px;
}

.crm-showpage {
  width: 70%;
}

.add-product {
  width: 50%;
}

.left-border {
  border-left: 1px solid #dee2e6;
}

.right-text {
  text-align: right;
}

.right-text-align {
  text-align: -webkit-right;
}

.mobile-border {
  border-left: 1px solid #dee2e6;
}

@media (max-width: 767.98px) {
  .desktop-padding {
    border: none;
    box-shadow: none;
    margin: 0;
    border-radius: 0px;
  }
  .content-wrapper > .content {
    padding: 0;
  }
  .desktop-content {
    padding: 0;
  }
  .crm-showpage {
    width: 100%;
  }
  .add-product {
    width: 100%;
  }
  .left-border {
    border-left: none;
  }
  .right-text {
    text-align: start;
  }
  .right-text-align {
    text-align: start;
  }
  .order-btn {
    width: 100%;
  }
  .mobile-border {
    border-left: none;
  }
}
.vertical-timeline {
  position: relative;
  z-index: 0; /* Establish a stacking context */
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.vertical-timeline > li {
  position: relative;
  text-align: left; /* Align items to the left */
  margin-bottom: 20px;
  text-transform: uppercase;
  padding-left: 40px; /* Offset to make room for the dot */
}

.vertical-timeline > li:before {
  content: ""; /* Blank content for the dot */
  width: 20px;
  height: 20px;
  border: 3px solid #4caf50;
  border-radius: 50%;
  display: block;
  background: #fff;
  position: absolute;
  left: 0; /* Position the dot */
  top: 0; /* Align the dot */
  transform: translateY(-50%); /* Center the dot vertically */
  z-index: 2;
  transition: all ease-in-out 0.3s;
  cursor: pointer;
}

.vertical-timeline > li:after {
  content: "";
  position: absolute;
  width: 2px; /* Vertical line width */
  height: calc(100% + 20px); /* Extend the line */
  background-color: grey;
  top: 50%; /* Start from the middle of the dot */
  left: 8px; /* Center the line under the dot */
  z-index: 0; /* Place the line below the dots */
  transform: translateY(-50%);
  transition: all ease-in-out 0.3s;
}

.vertical-timeline > li:last-child:after {
  content: none; /* No line after the last element */
}

.vertical-timeline > li.active-tl:before {
  background: #4caf50; /* Highlight active dot */
}

.vertical-timeline > li.active-tl:after {
  background: #4caf50; /* Highlight active line */
}

.vertical-timeline > li.active-tl-dg:before {
  background: #ff0000; /* Highlight active dot */
}

.vertical-timeline > li.active-tl-dg:after {
  background: #ff0000; /* Highlight active line */
}

.desktop-padding {
  box-shadow: none !important;
}

.shadow-sm {
  box-shadow: 0 0rem 0rem rgba(0, 0, 0, 0) !important;
}

/* Width Classes */
.w-1 {
  width: 0.25rem;
} /* 4px */
.w-2 {
  width: 0.5rem;
} /* 8px */
.w-3 {
  width: 0.75rem;
} /* 12px */
.w-4 {
  width: 1rem;
} /* 16px */
.w-5 {
  width: 1.25rem;
} /* 20px */
.w-6 {
  width: 1.5rem;
} /* 24px */
.w-8 {
  width: 2rem;
} /* 32px */
.w-10 {
  width: 2.5rem;
} /* 40px */
.w-12 {
  width: 3rem;
} /* 48px */
.w-16 {
  width: 4rem;
} /* 64px */
.w-20 {
  width: 5rem;
} /* 80px */
.w-24 {
  width: 6rem;
} /* 96px */
.w-28 {
  width: 7rem;
} /* 112px */
.w-32 {
  width: 8rem;
} /* 128px */
.w-36 {
  width: 9rem;
} /* 144px */
.w-40 {
  width: 10rem;
} /* 160px */
.w-44 {
  width: 11rem;
} /* 176px */
.w-48 {
  width: 12rem;
} /* 192px */
.w-52 {
  width: 13rem;
} /* 208px */
.w-56 {
  width: 14rem;
} /* 224px */
.w-60 {
  width: 15rem;
} /* 240px */
.w-64 {
  width: 16rem;
} /* 256px */
.w-72 {
  width: 18rem;
} /* 288px */
.w-80 {
  width: 20rem;
} /* 320px */
.w-96 {
  width: 24rem;
} /* 384px */
.w-auto {
  width: auto;
}

.w-full {
  width: 100%;
}

.w-screen {
  width: 100vw;
}

/* Height Classes */
.h-1 {
  height: 0.25rem;
}

.h-2 {
  height: 0.5rem;
}

.h-3 {
  height: 0.75rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-14 {
  height: 3.5rem;
}

.h-16 {
  height: 4rem;
}

.h-20 {
  height: 5rem;
}

.h-24 {
  height: 6rem;
}

.h-28 {
  height: 7rem;
}

.h-32 {
  height: 8rem;
}

.h-36 {
  height: 9rem;
}

.h-40 {
  height: 10rem;
}

.h-44 {
  height: 11rem;
}

.h-48 {
  height: 12rem;
}

.h-52 {
  height: 13rem;
}

.h-56 {
  height: 14rem;
}

.h-60 {
  height: 15rem;
}

.h-64 {
  height: 16rem;
}

.h-72 {
  height: 18rem;
}

.h-80 {
  height: 20rem;
}

.h-96 {
  height: 24rem;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.h-screen {
  height: 100vh;
}

.space-x-1 > * + * {
  margin-left: 0.25rem;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.space-x-3 > * + * {
  margin-left: 1rem;
}

.space-y-1 > * + * {
  margin-top: 0.25rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 1rem;
}

.form-group {
  margin-bottom: 0;
}

.gap-y-3 > * + * {
  margin-bottom: 0.5rem;
}

.select2 {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  font-size: 0.875rem;
}

.select2-selection__placeholder {
  color: #aaa6a6 !important;
}

/* === Bootstrap 5 Gap Utilities for BS4 === */
.gap-0 {
  gap: 0 !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.gap-5 {
  gap: 3rem !important;
}

.gx-0 {
  -moz-column-gap: 0 !important;
       column-gap: 0 !important;
}

.gx-1 {
  -moz-column-gap: 0.25rem !important;
       column-gap: 0.25rem !important;
}

.gx-2 {
  -moz-column-gap: 0.5rem !important;
       column-gap: 0.5rem !important;
}

.gx-3 {
  -moz-column-gap: 1rem !important;
       column-gap: 1rem !important;
}

.gx-4 {
  -moz-column-gap: 1.5rem !important;
       column-gap: 1.5rem !important;
}

.gx-5 {
  -moz-column-gap: 3rem !important;
       column-gap: 3rem !important;
}

.gy-0 {
  row-gap: 0 !important;
}

.gy-1 {
  row-gap: 0.25rem !important;
}

.gy-2 {
  row-gap: 0.5rem !important;
}

.gy-3 {
  row-gap: 1rem !important;
}

.gy-4 {
  row-gap: 1.5rem !important;
}

.gy-5 {
  row-gap: 3rem !important;
}

/* === Display Flex Gap Polyfill (for non-supporting browsers) === */
/* Wrapper for all .gap-* values */
.d-flex.gap-1,
.d-flex.gap-2,
.d-flex.gap-3,
.d-flex.gap-4,
.d-flex.gap-5 {
  display: flex;
  flex-wrap: wrap;
}

/* Reset margin on children */
.d-flex.gap-1 > *,
.d-flex.gap-2 > *,
.d-flex.gap-3 > *,
.d-flex.gap-4 > *,
.d-flex.gap-5 > * {
  margin-right: 0 !important;
  margin-bottom: 0 !important;
}

/* Smart row/column gap simulation */
.d-flex.gap-1 > * {
  margin: 0.25rem;
}

.d-flex.gap-2 > * {
  margin: 0.5rem;
}

.d-flex.gap-3 > * {
  margin: 1rem;
}

.d-flex.gap-4 > * {
  margin: 1.5rem;
}

.d-flex.gap-5 > * {
  margin: 3rem;
}

/* Negative margin to parent to cancel first-child offset */
.d-flex.gap-1 {
  margin: -0.25rem;
}

.d-flex.gap-2 {
  margin: -0.5rem;
}

.d-flex.gap-3 {
  margin: -1rem;
}

.d-flex.gap-4 {
  margin: -1.5rem;
}

.d-flex.gap-5 {
  margin: -3rem;
}

/* === Rounded utilities (optional if you want BS5 full look) === */
.rounded-0 {
  border-radius: 0 !important;
}

.rounded-1 {
  border-radius: 0.2rem !important;
}

.rounded-2 {
  border-radius: 0.25rem !important;
}

.rounded-3 {
  border-radius: 0.3rem !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.rounded-pill {
  border-radius: 50rem !important;
}

/* === Text Color (new tokens) === */
.text-body {
  color: #212529 !important;
}

.text-muted {
  color: #6c757d !important;
}
