/* Hide number input spinner in Chrome, Safari, Edge, and Opera */
#part-upc::-webkit-outer-spin-button,
#part-upc::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide number input spinner in Firefox */
#part-upc {
  -moz-appearance: textfield;
}

.light-style .menu .app-brand.demo,.dark-style .menu .app-brand.demo {
  height: 64px
}

.app-brand-logo.demo {
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -ms-flexbox;
  display: flex;
  width: 34px;
  height: 24px
}

.app-brand-logo.demo svg {
  width: 35px;
  height: 24px
}

.app-brand-text.demo {
  font-size: 1.375rem
}

.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page:not(.layout-page-admin) {
  padding-top: 64px !important;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page:not(.layout-page-admin) {
  padding-top: 72px !important;
}

@media (max-width: 1199px) {
  .layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px!important
  }

  .layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 72px!important
  }
}

.content-wrapper .navbar {
  z-index: auto
}

.demo-blocks>* {
  display: block!important
}

.demo-inline-spacing>* {
  margin: 1rem .375rem 0 0!important
}

.demo-vertical-spacing>* {
  margin-top: 1rem!important;
  margin-bottom: 0!important
}

.demo-vertical-spacing.demo-only-element>:first-child {
  margin-top: 0!important
}

.demo-vertical-spacing-lg>* {
  margin-top: 1.875rem!important;
  margin-bottom: 0!important
}

.demo-vertical-spacing-lg.demo-only-element>:first-child {
  margin-top: 0!important
}

.demo-vertical-spacing-xl>* {
  margin-top: 5rem!important;
  margin-bottom: 0!important
}

.demo-vertical-spacing-xl.demo-only-element>:first-child {
  margin-top: 0!important
}

.rtl-only {
  display: none!important;
  text-align: left!important;
  direction: ltr!important
}

[dir=rtl] .rtl-only {
  display: block!important
}

@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width:254px;
    position: relative
  }

  #dropdown-variation-demo .btn-group .text-truncate:after {
    position: absolute;
    top: 45%;
    right: .65rem
  }
}

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem
}

.layout-demo-placeholder img {
  width: 900px
}

.layout-demo-info {
  text-align: center;
  margin-top: 1rem
}

.list-group-item:not(.no-items) {
  cursor: pointer; /* Makes only valid items clickable */
  transition: background-color 0.3s ease-in-out;
}

.list-group-item:not(.no-items):hover,
.list-group-item:not(.no-items):focus,
.list-group-item:not(.no-items).active {
  background-color: rgb(0 227 255 / 7%) !important;
}

.serials-column {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.resize-none {
  resize: none !important;
}

.fade-toggle {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.fade-toggle.hidden {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.fade-toggle.visible {
  max-height: 500px; /* Adjust based on expected content height */
  opacity: 1;
}

#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
}

#btn-back-to-top {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

#btn-back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.misc-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-block-size: calc(100vh - 3rem);
  text-align: center;
}