/* #navbarNav li .dropdown-toggle {
    font-size: clamp(20px, 1.563vw, 1.563vw);
    font-family: 'Lato-Bold';
    color: #595666 !important;
} */
/* Custom Tab Styles */
.custom-tab-panel{
  margin: 0 !important;
  border: 0;
  color: #fff;
  padding-block-end: clamp(15px, 1.172vw, 1.172vw) !important;
  column-gap: clamp(5px,0.391vw,0.391vw);

}
.custom-tab-panel .custom-tabs{
  position: relative;
  overflow: visible;

}
.custom-tab-panel .custom-tabs .custom-tab-label {
  font-size: clamp(16px, 1.25vw, 1.25vw);
  padding: clamp(4px, 0.313vw, 0.313vw) clamp(16px, 1.25vw, 1.25vw);
  color: var(--InActiveTextColor);
  border: 1px solid var(--InActiveBorderColor);
  border-radius: 0;  
}
.custom-tab-panel .custom-tabs .custom-tab-label.active{
  color: white;
  background: var(--ActiveBackgroundColor);  
  position: relative;
  border-radius: 0px;  
}
.custom-tab-panel .custom-tabs .custom-tab-label.active::after{
  border-bottom: 3px solid var(--ActiveBackgroundColor) !important;
  content: '';
  width: 100%;
  display: block;
  position: absolute;
  bottom: -7px;
  left: 0;
}

.modifiedTableRow {
  background-color: lightyellow !important;
}

main,
footer {
  background: white;
}

.pageTitle {
  font-size: clamp(19px, 1.484vw, 1.484vw) !important;
  margin-bottom: clamp(8px, 0.625vw, 0.625vw) !important;
  margin-top: clamp(0.6rem, 0.75vw, 0.75vw) !important;
  color: #31473b;
  font-weight: 300;
}

#navbarNav li .dropdown-toggle:hover {
  background: #ecf2ef;
  border-radius: clamp(5px, 0.391vw, 0.391vw);
  color: #31473a !important;
  /* font-weight: 500;
  font-size: clamp(16px, 1.25vw, 1.25vw); */
  transition: 0.3s all cubic-bezier(0.65, 0.05, 0.36, 1);
  transform: scale(1.05);
}

#navbarNav li .dropdown-item {
  color: #3F464F !important;
  font-weight: 500;
  display: block;
  padding: clamp(7px, 0.547vw, 0.547vw) clamp(25px, 1.953vw, 1.953vw) !important;

  &:first-child {
    padding-top: clamp(10px, 0.781vw, 0.781vw) !important;
  }

  &:last-child {
    padding-bottom: clamp(10px, 0.781vw, 0.781vw) !important;
  }
}

a.dropdown-toggle[aria-expanded="true"] {
  background: #ecf2ef;
  border-radius: clamp(5px, 0.391vw, 0.391vw);
  color: #31473a !important;
  font-weight: 500;
  /* font-size: clamp(16px, 1.25vw, 1.25vw) !important; */
  transform: scale(1.05);
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: clamp(0.25rem, 0.313vw, 0.313vw) clamp(1.5rem, 1.875vw, 1.875vw);
  clear: both;
  font-weight: 400;
  /* color: #212529; */
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.dropdown-menu {
  padding: 0 !important;
}


/* .nav-link {
    color: #837c7c !important;
} */

.navbar .container {
  margin-left: 0% !important;
  margin-right: 0 !important;
  width: auto;
  padding: 0;
}

.navbar-brand {
  margin-left: 0px !important;
}

.master-navbar {
  margin-top: clamp(-12px, -0.938vw, -0.938vw) !important;
}

.master-navitem {
  padding: clamp(0.1rem, 0.125vw, 0.125vw) clamp(1.5rem, 1.875vw, 1.875vw) !important;
}

.navbar {
  -webkit-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
  box-shadow: 0 0px 0px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
  z-index: 1000;
}

#navbarNav>ul>.nav-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.user-options {
  left: 100%;
  transform: translateX(-100%);
}

.navbar.navbar-light .breadcrumb .nav-item .nav-link,
.navbar.navbar-light .navbar-nav .nav-item .nav-link {
  color: #31473a;
  font-size: clamp(15px, 1.172vw, 1.172vw);
  padding: clamp(7px, 0.234vw, 0.234vw) clamp(0.8rem, 1vw, 1vw) clamp(7px, 0.156vw, 0.156vw) clamp(0.8rem, 1vw, 1vw);
}

.navbar.navbar-light .navbar-nav .nav-item .nav-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: 'Lato-Regular';
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
  margin-top: clamp(5px, 0.391vw, 0.391vw) !important;
  max-height: 81vh;
  overflow: auto;
}

.navbar-expand-lg .navbar-nav .dropdown-menu::-webkit-scrollbar,
.dropdownMenuWrap::-webkit-scrollbar {
  width: 4px;
}

.navbar-expand-lg .navbar-nav .dropdown-menu::-webkit-scrollbar-thumb,
.dropdownMenuWrap::-webkit-scrollbar-thumb {
  background: #999999;
  border-radius: 5px;
}

.navbar-expand-lg .navbar-nav .dropdown-menu::-webkit-scrollbar-thumb:hover,
.dropdownMenuWrap::-webkit-scrollbar-thumb:hover {
  background: #838383;
}

.navbar-expand-lg .navbar-nav .dropdown-menu::-webkit-scrollbar-track,
.dropdownMenuWrap::-webkit-scrollbar-track {
  background: #eeeeeed9;
}


.searchDropdown .dropdownMenuWrap .pageSearchWrap .tt-menu::-webkit-scrollbar {
  width: 4px;
}

.searchDropdown .dropdownMenuWrap .pageSearchWrap .tt-menu::-webkit-scrollbar-thumb {
  background: #999999;
  border-radius: 5px;
}

.searchDropdown .dropdownMenuWrap .pageSearchWrap .tt-menu::-webkit-scrollbar-thumb:hover {
  background: #838383;
}

.searchDropdown .dropdownMenuWrap .pageSearchWrap .tt-menu::-webkit-scrollbar-track {
  background: #eeeeeed9;
}

.navBar-userName {
  font-size: clamp(16px, 1.25vw, 1.25vw) !important;
}

.dropdown-menu.fullDropdown {
  width: 100vw;
  max-height: calc(100% - 60px) !important;
  position: fixed !important;
  left: 0;
  top: clamp(60px, 4.200vw, 4.200vw);
  overflow: auto;
  padding: clamp(28px, 2.188vw, 2.188vw) !important;
}

/* .fullDropdown .dropdownMenuWrap {
  display: block;
  column-count: 4;
} */

.dropdownMenuWrap {
  display: flex;
  max-width: 100%;
  /* padding-inline-start: 7%; */
  justify-content: flex-start;
  border: 1px solid #B6B9BB;
  padding: clamp(18px, 1.302vw, 1.302vw) 0px clamp(18px, 1.302vw, 1.302vw) 7%;
  position: relative;
}

.dropdownMenuWrap .closeBtn {
  width: auto;
  height: auto;
  background: transparent;
  border: 0;
  outline: 0;
  position: absolute;
  top: 4px;
  right: 3px;
  padding: 0;
  opacity: 0.6;
}

.dropdownMenuWrap .closeBtn:focus {
  border: 0;
  outline: 0;
}

.dropdownMenuWrap .column {
  /* width: 25%; */
  display: flex;
  flex-direction: column;
}

.fullDropdown .dropdownMenuWrap .groupWrap {
  display: flex;
  flex-direction: column;
}

.fullDropdown .dropdownMenuWrap .linkWrap {
  /* display: inline-block; */
  padding-top: 12px;
  /* padding-inline-start: 15px; */
  display: flex;
  flex-direction: column;
}

.fullDropdown .dropdownMenuWrap .linkWrap .linktitle {
  color: #696969;
  text-transform: capitalize;
  padding-bottom: 4px;
  margin: 0;
  font-size: clamp(14px, 1.072vw, 1.072vw);
  font-weight: 600;
}

.fullDropdown .dropdownMenuWrap .colTitle {
  color: var(--inputLabelColor);
  padding-bottom: 1px;
  padding-top: 6px;
  margin: 0;
  font-size: clamp(18px, 1.406vw, 1.406vw);
  font-weight: 600;
  border-bottom: 3px solid #98B8C5;
}

.dropdown .dropdown-menu .dropdown-item:active {
  background-color: #e9ecef;
}

#navbarNav .fullDropdown .dropdownMenuWrap .linkWrap .groupTitle {
  font-size: clamp(14px, 1.072vw, 1.072vw) !important;
  padding: clamp(4px, 0.313vw, 0.547vw) 0 !important;
  display: inline-block;
  width: max-content;
  line-height: 1.6;
  font-family: "Verdana";
  color: #818D9C !important;
  font-weight: 600;
  margin: 0;
}

.dropdown-item:hover {
  background-color: #eff9fa !important;
}

#navbarNav .fullDropdown .dropdownMenuWrap .linkWrap .dropdown-item {
  font-size: clamp(15px, 1.172vw, 1.172vw) !important;
  padding: clamp(4px, 0.313vw, 0.547vw) clamp(15px, 1.553vw, 1.553vw) !important;
  display: inline-block;
  width: max-content;
  line-height: 1.6;
}

.inventory-menu {
  display: flex;
  flex-direction: row;
  column-gap: clamp(64px, 5vw, 5vw);
}

#navbarNav .fullDropdown .dropdownMenuWrap .linkWrap .dropdown-item::after {
  content: "";
  display: inline-block;
  font-size: clamp(7px, 0.456vw, 0.456vw);
  font-weight: 600;
  position: relative;
  top: clamp(-8px, -0.521vw, -0.521vw);
  left: clamp(13px, 0.846vw, 0.846vw);
  color: #fff;
  padding: clamp(2.5px, 0.163vw, 0.163vw) clamp(3.5px, 0.228vw, 0.228vw);
  line-height: 1;
  text-align: center;
  vertical-align: bottom;
}

.searchDropdown .dropdownMenuWrap {
  padding: clamp(30px, 2.279vw, 2.279vw) clamp(25px, 1.953vw, 1.953vw) clamp(25px, 1.953vw, 1.953vw) 7%;
}

.searchDropdown .dropdownMenuWrap .pageSearchWrap {
  width: 46%;
}

.searchDropdown .dropdownMenuWrap .pageSearchWrap .twitter-typeahead {
  width: 100%;
  position: unset !important;
}

.searchDropdown .dropdownMenuWrap .pageSearchWrap .tt-menu {
  position: fixed !important;
  top: unset !important;
  left: unset !important;
  width: 40vw !important;
  height: 400px;
  overflow-y: auto;
}

.searchDropdown .dropdownMenuWrap .column {
  width: 100%;
}

#pageSearch {
  font-size: clamp(15px, 1.172vw, 1.172vw);
  font-family: "NunitoSans-Bold";
  color: #81797e;
  line-height: 1;
  padding: clamp(0.2rem, 0.25vw, 0.25vw) 0 clamp(0.01rem, 0.013vw, 0.013vw) 0 !important;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--inputBorderColor);
  border-radius: 0;
  height: auto;
}

#pageSearch::placeholder {
  font-size: clamp(15px, 1.172vw, 1.172vw);
  font-family: "NunitoSans-Regular";
  color: var(--placeholderColor) !important;
  opacity: 1;
}

#pageSearch:focus {
  box-shadow: none;
}

#navbarNav .fullDropdown .dropdownMenuWrap .linkWrap .transactionIcon::after {
  content: "T";
  background: var(--deleteBtnColor);
}

#navbarNav .fullDropdown .dropdownMenuWrap .linkWrap .registerIcon::after {
  content: "R";
  background: #5688a587;
}

/* Business Unit */

.businessUnitSelect {
  width: max-content;
  float: right;
  border: none;
  text-align: start;
  background: inherit;
  border-bottom: none !important;
  font-family: 'NunitoSans-Regular' !important;
  font-size: clamp(13px, 1.016vw, 1.016vw);
}

.businessUnitSelect:focus {
  /* outline: none;
  border: none;
  box-shadow: none;
  background: inherit; */
  border-radius: clamp(20px, 1.563vw, 1.563vw);
  box-shadow: 0 0 0 1px rgba(0, 123, 255, .25);
}

.businessUnitLabel,
.businessUnitLocationLabel {
  text-align: end;
  font-family: 'NunitoSans-Regular' !important;
  color: #212529;
  font-size: clamp(13px, 1.016vw, 1.016vw);
  font-weight: 400;
}


.footer-copyrights {
  color: #798489;
  font-weight: 400 !important;
}

footer hr {
  margin-top: 0rem !important;
  margin-bottom: clamp(1rem, 1.25vw, 1.25vw);
  border: 0;
  border-top: 3px solid #bfc2d3 !important;
}

.logo {
  width: clamp(100px, 7.813vw, 7.813vw);
  height: auto;
  max-width: max-content;
}

.logo:focus,
.logo:focus-visible,
a.logo-anchor:focus {
  border-color: var(--inputLabelColor);
  box-shadow: 4px 3px 5px 0rem var(--btnShadowColor);
  outline: none;
}


.navBar-userName {
  column-gap: 0.25vw;
}

.navBar-userName img {
  width: clamp(25px, 1.953vw, 1.953vw);
  border-radius: 50%;
  height: clamp(22px, 1.719vw, 1.719vw);
  margin-right: auto;
}

.navbar-brand {
  margin-right: 0px;
}

/* page loader style */
.pageLoading {
  position: fixed;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: none;
}

/* Transparent Overlay */
.pageLoading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  opacity: 0.4;
  pointer-events: none;
}

/* Transparent Overlay */
.pageLoading:after {
  content: '';
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url("/public/images/loading.gif");
  background-position: center;
  background-size: 100%;
  width: 60px;
  height: 60px;
}
.modal-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 1051; /* Higher than modal z-index */
  border-radius: 4px;
  display: none;
}

/* Transparent Overlay */
.modal-loading:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* Loading GIF */
.modal-loading:after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url("/public/images/loading.gif");
  background-position: center;
  background-size: 100%;
  width: 60px;
  height: 60px;
}

/* Modal Toast Warning Styles */
.modal-toast-warning {
  position: absolute;
  top: clamp(10px,0.781vw,0.781vw);
  right: clamp(60px,4.688vw,4.688vw);
  z-index: 1060;
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  border-radius: 4px;
  padding: clamp(8px,0.625vw,0.625vw) clamp(15px,1.172vw,1.172vw);
  box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,.1);
  font-size: clamp(13px,1.016vw,1.016vw);
}

.modal-toast-warning .fas {
  margin-right: clamp(5px,0.391vw,0.391vw);
}
.modal-toast-warning button{
    padding: 0 !important;
      padding-inline-start: 10px !important;
}


.modal-toast-warning .close {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: #856404;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  margin: 0 !important;
}

/* Modal Confirmation Dialog Styles */
.modal-confirmation .modal-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.modal-confirmation .modal-title {
  color: #495057;
  font-weight: 600;
  font-size: 16px;
}

.modal-confirmation .modal-body {
  text-align: center;
  padding: 25px 20px;
}

.modal-confirmation .confirmation-icon {
  margin-bottom: 15px;
}

.modal-confirmation .confirmation-icon i {
  font-size: 48px;
  color: #dc3545;
}

.modal-confirmation .modal-body p {
  color: #343a40;
  font-size: 14px;
}

.modal-confirmation .modal-footer {
  border-top: 1px solid #dee2e6;
  justify-content: end;
  padding: 15px;
}

.modal-confirmation .btn-secondary {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 8px 20px;
  margin-right: 10px;
}

.modal-confirmation .btn-primary {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 8px 20px;
}

/* Styling for dimmed background modal when confirmation dialog is shown */
.modal-dimmed-background {
  opacity: 0.7 !important; /* Dim the background modal */
  filter: blur(1px); /* Apply slight blur effect, reduced to avoid performance issues */
  pointer-events: none !important; /* Prevent interactions with the background modal */
  transition: opacity 0.3s ease, filter 0.3s ease; /* Add smooth transition */
}

/* Apply progressively darker backgrounds for nested modals */
.modal-dimmed-background + .modal-dimmed-background {
  opacity: 0.6 !important;
}

/* Ensure modal content maintains its visibility while background is dimmed */
.modal-dimmed-background .modal-content {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Make sure the confirmation modal itself is clear and focused */
.modal-confirmation {
  opacity: 1 !important;
  filter: none !important;
  pointer-events: all !important;
}

/* Ensure the modal backdrop is more prominent when confirmation is shown */
.modal-backdrop.show {
  opacity: 0.7;
}

.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  padding: clamp(8px, 0.625vw, 0.625vw) clamp(16px, 1.25vw, 1.25vw);
}

.navbar-brand {
  font-size: clamp(20px, 1.563vw, 1.563vw);
}

.navbar .dropdown-menu a {
  font-size: clamp(15px, 1.172vw, 1.172vw);
}

main {
  flex: 1;
  padding-top: 5.469vw;
}

@media only screen and (max-width: 991px) {
  #navbarNav .fullDropdown .dropdownMenuWrap .linkWrap .dropdown-item::after {
    top: -5px;
  }

  .fullDropdown .dropdownMenuWrap .colTitle {
    font-size: 15px !important;
  }

  #navbarNav .fullDropdown .dropdownMenuWrap .linkWrap .groupTitle {
    font-size: 14px !important;
  }

  #navbarNav li .dropdown-toggle:hover,
  a.dropdown-toggle[aria-expanded="true"] {
    transform: scale(1);
  }

  .navbar.navbar-light .breadcrumb .nav-item .nav-link,
  .navbar.navbar-light .navbar-nav .nav-item .nav-link,
  .navbar .dropdown-menu a {
    font-size: clamp(16px, 1.25vw, 1.25vw) !important;
  }

  .searchDropdown .dropdownMenuWrap .pageSearchWrap .tt-menu {
    position: fixed !important;
    top: unset !important;
    left: unset !important;
    width: 70% !important;
  }

  .navbar-expand-lg .navbar-nav .dropdown-menu {
    max-height: 55vh;
    position: absolute;
  }

  .inventory-menu {
    gap: 0 30px;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .dropdownMenuWrap {
    padding: 20px 20px 20px 7%;
  }

  .mobileView-notification-icon {
    display: flex !important;
  }

  #navbarNav .navbar-nav .dropdown {
    padding: 0 !important;
  }

  #navbarNav .navbar-nav .dropdown .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: clamp(3px, 0.234vw, 0.234vw) clamp(10px, 0.781vw, 0.781vw);
  }

  #navbarNav>ul>.nav-item,
  #navbarNav .navbar-nav .dropdown-menu {
    width: 100%;
  }

  .mobileViewCustomStyle {
    row-gap: clamp(10px, 0.781vw, 0.781vw);
    padding: clamp(10px, 0.781vw, 0.781vw) 0 clamp(15px, 1.172vw, 1.172vw);
  }

  .navBar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: clamp(5px, 0.391vw, 0.391vw);
    padding: clamp(10px, 0.781vw, 0.781vw);
  }

  .dropdown-menu.fullDropdown {
    width: 100%;
    max-height: 60vh !important;
    position: absolute !important;
    top: 29px;
    padding: 0px !important;
    border: 0;
    border-radius: 0;
    overflow: unset;
  }

  .dropdownMenuWrap {
    flex-wrap: wrap;
    max-width: 100%;
    margin: auto;
    padding: clamp(30px, 2.279vw, 2.279vw) 10px clamp(25px, 1.953vw, 1.953vw) 10px !important;
    max-height: 60vh;
    overflow: auto;
  }

  .dropdownMenuWrap .column {
    width: 100%;
  }

  .linkWrap .dropdown-item {
    width: 100%;
    /* display: none !important; */
  }

  .linkWrap .dropdown-item.linked {
    width: 100%;
    display: block !important;
    background-color: transparent;
  }

  .fullDropdown .dropdownMenuWrap .linkWrap {
    padding-bottom: 15px;
    min-width: 45%;
  }

  #navbarNav .fullDropdown .dropdownMenuWrap .linkWrap .dropdown-item {
    font-size: clamp(15px, 1.172vw, 1.172vw) !important;
    padding: clamp(4px, 0.313vw, 0.313vw) clamp(25px, 1.953vw, 1.953vw) !important;
  }


  .fullDropdown .dropdownMenuWrap .linkWrap .linktitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }

  .fullDropdown .dropdownMenuWrap .linkWrap .linktitle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
  }

  .fullDropdown .dropdownMenuWrap .groupWrap {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .searchDropdown .dropdownMenuWrap .pageSearchWrap {
    width: 100%;
  }

  .searchDropdown .dropdownMenuWrap .pageSearchWrap .tt-menu {
    width: calc(100% - 20px) !important;
    left: 10px !important;
  }

  main {
    padding-top: 80px;
  }

  .navbarBtn {
    padding: 0;
  }

  .navbarBtn .navbarIcon {
    padding: .25rem .75rem;
    width: auto;
    min-width: 1.5em;
    box-sizing: content-box;
    background-size: 85% 85%;
  }
}