.fa.fa-pencil.popup {
  font-size: 20px;
  font-weight: 500;
  color: #2563eb;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  margin-right: 14px !important;
  display: inline-block !important;
}

.fa.fa-pencil.popup:hover {
  transform: scale(1.15);
  color: #1d4ed8;
}

.fa.fa-pencil.disabled-pencil {
  font-size: 20px;
  font-weight: 500;
  color: #94a3b8;
  margin-right: 14px !important;
  cursor: not-allowed;
  display: inline-block !important;
}

.fa.fa-trash.popup {
  font-size: 20px;
  font-weight: 500;
  color: #dc2626;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  margin-left: 0 !important;
  display: inline-block !important;
}

.fa.fa-trash.disabled-trash {
  font-size: 20px;
  font-weight: 500;
  color: #94a3b8;
  cursor: not-allowed;
  display: inline-block !important;
}

.fa.fa-trash.popup:hover {
  transform: scale(1.15);
  color: #b91c1c;
}

.fa.fa-pencil-square-o {
  font-size: 20px;
  /* color: rgb(9, 9, 166); */
}

.fa.fa-list-alt {
  font-size: 25px;
  font-weight: 500;
  color: black;
  filter: drop-shadow(4px 4px 3px rgba(0, 0, 0, 0.7));
  transition: background-color 0.3s ease-in-out;
  cursor: pointer;
}

.fa.fa-list-alt:hover {
  transform: scale(1.4);
}

.fa.fa-puzzle-piece {
  font-size: 25px;
  font-weight: 500;
  color: #175d31;
  filter: drop-shadow(
    4px 4px 3px rgba(23, 93, 49, 0.7)
  ); /* Adjust the shadow values as needed */
  transition: background-color 0.3s ease-in-out;
  cursor: pointer;
}

.fa.fa-puzzle-piece:hover {
  transform: scale(1.4);
}

.fa.fa-asterisk {
  font-size: 7px;
  float: right;
  color: red;
  margin-top: 3px;
  margin-left: 2px;
  font-weight: 100 !important;
}

.table td {
  text-align: center;
  vertical-align: middle;
  font-weight: 400;
  font-size: 14px;
  height: 50px !important;
}

.table td > img {
  width: 70px;
  height: 80px;
  border-radius: 30%;
  overflow: hidden;
}

.table {
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
  border: none !important;
}

.tr {
  border-radius: 10px;
  /* overflow: hidden;   */
  box-shadow: 4px 4px 4px rgba(23, 93, 49, 0.35) !important;
}

td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

td {
  border: none !important;
}

.table td.orderid {
  font-weight: 700 !important;
  color: #175d31 !important;
  cursor: pointer;
  transition: font-size 0.3s ease; /* Add a smooth transition effect */
}

.table td.orderid:hover {
  font-size: 1.3em; /* Adjust the font size on hover */
}

.productDetails .orderid {
  color: #175d31 !important;
}

.orderID {
  color: #175d31;
  cursor: pointer;
  font-size: 200%;
}

/* .draggingItem td{

        min-width: 240px;
        font-weight: 400;
        font-size: 110%;

    } */

/* @media screen and (max-width: 767px) { */
/* Add styles for small screens here */
/* .draggingItem td {
        min-width: 50px;
        font-weight: 400;
        font-size: 110%;      }
  } */

/* @media screen and (max-width: 767px) { */
/* Add styles for small screens here */
/* .draggingItem td {
      min-width: 40px;
      font-weight: 400;
      font-size: 110%;      }
} */

/* @media screen and (min-width: 768px) and (max-width: 991px) { */
/* Add styles for medium screens here */
/* .draggingItem td {
        min-width: 126px;
        font-weight: 400;
        font-size: 110%;      }
  } */

/* @media screen and (min-width: 992px) and (max-width: 1199px) { */
/* Add styles for large screens here */
/* .draggingItem td {
        min-width: 170px;
        font-weight: 400;
        font-size: 110%;      }
  } */

/* @media screen and (min-width: 1200px) { */
/* Add styles for extra-large screens here */
/* .draggingItem td {
        min-width: 240px;
        font-weight: 400;
        font-size: 110%;      }
  } */

/* -------------Sticky Button for Sub Category Page---------------- */

.sticky-button {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #175d31 !important;
  color: #fff !important;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(23, 93, 49, 0.4);
  z-index: 1050;
  border: none;
}

.sticky-button:hover {
  background-color: #124826 !important;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(23, 93, 49, 0.5);
}

.fa.fa-plus {
  font-size: 20px;
  font-weight: 200 !important;
}

/* .sticky-button.active {
      background-color:#175d31;
      transform: scale(1.1);
    } */

.sticky-button:hover {
  background-color: #175d31;
  transform: scale(1.1);
  /* color:#1c263e; */
}

/* -------Floating Notification----------- */

/* Floating Notification Styles with Animation */
.floating-notification {
  position: relative;
  /* padding: 10px; */
  /* color: #175d31; */
  color: red;
  font-size: 12px;
  font-weight: 500 !important;
  /* background-color: #007bff; Change the background color as needed */
  /* border-radius: 5px; */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */

  /* Animation properties */
  animation: runNotification 10s linear infinite; /* Adjust the duration and timing function as needed */
}

/* Keyframes for the running animation */
/* @keyframes runNotification {
  0% {
    transform: translateX(56%);
  }
  100% {
    transform: translateX(-56%);
  }
} */

/* Model Sub Category */

.modal {
  margin-top: 2%;
}

.modal-header {
  background-color: #175d31;
  color: white;
  border-radius: 0% !important;
}

.modal-body {
  padding: 20px;
}

.modal-body label {
  font-size: larger;
  margin-bottom: 8px;
}

.product-details-modal label {
  font-size: 110%;
  margin-bottom: 0px;
}

.modal-body img {
  width: 150px;
  height: 150px;
  border-radius: 30%;
  overflow: hidden;
  margin-left: 24%;
  cursor: pointer;
}

.modal-body textarea {
  width: 100%;
  padding: 8px;
  /* margin-bottom: 16px; */
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* margin-bottom: 5%; */
  color: #000;
  background-color: #fff !important;
}

.modal-body input {
  width: 100%;
  padding: 8px;
  /* margin-bottom: 16px; */
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 5%;
  color: #000;
  background-color: #fff !important;
}

.product-details-modal input, .product-details-modal select {
  width: 47% !important;
  /* padding: 8px; */
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #000;
  background-color: #fff !important;
  margin-right: 5%;
}

.container-date input {
  width: 100% !important;
  padding: 8px !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
  color: #000 !important;
  background-color: #fff !important;
  margin-right: 1% !important;
  margin-bottom: 4px !important;
}

.container-date p {
  margin-left: -93%;
}

.container-date {
  width: 52%;
}

#example12 {
  content: 25%;
}

.productDetails {
  max-height: 610px;
  overflow-x: hidden;
  overflow-y: auto;
  /* width: 50%; */
  /* padding: 10px; */
  /* margin-bottom: 16px; */
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* margin-bottom: 5%; */
  color: #000;
  background-color: #fff !important;
  position: relative;
}

.productDetails-top {
  position: sticky;
  top: 0; 
  /* Adjust this value based on your design */
  background-color: #fff; /* Set a background color if needed */
  z-index: 1;
}

.modal-body input:active {
  background-color: #fff !important;
}

.modal-body select {
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 5%;
  color: #000;
  background-color: #fff !important;
}


.modal-body select:active {
  background-color: #fff !important;
}

.btn-default {
  width: 100%;
  color: #175d31;
  font-weight: 700;
  transition: background-color 0.3s, color 0.3s;
}

.btn-default:hover {
  background-color: #175d31 !important;
  color: #fff !important;
  transition: background-color 0.3s, color 0.3s;
  /* transform: scale(1.05); */
}

#displayedImage {
  cursor: pointer;
}

.modal-dialog-centered {
  margin-top: -5%;
}

.adjust-image-height {
  height: 520px !important;
}

.add-image {
  background-color: #fff;
}

.billing td {
  font-size: 140%;
  padding: 4px;
  padding-right: 60px;
}

@media screen and (max-width: 1000px) {
  .adjust-image-height {
    height: 280px !important;
  }
  
  .multiple-Image {
    width: 250px !important;
  }
}

@media screen and (min-width: 760px) and (max-width: 1025px) {
  .support p{
    font-size: 25px !important;
  }
  
  .logo {
    padding: 0px !important;
    /* margin: 0px !important; */
    margin-left: -20px !important;
    margin-right: 10px !important;
  }
  
  .logo-2 {
    padding: 5px !important;
    margin-top: 0px !important;
  }

  .billing td {
    padding-right: 20px;
    font-size: 130%;
    padding: 2px;
    /* Add styles specific to screens with a width between 769 and 1024 pixels */
  }

  .btn-confirm {
    display: inline-block;
    width: 100%;
    padding: 5px 10px !important;
    font-size: 14px !important;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s, transform 0.3s,
      box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    margin-right: 5%;
    margin-top: 5%;
  }

  #displayedImagesAdd > * {
    margin-right: 34px !important; /* Adjust as needed */
    height: 90px !important;
    width: 90px !important;
  }

  .addon-custom-table img {
    height: 100px !important;
    width: 100px !important;
  }

  .addon-custom-table td {
    min-width: 200px;
  }

  .product-modal-2 .input {
    margin-bottom: 40px !important;
    padding: 8px;
    /* padding-bottom: 8px; */
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #000;
    background-color: #fff !important;
    min-width: 100px !important;
    margin-left: 10px !important;
  }
}

/* .billing {
  margin-left: 2%;
} */

.line {
  width: 191%; /* Set the width to 100% to make it a horizontal line */
  border-top: 3.5px solid black; /* Color and thickness of the line */
  margin: 10px 0;
}

.confirm-cancel {
  /* width: 201.5%; */
  margin-top: 2%;
  margin-bottom: 15%;
}

.btn-confirm {
  display: inline-block;
  width: 100%;
  padding: 10px 20px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
  margin-right: 5%;
  margin-top: 5%;
}

.btn-secondary-confirm {
  background-color: #e7edf0;
  color: #175d31;
  font-weight: 900;
  border: none;
}

.btn-secondary-confirm:hover {
  background-color: #175d31;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary-confirm1 {
  background-color: #e7edf0;
  color: #1c263e;
  font-weight: 900;
  border: none;
}

.btn-secondary-confirm1:hover {
  background-color: #1c263e;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary-cancel {
  background-color: #e7edf0;
  color: red;
  font-weight: 900;
  border: none;
}

.btn-secondary-cancel:hover {
  background-color: red;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Add more styles as needed */

/* ------ Dasboard Minimizes---------- */

/* Add this to your existing CSS file or create a new one */

/* Style for the minimized sidebar */
/* .fixed-navbar.sidebar-minimized { */
/* Adjust the width of the sidebar when minimized */
/* width: 80px;  */
/* You can adjust the width as needed */

/* Optionally, you can hide the text labels when minimized */
/* } */

/* Transition effect for smooth animation when sidebar state changes */
/* .fixed-navbar {
    transition: width 0.3s ease;
  } */

/* Add styles to hide text labels when sidebar is minimized */
/* .fixed-navbar.sidebar-minimized ul.side-menu span.nav-label {
    display: none;
  } */

/* Optionally, you can add styles to display only icons when sidebar is minimized */
/* .fixed-navbar.sidebar-minimized ul.side-menu i.sidebar-item-icon {
    margin-right: 0;
    margin-top: 3%;
  } */

/* You may need to adjust other styles based on your specific design */

/* Order Track */

.order-track {
  margin-top: 1rem;
  padding: 0 1rem;
  /* border-top: 1px dashed #2c3e50; */
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
}
.order-track-step {
  display: flex;
  height: 7rem;
}
.order-track-step:last-child {
  overflow: hidden;
  height: 4rem;
}
.order-track-step:last-child .order-track-status span:last-of-type {
  display: none;
}
.order-track-status {
  margin-right: 1.5rem;
  position: relative;
}
.order-track-status-dot {
  display: block;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  /* background: #175d31; */
  border: 0.7rem solid #175d31;
}
.order-track-status-line {
  display: block;
  margin: 0 auto;
  width: 2px;
  height: 5rem;
  background: #175d31;
}
.order-track-text-stat {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 3px;
}
.order-track-text-sub {
  font-size: 1rem;
  font-weight: 300;
}

.order-track {
  transition: all 0.3s height 0.3s;
  transform-origin: top center;
}

.order-track-text {
  min-width: 95px !important;
}

.track-line {
  width: 100%; /* Set the width to 100% to make it a horizontal line */
  border-top: 3.5px solid #175d31; /* Color and thickness of the line */
  margin: 10px 0;
}

/*  */

.product-check.form-switch input:checked {
  background-color: #175d31 !important;
  color: #175d31 !important;
}

.product-check.form-switch input {
  cursor: pointer;
}

/*  */

.product-modal input {
  margin-bottom: 50px !important;
  padding: 8px;
  /* padding-bottom: 8px; */
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #000;
  background-color: #fff !important;
}

.product-modal textarea {
  margin-bottom: 20px !important;
  width: 100% !important;
  /* height: 60px !important; */
  padding: 8px;
  /* padding-bottom: 8px; */
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #000;
  background-color: #fff !important;
}

.product-modal select {
  margin-bottom: 51px !important;
  padding: 6px 35px 6px 7px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* margin-bottom: 5%; */
  color: #000;
  background-color: #fff !important;
}

.product-modal td {
  padding: 5px 27px;
}

@media only screen and (min-width: 1025px) {
  /* .logo {
    padding: 0px !important;
    margin-left: -20px !important;
    margin-right: 10px !important;
  }
  
  .logo-2 {
    padding: 5px !important;
    margin-top: 0px !important;
  } */

  .product-modal-2 .input {
    margin-bottom: 40px !important;
    padding: 8px;
    /* padding-bottom: 8px; */
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #000;
    background-color: #fff !important;
    min-width: 260px !important;
    margin-left: 30px !important;
  }

}

@media screen and (min-width: 1026px) and (max-width: 1170px) {

  .product-modal-2 .input {
    margin-bottom: 40px !important;
    padding: 8px;
    /* padding-bottom: 8px; */
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #000;
    background-color: #fff !important;
    min-width: 150px !important;
    margin-left: 20px !important;
  }

}


@media only screen and (max-width: 1025px) {
  .logo {
    padding: 0px !important;
    /* margin: 0px !important; */
    margin-left: -20px !important;
    margin-right: 10px !important;
  }
  
  .logo-2 {
    padding: 5px !important;
    margin-top: 0px !important;
  }

  .product-modal td {
    padding: 5px 5px; /* Adjust padding for smaller screens */
  }

  /* .product-modal img {
    width: 100px;
    height: 110px;
    border-radius: 30%;
    overflow: hidden;
    margin-left: 24%;
    cursor: pointer;
  } */

  .product-table th,
  .product-table td {
    padding: 10px 12px !important;
    vertical-align: middle !important;
  }
}

/* ------------------- Product Table Styling ------------------- */
.product-table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
}

.product-table th {
  padding: 12px 14px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-align: center !important;
  white-space: nowrap !important;
  letter-spacing: 0.3px;
}

.product-table td {
  padding: 10px 14px !important;
  vertical-align: middle !important;
  font-size: 14px !important;
  background-color: #ffffff;
}

.product-table th.product-name-th,
.product-table td.product-name-cell {
  text-align: left !important;
  min-width: 140px;
  font-weight: 600;
  color: #1e293b;
}

.product-table th.product-category-th,
.product-table td.product-category-cell {
  text-align: left !important;
  min-width: 120px;
  color: #475569;
}

.product-table th.product-image-th,
.product-table td.product-image-cell {
  width: 70px;
  text-align: center !important;
}

.product-table td.product-image-cell img {
  width: 52px !important;
  height: 62px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 2px;
  display: block;
  margin: 0 auto;
}

.product-table th.product-price-th,
.product-table td.product-price-cell {
  text-align: right !important;
  font-weight: 700;
  color: #175d31;
  min-width: 95px;
  white-space: nowrap;
}

.product-table th.product-action-th,
.product-table td.product-action-cell {
  min-width: 155px;
  text-align: center !important;
  white-space: nowrap;
}

.product-table th.product-status-th,
.product-table td.product-status-cell {
  min-width: 75px;
  text-align: center !important;
}

.product-table th.product-stock-th,
.product-table td.product-stock-cell {
  min-width: 80px;
  text-align: center !important;
}

/* ------------------- Product Action Buttons ------------------- */
.product-action-buttons {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

.btn-product-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all 0.2s ease-in-out !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
  background: none;
}

.btn-product-action i {
  font-size: 16px !important;
  filter: none !important;
  margin: 0 !important;
  pointer-events: none;
  line-height: 1;
}

/* Edit action button (Blue) */
.btn-action-edit {
  background-color: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #2563eb !important;
}

.btn-action-edit i {
  color: #2563eb !important;
}

.btn-action-edit:hover:not(:disabled),
.btn-action-edit:active:not(:disabled) {
  background-color: #2563eb !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25) !important;
}

.btn-action-edit:hover:not(:disabled) i,
.btn-action-edit:active:not(:disabled) i {
  color: #ffffff !important;
}

.btn-action-edit.disabled,
.btn-action-edit:disabled {
  background-color: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  opacity: 0.55;
}

.btn-action-edit:disabled i {
  color: #94a3b8 !important;
}

/* Add-on action button (BambooSA Green) */
.btn-action-addon {
  background-color: #f0fdf4 !important;
  border-color: #bbf7d0 !important;
  color: #175d31 !important;
}

.btn-action-addon i {
  color: #175d31 !important;
}

.btn-action-addon:hover,
.btn-action-addon:active {
  background-color: #175d31 !important;
  border-color: #124826 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(23, 93, 49, 0.25) !important;
}

.btn-action-addon:hover i,
.btn-action-addon:active i {
  color: #ffffff !important;
}

/* Specification action button (Slate) */
.btn-action-spec {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

.btn-action-spec i {
  color: #334155 !important;
}

.btn-action-spec:hover,
.btn-action-spec:active {
  background-color: #334155 !important;
  border-color: #1e293b !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(51, 65, 85, 0.25) !important;
}

.btn-action-spec:hover i,
.btn-action-spec:active i {
  color: #ffffff !important;
}

/* ==========================================================================
   Table Action Buttons (Category, SubCategory, Coupons, Addon Products, etc.)
   ========================================================================== */

.table-action-box {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

.action-cell,
.action-th {
  min-width: 110px !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.btn-table-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all 0.2s ease-in-out !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
  background: none;
}

.btn-table-action i {
  font-size: 16px !important;
  filter: none !important;
  margin: 0 !important;
  pointer-events: none;
  line-height: 1;
}

/* Delete action button (Soft Red Badge with High Contrast) */
.btn-action-delete {
  background-color: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #dc2626 !important;
}

.btn-action-delete i {
  color: #dc2626 !important;
}

.btn-action-delete:hover:not(:disabled),
.btn-action-delete:active:not(:disabled) {
  background-color: #dc2626 !important;
  border-color: #b91c1c !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25) !important;
}

.btn-action-delete:hover:not(:disabled) i,
.btn-action-delete:active:not(:disabled) i {
  color: #ffffff !important;
}

.btn-table-action:disabled,
.btn-table-action.disabled {
  background-color: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  opacity: 0.55;
}

.btn-table-action:disabled i {
  color: #94a3b8 !important;
}

.subcategory-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.product-modal img {
  width: 95px;
  height: 95px;
  object-fit: contain;
  border-radius: 8px;
  overflow: hidden;
  margin-left: 0;
  cursor: pointer;
}

/* Setup Page Form and Image Preview */
.setup-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  background-color: #ffffff;
  overflow: hidden;
}

.setup-card .modal-header {
  background-color: #175d31;
  color: #ffffff;
  padding: 16px 24px;
}

.setup-card .modal-header .modal-title {
  color: #ffffff;
  letter-spacing: 0.5px;
}

.setup-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.setup-table td {
  vertical-align: top !important;
  padding: 10px 16px;
}

.setup-table label,
.product-modal label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.setup-table label .fa-asterisk,
.product-modal label .fa-asterisk,
.product-data label .fa-asterisk {
  float: none !important;
  display: inline-block !important;
  margin-left: 4px !important;
  color: #dc3545 !important;
  font-size: 9px !important;
  vertical-align: top !important;
}

.setup-logo-preview-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background-color: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  min-width: 130px;
  max-width: 170px;
  box-sizing: border-box;
}

.setup-logo-preview-box:hover {
  border-color: #175d31;
  background-color: #f0fdf4;
  box-shadow: 0 4px 12px rgba(23, 93, 49, 0.12);
}

.setup-logo-preview-box img#displayedImage,
.setup-table #displayedImage,
.setup-table img {
  width: 110px !important;
  height: 90px !important;
  max-width: 100% !important;
  max-height: 90px !important;
  object-fit: contain !important;
  border-radius: 6px !important;
  margin: 0 !important;
  cursor: pointer;
  background-color: transparent !important;
}

.setup-logo-hint {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #175d31;
  text-align: center;
}

.setup-table textarea {
  min-height: 80px;
  resize: vertical;
}

.product-modal .img-error {
  margin-top: -1% !important;
}

.product-modal p {
  margin-top: -2.5% !important;
  position: absolute !important;
}

.product-modal .textarea {
  margin-top: -1.5% !important;
  position: absolute !important;
}

.product-modal .btn-default {
  background-color: #175d31 !important;
  color: #ffffff !important;
  border: 1px solid #175d31 !important;
  width: auto;
  min-width: 220px;
  padding: 12px 32px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(23, 93, 49, 0.25) !important;
  transition: all 0.25s ease-in-out;
}

.product-modal .modal-footer {
  justify-content: center;
  border-top: 1px solid #eef2f6;
  padding: 20px 24px;
}

.product-modal .btn-default:hover,
.product-modal .btn-default:focus {
  background-color: #114524 !important;
  color: #ffffff !important;
  border-color: #114524 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(23, 93, 49, 0.4) !important;
}

html,
body,
#body,
.page-wrapper,
.content-wrapper {
  overflow-x: hidden !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.ibox-body,
.table-responsive {
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.multipleImage {
  height: 25px !important;
  width: 30px !important;
  border-radius: 0px !important;
  filter: drop-shadow(1.5px 1.5px 1.5px rgb(255, 0, 0));
  transition: background-color 0.3s ease-in-out;
  cursor: pointer;
}

.multipleImage:hover {
  transform: scale(1.4);
}

.productImage {
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2) !important;
}

.product-details {
  color: #ff531a;
  margin-top: 0px;
  margin-bottom: 10px;
  filter: drop-shadow(1.2px 1.2px rgb(0, 0, 0));
}

#multipleImageModal img {
  /* width: 300px !important; */
  height: 430px;
  border-radius: 5%;
  overflow: hidden;
  margin-left: 0px !important;
}

.carousel-control-prev-icon:hover, .carousel-control-prev:hover {
  color: #175d31 !important;
  border-color: #175d31;
  transform: scale(1.2);
  filter: drop-shadow(1.6px 1.6px rgba(23, 93, 49, 0.5));
  transition: background-color 0.3s ease-in-out;
}

.carousel-control-next-icon:hover, .carousel-control-next:hover {
  color: #175d31 !important;
  border-color: #175d31;
  transform: scale(1.2);
  filter: drop-shadow(1.6px 1.6px rgba(23, 93, 49, 0.5));
  transition: background-color 0.3s ease-in-out;
}

.multipleImageBody {
  background:#efb59b;
  /* height: 550px  !important; */
}




/* dot */

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #868282;
  margin: 0 7px;
  cursor: pointer;
  filter: drop-shadow(1.6px 1.6px rgb(0, 0, 0, 0.5));
}

.dot.active {
  background-color:#f75529;
  filter: drop-shadow(1.6px 1.6px rgb(0, 0, 0, 0.5));
  transform: scale(1.2);
}

.update-color-size p {
  margin-bottom: 8px !important;
}

#displayedImagesAdd > * {
  margin-right: 50px; /* Adjust as needed */
  border-radius: 4px !important;
}


/*  */


.addon-table input {
  margin: 0px !important;
  min-width: 100px !important;
}

.addon-custom-table td {
  min-width: 200px;
}

.addon-table p {
  margin-top: 2px !important;
}

/* .addon-table tr {
  margin-bottom: 200px !important;
} */

.addon-table label {
  margin-top: 15px !important;
}

.add-addon-button, .sub-addon-button {
height: 35px !important;
width: 33px !important;
  background-color: #1c263e;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
 margin: 10px !important;
  overflow: hidden;
  z-index: 10;
  margin-top: 62px !important;
}



.add-addon-button:hover, .sub-addon-button:hover {
    color: #fff;
   background: #175d31;
  }

  .coupon-table th {
    padding: 10px 5px !important;
    min-width: 50px !important;
  }

  .coupon-table td {
    padding: 10px 5px !important;
    min-width: 50px !important;
  }

  .product-input {
    min-width: 40px !important;
  }

  .radio-button input{
height: 20px !important;
width: 20px !important;
  }

input[type="radio"]:checked {
  background-color:#175d31 !important; /* Inner dot color */
}

/* Calender */

.react-calendar {
 
  font-family: Arial, Helvetica, sans-serif !important;

}

.react-calendar__tile--active {
  background: #175d31 !important;
  color: white !important;
}

/*  */

.updateCoupon-modal {
  max-height: 800px !important;
  overflow: hidden;
}

.datePicker {
  z-index: 9999;
  position: absolute !important;
}

.calender-icon {
  position: absolute;
  right: 4em;
  top: 73.5%;
  transform: translateY(-80%);
  cursor: pointer;
  transition: box-shadow 0.3s ease; 
}

.calender-icon:hover, .calender-icon:focus {
  box-shadow: 10px 10px 10px 10px rgba(255, 255, 255, 0.1) !important; /* Adds a glowing effect on hover */
}

.calender-icon-coupons {
  position: absolute;
  right: 19.7em;
  top: 67%;
  transform: translateY(-80%);
  cursor: pointer;
  transition: box-shadow 0.3s ease; 
}


.TimePicker input {
  height: 100% !important;
  width: 120% !important;
  border: none !important;
  box-shadow: none !important;
}

.TimePicker {
  /* /* margin-right: 5% !important;
  margin-left: 11% !important;
  margin-top: 10px !important; 
  width: 47%;
  /* padding: 8px; 
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #000;
  background-color: #fff !important;
  margin-right: 5%; */
  text-decoration: none;
}


.pickup-time {
  margin-left: 70px !important;
  height: 50px !important;
  overflow: hidden;
}


.btn-post-code {
  display: inline-block;
  width: 20%;
  padding: 10px 0px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
  margin-right: 1%;
  /* margin-top: 5%; */
}

.btn-secondary-post-code {
  background-color: #e7edf0;
  color: #175d31;
  font-weight: 900;
  border: none;
}

.btn-secondary-post-code:hover {
  background-color:#1c263e;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/*  */



.vertical-line {
  margin-top: -60px !important;
  margin-bottom: -20px !important;
  border-left: 2px solid black; /* Adjust thickness and color as needed */
  height: 365px; /* Adjust height as needed */
}

.form-check .subscription-check-box {
  height: 20px !important;
  width: 20px !important;
  padding: 0px !important;
  margin-bottom: 0px !important;
}

input[type="checkbox"]:checked {
  background-color:#175d31 !important; /* Inner dot color */
}

.policy {
  color: #175d31;
}

.checkbox-p {
  padding: 10px !important;
  margin-left: 35px !important;
}




/* ==========================================================================
   Global Page Loader - Perfectly Centered on Mobile, Tablet & Desktop
   ========================================================================== */

.loader-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: calc(100vh - 140px) !important;
  min-height: calc(100dvh - 140px) !important;
  flex: 1 1 auto !important;
  margin: 0 auto !important;
  padding: 20px 10px !important;
  box-sizing: border-box !important;
}

.ibox-body .loader-wrapper {
  min-height: 320px !important;
  padding: 30px 10px !important;
}

.loader-container {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 110px !important;
  height: 110px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  z-index: 10 !important;
}

.loader-overlay {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

.loader-spinner {
  border: 5px solid rgba(23, 93, 49, 0.2) !important; /* Soft green background ring */
  border-top: 5px solid #175d31 !important; /* BambooSA brand green spinning arc */
  border-radius: 50% !important;
  width: 100px !important;
  height: 100px !important;
  -webkit-animation: spin 1s linear infinite !important;
  animation: spin 1s linear infinite !important;
  position: relative !important;
  box-sizing: border-box !important;
  z-index: 1 !important;
}

.loader-image {
  width: 58px !important;
  height: auto !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  opacity: 0.95 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* loader */

.loader-container2 {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 50px;  */
  /* Adjust height as needed */
  margin: 0px !important;
  z-index: 999999999999999;
}

.loader2 {
  border: 3.5px solid rgb(158, 157, 157);
  border-left-color: #333;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  margin-left: -50px !important;
  margin-top: -40px !important;
  margin-bottom: 0px !important;
  z-index: 99999999999999;
}

.loader-container3 {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 50px;  */
  /* Adjust height as needed */
  margin: 0px !important;
  z-index: 999999999999999;
}

.loader3 {
  border: 3.5px solid rgb(158, 157, 157);
  border-left-color: #333;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  margin-left: -50px !important;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  z-index: 99999999999999;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* .page-wrapper {
  z-index: 9 !important;
} */

/* incoice download */
.body2 {
  font-family: Arial, sans-serif !important;
  padding: 20px !important;
  background-color: #fff !important;
  color: #111 !important;
  font-size: 14px !important;
   /* Light green background color */
  /* min-height: 112.5vh !important; */
  line-height: 21px !important;
}
.body2 p {
  color: #111 !important;
  margin-bottom: 0 !important;
}
.container2 {
  background-color: #fff !important;
  padding: 20px !important;
  border-radius: 5px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
  max-width: 800px !important; /* Limit container width for better mobile view */
  margin: 0 auto !important; /* Center the container */
}
.header2 {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 20px !important;
}
.logo2 {
  max-width: 100px !important;
}
.order-info {
  text-align: right !important;
}
.order-info h2 {
  margin: 0 !important;
  font-size: 1.2em !important;
}
.order-details {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  margin-top: 10px !important;
  text-align: left !important;
}
.order-details div {
  display: flex !important;
  justify-content: flex-start !important;
  width: 100% !important;
}
.order-details div span {
  min-width: 100px !important;
  display: inline-block !important;
}
.address-container {
  display: flex !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
}
.address-box {
  background-color: #f0f0f0 !important;
  padding: 10px !important;
  border-radius: 5px !important;
  width: 49% !important; /* Reduce width of address boxes */
}
.details-table, .items-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 20px !important;
  overflow-x: auto !important; /* Enable horizontal scrolling if needed */
}
.details-table th, .details-table td, .items-table th, .items-table td {
  border: 1px solid #ccc !important;
  padding: 6px !important;
  text-align: left !important;
}
.items-table th {
  background-color: #f0f0f0 !important;
}
.total-info {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: 20px !important; /* Add some space at the top */
  font-size: larger !important;
}
.total-info-table1 {
  width: auto !important;
  border-collapse: collapse !important;
}
.total-info-table1 th, .total-info-table1 td {
  border: none !important;
  padding: 7px !important;
  text-align: right !important;
  font-size: 13px !important;
  /* padding: 7px 15px; */
}

.items-table td:last-child, .items-table td:first-child {
  border-radius: 0 !important;
}
.address-box .strong {
  margin-bottom: 8px !important;
}

.total-info-table1 th, .total-info-table1 td {
  border: none !important;
  padding: 8px !important;
  text-align: right !important;
  font-size: 13px !important;
  padding: 10px 15px;
}
.total-info-table1 th {
  text-align: left !important;
  padding-right: 20px !important;
}
.footer2 {
  text-align: center !important;
  margin-top: 20px !important;
  font-size: 12px !important;
  color: #777 !important;
}
.footer2 p {
  margin: 5px 0 !important;
}
.additional-info1 {
  /* background-color: #fff !important; */
 padding: 2px !important;
  margin-top: 20px !important;
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important; */
  background: rgb(245, 244, 244) !important;
  /* background: linear-gradient(135deg, #f5f4f4, #dcdcdc, #b3b3b3); */
}

.additional-info1 p {
  background-color: white !important;
  padding: 10px !important;
}
/* A4 Page Size for PDF */
@page {
  size: A4;
  margin: 20mm;
}
/* Print styles */
@media print {
  .body2 {
      background-color: #fff;
      padding: 0;
  }
  .container2 {
      box-shadow: none;
      margin: 0;
      padding: 0;
      width: auto;
      max-width: none;
  }
  .header2 {
      flex-direction: row;
      align-items: flex-start;
  }
  .order-info {
      text-align: right;
      margin-top: 0;
  }
  .details-table th, .details-table td, .items-table th, .items-table td {
      padding: 6px;
      font-size: 11px;
  }
  /* Make table headers and cells stack on top of each other */
  .details-table th, .details-table td, .items-table th, .items-table td {
      display: table-cell;
      width: auto;
  }
  /* Add labels before the data in each cell for clarity */
  .details-table td::before, .items-table td::before {
      content: none;
  }
  .items-table td {
      text-align: left;
  }
  .items-table td:nth-child(5)::before,
  .items-table td:nth-child(6)::before {
      text-align: left;
  }
  .items-table {
      width: 100%;
      margin: 0;
  }
  .total-amount {
      font-size: 1.2em;
  }
  .footer2 {
      margin-top: 20px;
      font-size: 12px;
  }
}

.address-box2 {
  background-color: #fdfdfd !important;
  padding: 10px !important;
  border-radius: 5px !important;
  width: 87% !important; /* Reduce width of address boxes */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

/* end */

.mtn-10 {
  margin-top: 0px !important;
}

.margin-bottom-20 input, .margin-bottom-20 select{
  margin-bottom: 30px !important;
}


.editor-container {
  height: 150px; /* Set a fixed height */
  overflow: auto; /* Optional: allow scrolling if content overflows */
}

/* ------------------- Green Theme (#175d31) White Text Contrast Rules ------------------- */
.table thead th,
.table th,
.ibox-body .table > thead > tr > th,
.product-table th,
.coupon-table th,
.category-table th,
.subCategory-table th,
table.table > thead > tr > th {
  background-color: #175d31 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.modal-header,
.modal-header .modal-title,
.modal-header h4 {
  background-color: #175d31 !important;
  color: #ffffff !important;
}

.modal-header .close {
  color: #ffffff !important;
  opacity: 1 !important;
}

.login-box .btn-outline,
.btn-outline {
  background-color: #175d31 !important;
  border-color: #175d31 !important;
  color: #ffffff !important;
}

.login-box .btn-outline:hover,
.login-box .btn-outline:focus,
.login-box .btn-outline:active,
.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active {
  background-color: #0f3d20 !important;
  border-color: #0f3d20 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Responsive Sidebar & Mobile Drawer Navigation
   ========================================================================== */

/* Consistent Sidebar and Brand background on Desktop */
.header .page-brand {
  background-color: #182a3a !important;
  height: 56px !important;
}

.page-sidebar {
  background-color: #182a3a !important;
}

.page-sidebar .admin-block {
  display: none !important;
}

/* Desktop Screens (> 991px) - Seamless connection between header and sidebar */
@media screen and (min-width: 992px) {
  .header .page-brand {
    width: 220px !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
  }

  .header .page-brand .dashboard-text {
    display: inline !important;
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
  }

  .header .page-brand i.fa-bars {
    color: #ffffff !important;
    font-size: 20px !important;
    cursor: pointer !important;
  }

  .page-sidebar {
    width: 220px !important;
    position: fixed !important;
    top: 56px !important;
    margin-top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: calc(100vh - 56px) !important;
    transform: none !important;
    visibility: visible !important;
    z-index: 1001 !important;
    border-top: none !important;
  }

  .content-wrapper {
    margin-left: 220px !important;
    padding-top: 56px !important;
    padding-bottom: 0 !important;
    width: calc(100% - 220px) !important;
    min-height: 100vh !important;
  }

  .sidenav-backdrop {
    display: none !important;
  }
}

/* Mobile Screens (<= 991px) */
@media screen and (max-width: 991px) {
  html,
  body {
    position: relative !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #root,
  #body,
  .page-wrapper {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  /* Header locked firmly to viewport */
  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 56px !important;
    z-index: 1050 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 16px !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important;
  }

  /* On mobile: navbar brand is transparent with only hamburger icon */
  .header .page-brand {
    width: auto !important;
    min-width: 44px !important;
    background: transparent !important;
    background-color: transparent !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
  }

  .header .page-brand .link {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0 !important;
    text-decoration: none !important;
  }

  /* Hide "Dashboard" text completely on mobile navbar */
  .header .page-brand .dashboard-text {
    display: none !important;
  }

  /* Mobile hamburger icon: bold dark green */
  .header .page-brand i.fa-bars {
    color: #175d31 !important;
    font-size: 24px !important;
    margin-left: 0 !important;
    cursor: pointer !important;
    display: inline-block !important;
  }

  .header .flexbox {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .header .logo {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
  }

  .header .logo img {
    max-height: 38px !important;
    width: auto !important;
    object-fit: contain !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Closed mobile sidebar: completely hidden off-screen */
  #body.sidebar-minimized .page-sidebar {
    transform: translateX(-100%) !important;
    left: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s !important;
  }

  /* Open mobile sidebar drawer: slides in over content */
  #body:not(.sidebar-minimized) .page-sidebar {
    transform: translateX(0) !important;
    left: 0 !important;
    top: 0 !important;
    margin-top: 0 !important;
    bottom: 0 !important;
    width: 250px !important;
    height: 100vh !important;
    position: fixed !important;
    z-index: 1060 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: 6px 0 30px rgba(0, 0, 0, 0.5) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s !important;
  }

  /* Mobile Content Wrapper: takes full width with normal padding */
  .content-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 56px !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Reset ms-3 and avoid mobile horizontal overflow */
  .page-content,
  .page-content.ms-3 {
    margin: 0 !important;
    padding: 10px 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-content .ms-2,
  .page-content .me-3,
  .page-content .ms-3,
  .page-content .m-3 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Keep cards and table wrappers responsive within viewport */
  .ibox {
    margin: 0 0 15px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Tab Header in Orders and other pages */
  .ibox-head {
    padding: 0 10px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .ibox-head::-webkit-scrollbar {
    display: none !important;
    height: 0px !important;
  }

  .ibox-head .ibox-title,
  .ibox-head .ibox-title.me-5 {
    margin-right: 18px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .ibox-head .badge {
    font-size: 10px !important;
  }

  /* Table Body and Table Scrolling */
  .ibox-body,
  .ibox-body.m-3 {
    margin: 0 !important;
    padding: 10px 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
  }

  .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    margin-bottom: 15px !important;
    border-radius: 8px !important;
    display: block !important;
  }

  .ibox-body > table,
  .ibox-body > .table,
  .table-responsive > table,
  .table-responsive > .table {
    margin-bottom: 0 !important;
    width: 100% !important;
    min-width: 540px !important;
  }

  .product-table,
  .table-responsive > .product-table {
    min-width: 820px !important;
    width: 100% !important;
  }

  /* Mobile Form Tables (Setup, Add/Update Product, Addons, Modals) */
  .setup-table,
  .setup-table tbody,
  .setup-table tr,
  .setup-table td,
  .product-modal table,
  .product-modal tbody,
  .product-modal tr,
  .product-modal td,
  .product-data table,
  .product-data tbody,
  .product-data tr,
  .product-data td,
  .addon-table,
  .addon-table tbody,
  .addon-table tr,
  .addon-table td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .setup-table td,
  .product-modal td,
  .product-data td,
  .addon-table td {
    padding: 6px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .setup-table label,
  .product-modal label,
  .product-data label,
  .addon-table label {
    display: block !important;
    width: 100% !important;
    margin-bottom: 4px !important;
    font-weight: 600 !important;
  }

  .setup-table input,
  .setup-table select,
  .setup-table textarea,
  .product-modal input,
  .product-modal select,
  .product-modal textarea,
  .product-data input,
  .product-data select,
  .product-data textarea,
  .addon-table input,
  .addon-table select,
  .addon-table textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 14px !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  .modal-content,
  .product-modal {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    margin: 0 0 20px 0 !important;
  }

  .modal-body,
  .product-data {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 8px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Setup page responsive mobile alignment */
  .setup-page-content {
    margin: 0 !important;
    padding: 10px 10px 24px 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .setup-form-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .setup-card {
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    margin: 0 0 20px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .setup-card .modal-header {
    padding: 14px 16px !important;
  }

  .setup-card .modal-body {
    padding: 16px 14px !important;
  }

  .setup-table td {
    padding: 6px 0 !important;
    width: 100% !important;
    display: block !important;
  }

  .setup-logo-preview-box {
    margin: 6px 0 16px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f8fafc !important;
    border: 1.5px dashed #94a3b8 !important;
  }

  .setup-logo-preview-box img#displayedImage {
    width: 130px !important;
    height: 90px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .setup-logo-hint {
    font-size: 13px !important;
    margin-top: 8px !important;
  }

  .product-modal .btn-default {
    width: 100% !important;
    max-width: 280px !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
  }

  .setup-table .text-danger,
  .product-modal .text-danger {
    position: static !important;
    margin: -8px 0 12px 0 !important;
    font-size: 13px !important;
    display: block !important;
  }

  /* Mobile Backdrop */
  .sidenav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    z-index: 1055 !important;
    transition: opacity 0.3s ease;
  }

  #body:not(.sidebar-minimized) .sidenav-backdrop {
    display: block !important;
    opacity: 1 !important;
  }
}

/* ==========================================================================
   Global Page Footer - BambooSA Copyright (Transparent, Bottom)
   ========================================================================== */

.content-wrapper {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
  padding-bottom: 0 !important;
}

.content-wrapper > .flex-grow-1 {
  flex: 1 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

.content-wrapper > .flex-grow-1 > div {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 0 auto !important;
  width: 100% !important;
}

.page-footer {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 20px 10px 20px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-top: none !important;
  box-shadow: none !important;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  z-index: 10 !important;
  box-sizing: border-box !important;
}

.page-footer .footer-copyright-text {
  color: #6c757d !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.15px !important;
  margin: 0 !important;
  text-align: center !important;
  width: 100% !important;
  line-height: 1.4 !important;
  background: transparent !important;
}

@media screen and (max-width: 768px) {
  .page-footer {
    padding: 6px 12px 8px 12px !important;
  }

  .page-footer .footer-copyright-text {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
}

/* ==========================================================================
   Modal Backdrop Safeguards (Prevent stuck backdrop & unclickable page)
   ========================================================================== */

body:not(.modal-open) .modal-backdrop,
body:not(:has(.modal.show)):not(:has(.modal[style*="display: block"])) .modal-backdrop {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body:not(:has(.modal.show)):not(:has(.modal[style*="display: block"])) {
  overflow: auto !important;
}

.modal:not(.show):not([style*="display: block"]) {
  display: none !important;
  pointer-events: none !important;
}













