/*vueselect css*/
.v-select {
  position: relative;
  font-family: inherit
}

.v-select,
.v-select * {
  box-sizing: border-box
}

@-webkit-keyframes vSelectSpinner {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg)
  }

  to {
    -webkit-transform: rotate(1turn);
    transform: rotate(1turn)
  }
}

@keyframes vSelectSpinner {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg)
  }

  to {
    -webkit-transform: rotate(1turn);
    transform: rotate(1turn)
  }
}

.vs__fade-enter-active,
.vs__fade-leave-active {
  transition: opacity .15s cubic-bezier(1, .5, .8, 1)
}

.vs__fade-enter,
.vs__fade-leave-to {
  opacity: 0
}

.vs--disabled .vs__clear,
.vs--disabled .vs__dropdown-toggle,
.vs--disabled .vs__open-indicator,
.vs--disabled .vs__search,
.vs--disabled .vs__selected {
  cursor: not-allowed;
  background-color: #f8f8f8
}

.v-select[dir=rtl] .vs__actions {
  padding: 0 3px 0 6px
}

.v-select[dir=rtl] .vs__clear {
  margin-left: 6px;
  margin-right: 0
}

.v-select[dir=rtl] .vs__deselect {
  margin-left: 0;
  margin-right: 2px
}

.v-select[dir=rtl] .vs__dropdown-menu {
  text-align: right
}

.vs__dropdown-toggle {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: flex;
  padding: 0 0 4px;
  background: none;
  border: 1px solid rgba(60, 60, 60, .26);
  border-radius: 4px;
  white-space: normal
}

.vs__selected-options {
  display: flex;
  flex-basis: 100%;
  flex-grow: 1;
  flex-wrap: wrap;
  padding: 0 2px;
  position: relative
}

.vs__actions {
  display: flex;
  align-items: center;
  padding: 4px 6px 0 3px
}

.vs--searchable .vs__dropdown-toggle {
  cursor: text
}

.vs--unsearchable .vs__dropdown-toggle {
  cursor: pointer
}

.vs--open .vs__dropdown-toggle {
  border-bottom-color: transparent;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0
}

.vs__open-indicator {
  fill: rgba(60, 60, 60, .5);
  -webkit-transform: scale(1);
  transform: scale(1);
  transition: -webkit-transform .15s cubic-bezier(1, -.115, .975, .855);
  transition: transform .15s cubic-bezier(1, -.115, .975, .855);
  transition: transform .15s cubic-bezier(1, -.115, .975, .855), -webkit-transform .15s cubic-bezier(1, -.115, .975, .855);
  transition-timing-function: cubic-bezier(1, -.115, .975, .855)
}

.vs--open .vs__open-indicator {
  -webkit-transform: rotate(180deg) scale(1);
  transform: rotate(180deg) scale(1)
}

.vs--loading .vs__open-indicator {
  opacity: 0
}

.vs__clear {
  fill: rgba(60, 60, 60, .5);
  padding: 0;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  margin-right: 8px
}

.vs__dropdown-menu {
  display: block;
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  z-index: 1000;
  padding: 5px 0;
  margin: 0;
  width: 100%;
  max-height: 350px;
  min-width: 160px;
  overflow-y: auto;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .15);
  border: 1px solid rgba(60, 60, 60, .26);
  border-top-style: none;
  border-radius: 0 0 4px 4px;
  text-align: left;
  list-style: none;
  background: #fff
}

.vs__no-options {
  text-align: center
}

.vs__dropdown-option {
  line-height: 1.42857143;
  display: block;
  padding: 3px 20px;
  clear: both;
  color: #333;
  white-space: nowrap
}

.vs__dropdown-option:hover {
  cursor: pointer
}

.vs__dropdown-option--highlight {
  background: #5897fb;
  color: #fff
}

.vs__selected {
  display: flex;
  align-items: center;
  background-color: #f0f0f0;
  border: 1px solid rgba(60, 60, 60, .26);
  border-radius: 4px;
  color: #333;
  line-height: 1.4;
  margin: 4px 2px 0;
  padding: 0 .25em
}

.vs__deselect {
  display: inline-flex;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-left: 4px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: none;
  fill: rgba(60, 60, 60, .5);
  text-shadow: 0 1px 0 #fff
}

.vs--single .vs__selected {
  background-color: transparent;
  border-color: transparent
}

.vs--single.vs--open .vs__selected {
  position: absolute;
  opacity: .4
}

.vs--single.vs--searching .vs__selected {
  display: none
}

.vs__search::-ms-clear,
.vs__search::-webkit-search-cancel-button,
.vs__search::-webkit-search-decoration,
.vs__search::-webkit-search-results-button,
.vs__search::-webkit-search-results-decoration {
  display: none
}

.vs__search,
.vs__search:focus {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  line-height: 1.4;
  font-size: 1em;
  border: 1px solid transparent;
  border-left: none;
  outline: none;
  margin: 4px 0 0;
  padding: 0 7px;
  background: none;
  box-shadow: none;
  width: 0;
  max-width: 100%;
  flex-grow: 1
}

.vs__search::-webkit-input-placeholder {
  color: inherit
}

.vs__search:-ms-input-placeholder {
  color: inherit
}

.vs__search::-ms-input-placeholder {
  color: inherit
}

.vs__search::placeholder {
  color: inherit
}

.vs--unsearchable .vs__search {
  opacity: 1
}

.vs--unsearchable .vs__search:hover {
  cursor: pointer
}

.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search {
  opacity: .2
}

.vs__spinner {
  align-self: center;
  opacity: 0;
  font-size: 5px;
  text-indent: -9999em;
  overflow: hidden;
  border: .9em solid hsla(0, 0%, 39.2%, .1);
  border-left-color: rgba(60, 60, 60, .45);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: vSelectSpinner 1.1s linear infinite;
  animation: vSelectSpinner 1.1s linear infinite;
  transition: opacity .1s
}

.vs__spinner,
.vs__spinner:after {
  border-radius: 50%;
  width: 5em;
  height: 5em
}

.vs--loading .vs__spinner {
  opacity: 1
}

/*# sourceMappingURL=vue-select.css.map*/
/*vueselect end*/

/*vue multiselect*/
fieldset[disabled] .multiselect {
  pointer-events: none
}

.multiselect__spinner {
  position: absolute;
  right: 1px;
  top: 1px;
  width: 48px;
  height: 35px;
  background: #fff;
  display: block
}

.multiselect__spinner:after,
.multiselect__spinner:before {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -8px;
  width: 16px;
  height: 16px;
  border-radius: 100%;
  border: 2px solid transparent;
  border-top-color: #41b883;
  box-shadow: 0 0 0 1px transparent
}

.multiselect__spinner:before {
  animation: spinning 2.4s cubic-bezier(.41, .26, .2, .62);
  animation-iteration-count: infinite
}

.multiselect__spinner:after {
  animation: spinning 2.4s cubic-bezier(.51, .09, .21, .8);
  animation-iteration-count: infinite
}

.multiselect__loading-enter-active,
.multiselect__loading-leave-active {
  transition: opacity .4s ease-in-out;
  opacity: 1
}

.multiselect__loading-enter,
.multiselect__loading-leave-active {
  opacity: 0
}

.multiselect,
.multiselect__input,
.multiselect__single {
  font-family: inherit;
  font-size: 16px;
  -ms-touch-action: manipulation;
  touch-action: manipulation
}

.multiselect {
  box-sizing: content-box;
  display: block;
  position: relative;
  width: 100%;
  min-height: 40px;
  text-align: left;
  color: #35495e
}

.multiselect * {
  box-sizing: border-box
}

.multiselect:focus {
  outline: none
}

.multiselect--disabled {
  background: #ededed;
  pointer-events: none;
  opacity: .6
}

.multiselect--active {
  z-index: 50
}

.multiselect--active:not(.multiselect--above) .multiselect__current,
.multiselect--active:not(.multiselect--above) .multiselect__input,
.multiselect--active:not(.multiselect--above) .multiselect__tags {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0
}

.multiselect--active .multiselect__select {
  transform: rotate(180deg)
}

.multiselect--above.multiselect--active .multiselect__current,
.multiselect--above.multiselect--active .multiselect__input,
.multiselect--above.multiselect--active .multiselect__tags {
  border-top-left-radius: 0;
  border-top-right-radius: 0
}

.multiselect__input,
.multiselect__single {
  position: relative;
  display: inline-block;
  min-height: 20px;
  line-height: 20px;
  border: none;
  border-radius: 5px;
  background: #fff;
  padding: 0 0 0 5px;
  width: 100%;
  transition: border .1s ease;
  box-sizing: border-box;
  margin-bottom: 8px;
  vertical-align: top
}

.multiselect__input:-ms-input-placeholder {
  color: #35495e
}

.multiselect__input::placeholder {
  color: #35495e
}

.multiselect__tag~.multiselect__input,
.multiselect__tag~.multiselect__single {
  width: auto
}

.multiselect__input:hover,
.multiselect__single:hover {
  border-color: #cfcfcf
}

.multiselect__input:focus,
.multiselect__single:focus {
  border-color: #a8a8a8;
  outline: none
}

.multiselect__single {
  padding-left: 5px;
  margin-bottom: 8px
}

.multiselect__tags-wrap {
  display: inline
}

.multiselect__tags {
  min-height: 40px;
  display: block;
  padding: 8px 40px 0 8px;
  border-radius: 5px;
  border: 1px solid #e8e8e8;
  background: #fff;
  font-size: 14px
}

.multiselect__tag {
  position: relative;
  display: inline-block;
  padding: 4px 26px 4px 10px;
  border-radius: 5px;
  margin-right: 10px;
  color: #fff;
  line-height: 1;
  background: #41b883;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis
}

.multiselect__tag-icon {
  cursor: pointer;
  margin-left: 7px;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  font-weight: 700;
  font-style: normal;
  width: 22px;
  text-align: center;
  line-height: 22px;
  transition: all .2s ease;
  border-radius: 5px
}

.multiselect__tag-icon:after {
  content: "\D7";
  color: #266d4d;
  font-size: 14px
}

.multiselect__tag-icon:focus,
.multiselect__tag-icon:hover {
  background: #369a6e
}

.multiselect__tag-icon:focus:after,
.multiselect__tag-icon:hover:after {
  color: #fff
}

.multiselect__current {
  min-height: 40px;
  overflow: hidden;
  padding: 8px 30px 0 12px;
  white-space: nowrap;
  border-radius: 5px;
  border: 1px solid #e8e8e8
}

.multiselect__current,
.multiselect__select {
  line-height: 16px;
  box-sizing: border-box;
  display: block;
  margin: 0;
  text-decoration: none;
  cursor: pointer
}

.multiselect__select {
  position: absolute;
  width: 40px;
  height: 38px;
  right: 1px;
  top: 1px;
  padding: 4px 8px;
  text-align: center;
  transition: transform .2s ease
}

.multiselect__select:before {
  position: relative;
  right: 0;
  top: 65%;
  color: #999;
  margin-top: 4px;
  border-color: #999 transparent transparent;
  border-style: solid;
  border-width: 5px 5px 0;
  content: ""
}

.multiselect__placeholder {
  color: #adadad;
  display: inline-block;
  margin-bottom: 10px;
  padding-top: 2px
}

.multiselect--active .multiselect__placeholder {
  display: none
}

.multiselect__content-wrapper {
  position: absolute;
  display: block;
  background: #fff;
  width: 100%;
  max-height: 240px;
  overflow: auto;
  border: 1px solid #e8e8e8;
  border-top: none;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  z-index: 50;
  -webkit-overflow-scrolling: touch
}

.multiselect__content {
  list-style: none;
  display: inline-block;
  padding: 0;
  margin: 0;
  min-width: 100%;
  vertical-align: top
}

.multiselect--above .multiselect__content-wrapper {
  bottom: 100%;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom: none;
  border-top: 1px solid #e8e8e8
}

.multiselect__content::webkit-scrollbar {
  display: none
}

.multiselect__element {
  display: block
}

.multiselect__option {
  display: block;
  padding: 12px;
  min-height: 40px;
  line-height: 16px;
  text-decoration: none;
  text-transform: none;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
  white-space: nowrap
}

.multiselect__option:after {
  top: 0;
  right: 0;
  position: absolute;
  line-height: 40px;
  padding-right: 12px;
  padding-left: 20px;
  font-size: 13px
}

.multiselect__option--highlight {
  background: #41b883;
  outline: none;
  color: #fff
}

.multiselect__option--highlight:after {
  content: attr(data-select);
  background: #41b883;
  color: #fff
}

.multiselect__option--selected {
  background: #f3f3f3;
  color: #35495e;
  font-weight: 700
}

.multiselect__option--selected:after {
  content: attr(data-selected);
  color: silver
}

.multiselect__option--selected.multiselect__option--highlight {
  background: #ff6a6a;
  color: #fff
}

.multiselect__option--selected.multiselect__option--highlight:after {
  background: #ff6a6a;
  content: attr(data-deselect);
  color: #fff
}

.multiselect--disabled .multiselect__current,
.multiselect--disabled .multiselect__select {
  background: #ededed;
  color: #a6a6a6
}

.multiselect__option--disabled {
  background: #ededed !important;
  color: #a6a6a6 !important;
  cursor: text;
  pointer-events: none
}

.multiselect__option--group {
  background: #ededed;
  color: #35495e
}

.multiselect__option--group.multiselect__option--highlight {
  background: #35495e;
  color: #fff
}

.multiselect__option--group.multiselect__option--highlight:after {
  background: #35495e
}

.multiselect__option--disabled.multiselect__option--highlight {
  background: #dedede
}

.multiselect__option--group-selected.multiselect__option--highlight {
  background: #ff6a6a;
  color: #fff
}

.multiselect__option--group-selected.multiselect__option--highlight:after {
  background: #ff6a6a;
  content: attr(data-deselect);
  color: #fff
}

.multiselect-enter-active,
.multiselect-leave-active {
  transition: all .15s ease
}

.multiselect-enter,
.multiselect-leave-active {
  opacity: 0
}

.multiselect__strong {
  margin-bottom: 8px;
  line-height: 20px;
  display: inline-block;
  vertical-align: top
}

[dir=rtl] .multiselect {
  text-align: right
}

[dir=rtl] .multiselect__select {
  right: auto;
  left: 1px
}

[dir=rtl] .multiselect__tags {
  padding: 8px 8px 0 40px
}

[dir=rtl] .multiselect__content {
  text-align: right
}

[dir=rtl] .multiselect__option:after {
  right: auto;
  left: 0
}

[dir=rtl] .multiselect__clear {
  right: auto;
  left: 12px
}

[dir=rtl] .multiselect__spinner {
  right: auto;
  left: 1px
}

@keyframes spinning {
  0% {
    transform: rotate(0)
  }

  to {
    transform: rotate(2turn)
  }
}

/*vue multiselect end*/

.primarybanner {
  background: #008094 !important;
  background-image: linear-gradient(135deg, #006b7b 0%, #008094 50%, #00acc1 100%) !important;
  border-radius: 25px !important;
  box-shadow: 0 4px 15px rgba(0, 128, 148, 0.4) !important;
  height: 42px !important;
  width: auto !important;
  min-width: 300px;
  max-width: 550px;
  padding: 0 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.successbanner {
  background: #059669 !important;
  background-image: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%) !important;
  border-radius: 25px !important;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4) !important;
  height: 46px !important;
  width: auto !important;
  min-width: 300px;
  max-width: 550px;
  padding: 0 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.dangerbanner {
  background: #dc2626 !important;
  background-image: linear-gradient(135deg, #b91c1c 0%, #dc2626 50%, #ef4444 100%) !important;
  border-radius: 25px !important;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4) !important;
  height: 46px !important;
  width: auto !important;
  min-width: 300px;
  max-width: 550px;
  padding: 0 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.warningbanner {
  background: #d97706 !important;
  background-image: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%) !important;
  border-radius: 25px !important;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4) !important;
  height: 42px !important;
  width: auto !important;
  min-width: 300px;
  max-width: 550px;
  padding: 0 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.section-title {
  font-family: 'Agbalumo', system-ui, sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-size: clamp(13px, 1.15vw, 14px) !important;
  text-align: center !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1 !important;
  letter-spacing: 0.5px !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.box-header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.vs__search {
  font-size: 12px !important;
}

.productlist ul {
  max-height: 400px !important;
  overflow-y: scroll !important;
}


/*purchase panel design */

.purchase-header {
  display: flex;
  align-items: center;
  justify-content: center;
  /* center content */
  padding: 10px 15px;
  background: #f9f9f9;
  border-bottom: 2px solid #3c8dbc;
  border-radius: 5px 5px 0 0;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Banner ribbon centered */
.successbanner {
  background-image: url('../images/banner/success.jpg');
  /* Your banner */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 50px;
  width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  position: relative;
  color: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  /* force center */
}

/* Optional folded edges look */
.successbanner::before,
.successbanner::after {
  content: "";
  position: absolute;
  top: 0;
  width: 25px;
  height: 100%;
  background: url('../images/banner/edge.png') no-repeat center center;
  background-size: contain;
}

.successbanner::before {
  left: -25px;
  transform: rotateY(180deg);
}

.successbanner::after {
  right: -25px;
}

/* Banner text */
.section-title {
  font-family: "Agbalumo", system-ui;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(13px, 1.15vw, 16px);
  letter-spacing: 0.5px;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
}

/* Action buttons on right side */
.header-actions {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.header-actions .btn {
  margin-left: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease-in-out;
}

.header-actions .btn:hover {
  transform: translateY(-2px);
}

/*purchase panel design */

/*Due List Design*/

/* General spacing */
.mb-15 {
  margin-bottom: 15px;
}

.p-20 {
  padding: 20px;
}

.m-l-5 {
  margin-left: 5px;
}

/* Header */
.page-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 10px 0 15px;
}

.page-title {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
}

.page-title i {
  margin-right: 8px;
}

.page-actions .btn {
  border-radius: 20px;
}

/* Loader overlay */
.loader-overlay {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.loader-text {
  margin-top: 10px;
  color: #34495e;
  font-weight: 600;
}

/* Panels */
.panel-store .panel-heading {
  background: #f9fafb;
  border-bottom: 1px solid #eee;
}

.store-title {
  margin: 5px 0 0;
  font-weight: 700;
  color: #2c3e50;
}

.store-sub {
  color: #6b7280;
  font-size: 13px;
}

/* Inputs */
.modern-input .input-group-addon {
  background: #f0f3f7;
  border-color: #e5e9f2;
}

.modern-input .form-control {
  border-color: #e5e9f2;
  box-shadow: none;
}

.modern-btn {
  border-radius: 6px;
}

.clickable {
  cursor: pointer;
}

/* v-select alignment inside input-group */
.v-select.flex-1 .vs__dropdown-toggle {
  border-radius: 4px;
  border: 1px solid #e5e9f2;
  height: 34px;
}

.v-select.flex-1 .vs__selected-options {
  padding: 2px 8px;
  line-height: 28px;
}

/* Hide raw header and footer slot text and spinner text in v-select */
.vs__header,
.vs__footer,
.v-select .vs__header,
.v-select .vs__footer {
  display: none !important;
}

.vs__spinner {
  opacity: 0 !important;
  text-indent: -9999em !important;
  font-size: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

/* KPI cards */
.kpi-row {
  margin-top: 5px;
}

.kpi-card {
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  padding: 12px 14px;
  text-align: center;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.kpi-label {
  color: #6b7280;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.kpi-value {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-top: 4px;
}

.kpi-danger {
  background: #fff5f5;
  border-color: #ffe0e0;
}

.kpi-danger .kpi-value {
  color: #c0392b;
}

/* Table */
.table-container {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}

.modern-table thead>tr>th {
  background: #f7fafc;
  color: #111827;
  border-bottom: 1px solid #eef2f7;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

.modern-table tbody>tr:hover {
  background: #fcfcff;
}

.total-row td {
  font-weight: 700;
  background: #f9fbff;
}

/* Utility */
.text-muted {
  color: #94a3b8;
}

.p-20 {
  padding: 20px !important;
}

.page-header-center {
  display: flex;
  justify-content: center;
  /* horizontal center */
  padding: 5px 0;
  /* spacing from top and bottom */
  background: #f4f6f9;
  /* light background (optional) */
}

/* Title style */
.ph-title {
  font-size: 17px;
  font-weight: 800;
  color: #3C8DBC;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  text-align: center;
}

/* Underline using sidebar color */
.ph-title::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: #222D32;
  /* sidebar color */
  border-radius: 2px;
}

/* Soft glowing accent line */
.ph-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: linear-gradient(90deg, #3C8DBC, #5BA8E0);
  opacity: 0.5;
  border-radius: 2px;
  filter: blur(2px);
}

/* ==========================================================================
   PREMIUM MODERN DESIGN SYSTEM OVERRIDES (cohesive, standard look)
   ========================================================================== */

/* 1. Global typography & text rendering refinements */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f8fafc !important;
  color: #334155 !important;
}

/* 2. Sleek Card/Box Containers */
.box,
.box-solid,
.panel {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03) !important;
  margin-bottom: 20px !important;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.box:hover,
.panel:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05) !important;
  border-color: #cbd5e1 !important;
}

.box-header,
.panel-heading {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 14px 20px !important;
}

.box-title,
.panel-title {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  letter-spacing: 0.3px;
}

.box-body,
.panel-body {
  padding: 20px !important;
}

/* Remove old style border tops of AdminLTE boxes */
.box.box-info,
.box.box-primary,
.box.box-success,
.box.box-warning,
.box.box-danger {
  border-top: 1px solid #e2e8f0 !important;
}

/* 3. Modern Inputs & Form Controls */
.form-control,
input[type="text"],
input[type="number"],
input[type="password"],
input[type="email"],
select,
textarea {
  height: 40px;
  padding: 8px 14px;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  color: #1e293b !important;
  box-shadow: none !important;
  transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

textarea.form-control {
  height: auto !important;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
  outline: 0 !important;
}

/* Input group addons styling */
.input-group-addon {
  background-color: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #64748b !important;
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: 8px !important;
}

/* Adjust borders when paired with input */
.input-group .form-control:first-child,
.input-group-addon:first-child {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.input-group .form-control:last-child,
.input-group-addon:last-child {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.input-group .form-control:not(:first-child):not(:last-child),
.input-group-addon:not(:first-child):not(:last-child) {
  border-radius: 0 !important;
}

/* 4. Elegant Tables */
.table {
  width: 100% !important;
  margin-bottom: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.table th,
.table td {
  padding: 14px 16px !important;
  vertical-align: middle !important;
  border-top: 1px solid #f1f5f9 !important;
  border-bottom: none !important;
  font-size: 13px !important;
  color: #334155 !important;
}

.table thead th {
  background-color: #f8fafc !important;
  color: #475569 !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-top: none !important;
  border-bottom: 2px solid #e2e8f0 !important;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f8fafc !important;
}

.table-hover tbody tr:hover {
  background-color: #f1f5f9 !important;
  transition: background-color 0.15s ease;
}

/* Table headers without boxy style */
.table-bordered {
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
}

.table-bordered th,
.table-bordered td {
  border: 1px solid #f1f5f9 !important;
}

/* Custom Scrollbar for responsive tables */
.table-responsive {
  border: none !important;
  margin-bottom: 15px;
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

.table-responsive::-webkit-scrollbar-track {
  background: #f8fafc;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* 5. Modern Flat Buttons with Hover Effects */
.btn {
  height: 38px;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px;
  border: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-sm {
  height: 30px;
  padding: 4px 12px !important;
  font-size: 12px !important;
}

.btn-lg {
  height: 46px;
  padding: 12px 24px !important;
  font-size: 14px !important;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1) !important;
}

.btn:active {
  transform: translateY(0);
}

/* Button colors */
.btn-primary,
.bg-light-blue-active {
  background-color: #4f46e5 !important;
  /* Indigo */
  color: #ffffff !important;
}

.btn-primary:hover,
.bg-light-blue-active:hover {
  background-color: #4338ca !important;
}

.btn-success {
  background-color: #10b981 !important;
  /* Emerald */
  color: #ffffff !important;
}

.btn-success:hover {
  background-color: #059669 !important;
}

.btn-danger {
  background-color: #ef4444 !important;
  /* Ruby */
  color: #ffffff !important;
}

.btn-danger:hover {
  background-color: #dc2626 !important;
}

.btn-warning {
  background-color: #f59e0b !important;
  /* Amber */
  color: #ffffff !important;
}

.btn-warning:hover {
  background-color: #d97706 !important;
}

.btn-info {
  background-color: #0ea5e9 !important;
  /* Sky */
  color: #ffffff !important;
}

.btn-info:hover {
  background-color: #0284c7 !important;
}

.btn-default {
  background-color: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
}

.btn-default:hover {
  background-color: #e2e8f0 !important;
}

/* 6. Premium Badges & Pills */
.label,
.badge {
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
  border-radius: 9999px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px;
  display: inline-block;
  border: 1px solid transparent;
}

.label-success,
.badge-success {
  background-color: #d1fae5 !important;
  color: #065f46 !important;
}

.label-danger,
.badge-danger {
  background-color: #fee2e2 !important;
  color: #991b1b !important;
}

.label-warning,
.badge-warning {
  background-color: #fef3c7 !important;
  color: #92400e !important;
}

.label-info,
.badge-info {
  background-color: #e0f2fe !important;
  color: #0369a1 !important;
}

.label-primary,
.badge-primary {
  background-color: #e0e7ff !important;
  color: #3730a3 !important;
}

/* 7. Clean Modern Modals */
.modal-content {
  border-radius: 16px !important;
  border: none !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 20px 24px !important;
}

.modal-title {
  font-weight: 700 !important;
  color: #0f172a !important;
}

.modal-footer {
  border-top: 1px solid #e2e8f0 !important;
  background-color: #f8fafc;
  padding: 16px 24px !important;
}

/* 8. Aligning Custom Select wrappers (Vue-Select and Multiselect) */
.vs__dropdown-toggle {
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  height: 40px !important;
  padding: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.vs--open .vs__dropdown-toggle {
  border-bottom-color: transparent !important;
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

.vs__search,
.vs__search:focus {
  margin: 0 !important;
  padding: 8px 14px !important;
}

.vs__selected-options {
  padding: 0 4px !important;
  align-items: center;
}

.vs__selected {
  background-color: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  color: #334155 !important;
  font-size: 13px !important;
  padding: 2px 8px !important;
  margin: 2px !important;
}

.vs__dropdown-menu {
  border-radius: 0 0 8px 8px !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05) !important;
  z-index: 1100 !important;
}

.vs__dropdown-option--highlight {
  background-color: #4f46e5 !important;
  color: #ffffff !important;
}

.multiselect__tags {
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  min-height: 40px !important;
  padding: 6px 40px 0 8px !important;
}

.multiselect__select {
  height: 38px !important;
}

.multiselect__option--highlight {
  background: #4f46e5 !important;
}

.multiselect__tag {
  background: #4f46e5 !important;
  border-radius: 6px !important;
}

/* Pagination modern styling */
.pagination {
  display: inline-flex;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.pagination>li>a,
.pagination>li>span {
  border: 1px solid #e2e8f0 !important;
  padding: 8px 14px !important;
  color: #475569 !important;
  background-color: #ffffff !important;
  font-weight: 500;
  transition: all 0.15s ease;
}

.pagination>li>a:hover {
  background-color: #f1f5f9 !important;
  color: #1e293b !important;
}

.pagination>.active>a,
.pagination>.active>a:hover,
.pagination>.active>a:focus,
.pagination>.active>span,
.pagination>.active>span:hover,
.pagination>.active>span:focus {
  background-color: #4f46e5 !important;
  border-color: #4f46e5 !important;
  color: #ffffff !important;
}

/* Custom spacing and layout helpers */
.tablefooter {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 15px;
  flex-wrap: wrap;
  gap: 12px;
}

.pagination-details {
  color: #64748b;
  font-size: 13px;
  margin-left: 0 !important;
}

/* ==========================================================================
   PREMIUM MODERN SIDEBAR STYLING
   ========================================================================== */

/* Main sidebar container - Dark Slate Navy matching screenshot */
.main-sidebar {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%) !important;
  border-right: 1px solid #1e293b !important;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15) !important;
}

.sidebar {
  padding: 12px 0 !important;
}

/* User Profile Panel in Sidebar */
.user-panel {
  background: rgba(255, 255, 255, 0.04) !important;
  border-radius: 12px !important;
  margin: 12px 14px 20px 14px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  transition: all 0.25s ease !important;
}

.user-panel:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.user-panel .image {
  padding: 0 !important;
  float: none !important;
}

.user-panel .image img {
  width: 40px !important;
  height: 40px !important;
  border: 2px solid #00c0ef !important;
  box-shadow: 0 0 10px rgba(0, 192, 239, 0.35) !important;
  border-radius: 50% !important;
}

.user-panel .info {
  position: static !important;
  padding: 0 !important;
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
}

.user-panel .info p {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  margin: 0 !important;
  letter-spacing: 0.5px !important;
}

.user-panel .status {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #10b981 !important;
  margin-top: 2px !important;
}

.user-panel .status-dot {
  width: 7px !important;
  height: 7px !important;
  background-color: #10b981 !important;
  border-radius: 50% !important;
  display: inline-block !important;
  box-shadow: 0 0 6px #10b981 !important;
  animation: pulse-status 2s infinite !important;
}

@keyframes pulse-status {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Menu header or titles */
.sidebar-menu>li.header {
  color: #64748b !important;
  background: transparent !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 16px 25px 8px 25px !important;
}

/* Main Navigation Menu Items */
.sidebar-menu>li {
  margin: 4px 10px !important;
  border-radius: 8px !important;
  overflow: hidden;
  border-left: none !important;
  transition: all 0.2s ease !important;
  background-color: transparent !important;
}

.sidebar-menu>li>a {
  padding: 10px 14px !important;
  color: #cbd5e1 !important;
  background-color: transparent !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  transition: all 0.2s ease !important;
  border-left: none !important;
  border-radius: 8px !important;
}

.sidebar-menu>li>a>i,
.sidebar-menu>li>a i.fa {
  width: 20px !important;
  font-size: 15px !important;
  text-align: center !important;
  color: #00c0ef !important;
  transition: all 0.2s ease;
}

.sidebar-menu>li>a>span {
  color: #cbd5e1 !important;
  font-weight: 700 !important;
}

/* Hover States */
.sidebar-menu>li:hover>a {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
}

.sidebar-menu>li:hover>a span {
  color: #ffffff !important;
}

/* Active States (Vibrant Cyan Capsule Pill) */
.sidebar-menu>li.active>a,
.sidebar-menu>li.active>a:hover,
.sidebar-menu>li.active>a:focus,
.sidebar-menu .treeview-menu>li.active>a {
  background: linear-gradient(135deg, #00c0ef 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(0, 192, 239, 0.35) !important;
}

.sidebar-menu>li.active>a>i,
.sidebar-menu>li.active>a>span,
.sidebar-menu .treeview-menu>li.active>a>i,
.sidebar-menu .treeview-menu>li.active>a>span {
  color: #ffffff !important;
  font-weight: 800 !important;
}

/* Submenu / Treeview Container */
.sidebar-menu .treeview-menu {
  background-color: rgba(0, 0, 0, 0.25) !important;
  padding: 6px 0 6px 12px !important;
  margin: 4px 0 6px 12px !important;
  border-left: 2px solid #00c0ef !important;
  border-radius: 8px !important;
}

.sidebar-menu .treeview-menu>li {
  margin: 2px 4px !important;
  border-radius: 6px !important;
  overflow: hidden;
  transition: all 0.15s ease;
}

.sidebar-menu .treeview-menu>li>a {
  padding: 6px 10px !important;
  color: #cbd5e1 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  background: transparent !important;
  transition: all 0.15s ease;
  border-radius: 6px !important;
}

.sidebar-menu .treeview-menu>li>a span {
  color: #cbd5e1 !important;
  font-weight: 700 !important;
}

.sidebar-menu .treeview-menu>li>a>i,
.sidebar-menu .treeview-menu>li>a i.fa {
  font-size: 12px !important;
  color: #00c0ef !important;
}

.sidebar-menu .treeview-menu>li:hover>a {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
}

.sidebar-menu .treeview-menu>li:hover>a span {
  color: #ffffff !important;
}

/* Brand Logo & Top Header Styling - Matching Dark Sidebar */
.main-header .logo {
  background-color: #0f172a !important;
  border-bottom: 1px solid #1e293b !important;
  border-right: 1px solid #1e293b !important;
  font-family: inherit !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
  color: #ffffff !important;
}

.main-header .navbar {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.main-header .navbar .sidebar-toggle {
  color: #475569 !important;
}

.main-header .navbar .sidebar-toggle:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

.navbar-custom-menu .nav>li>a {
  color: #475569 !important;
}

.navbar-custom-menu .nav>li>a:hover,
.navbar-custom-menu .nav>li>a:focus {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

.navbar-custom-menu .nav .open>a,
.navbar-custom-menu .nav .open>a:hover,
.navbar-custom-menu .nav .open>a:focus {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

.warning-title span {
  color: #ef4444 !important;
}

.scroll-main a {
  color: #475569 !important;
}

/* Sidebar scrollbar & independent scrolling styles */
@media (min-width: 768px) {
  body:not(.sidebar-collapse) .main-sidebar {
    position: fixed !important;
    height: 100vh !important;
  }

  body:not(.sidebar-collapse) .main-sidebar .sidebar {
    height: calc(100vh - 50px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
}

@media (max-width: 767px) {
  body.sidebar-open .main-sidebar {
    position: fixed !important;
    height: 100vh !important;
  }

  body.sidebar-open .main-sidebar .sidebar {
    height: calc(100vh - 100px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
}

/* Custom modern scrollbar styling for sidebar */
.main-sidebar .sidebar::-webkit-scrollbar {
  width: 6px;
}

.main-sidebar .sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.main-sidebar .sidebar::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 3px;
}

.main-sidebar .sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.5);
}

.main-sidebar .sidebar {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.3) transparent;
}

/* --------------------------------------------------------------------------
   COLLAPSED/SHRUNK SIDEBAR STYLING (AdminLTE .sidebar-collapse)
   -------------------------------------------------------------------------- */

/* Hide user panel in collapsed mode */
.sidebar-collapse .user-panel {
  display: none !important;
}

/* Reset list items to occupy full width and prevent clipping */
.sidebar-collapse .sidebar-menu>li {
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  border-left: 3px solid transparent !important;
}

/* Hide span text and arrow container by default inside collapsed sidebar items */
.sidebar-collapse .sidebar-menu>li>a>span {
  display: none !important;
}

.sidebar-collapse .sidebar-menu>li>a>.pull-right-container {
  display: none !important;
}

/* Center icons in collapsed mode */
.sidebar-collapse .sidebar-menu>li>a {
  padding: 12px 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0 !important;
}

.sidebar-collapse .sidebar-menu>li>a>i {
  margin: 0 !important;
  width: auto !important;
  font-size: 18px !important;
  text-align: center !important;
}



/* --------------------------------------------------------------------------
   FIXED TOPBAR HEADER STYLING
   -------------------------------------------------------------------------- */

/* Fix the top header position at the top of the viewport */
body:not(.in-iframe) .main-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1030 !important;
}

/* Add top padding to the content wrapper to push it below the fixed header */
@media (min-width: 768px) {
  body:not(.in-iframe) .content-wrapper {
    padding-top: 50px !important;
  }
}

@media (max-width: 767px) {
  body:not(.in-iframe) .content-wrapper {
    padding-top: 100px !important;
    /* Mobile stacked header height */
  }
}

/* Natural Table & Container Layout (No trapped iframe-like sub-scrollbars) */
#myTable .table-container {
  max-height: none !important;
}

/* --------------------------------------------------------------------------
   PREMIUM TOPBAR NAVBAR ALIGNMENT & PADDING
   -------------------------------------------------------------------------- */

/* Center navbar elements vertically and add horizontal padding */
.main-header .navbar {
  height: 50px !important;
}

/* Style the sidebar toggle button as a modern rounded action button */
.main-header .sidebar-toggle {
  float: left !important;
  padding: 0 !important;
  height: 36px !important;
  width: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  margin: 7px 15px !important;
  /* Vertically centers: (50 - 36) / 2 = 7px */
  background-color: transparent !important;
  color: #475569 !important;
  transition: all 0.2s ease !important;
}

.main-header .sidebar-toggle:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

/* Format the language dropdown select tag */
.main-header .changeLang {
  height: 32px !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  background-color: #ffffff !important;
  margin: 9px 10px 0 10px !important;
  /* Vertically centers: (50 - 32) / 2 = 9px */
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  float: left !important;
}

.main-header .changeLang:hover {
  border-color: #94a3b8 !important;
}

.main-header .changeLang:focus {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
}

/* User account menu customization */
.main-header .navbar-custom-menu .navbar-nav>li.user-menu>a {
  padding: 6px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-radius: 8px !important;
  background-color: transparent !important;
  color: #475569 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: all 0.2s ease !important;
  height: 36px !important;
  margin: 7px 15px 7px 0 !important;
  /* Vertically centers: (50 - 36) / 2 = 7px */
}

.main-header .navbar-custom-menu .navbar-nav>li.user-menu>a:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

.main-header .navbar-custom-menu .navbar-nav>li.user-menu>a img {
  margin: 0 !important;
  width: 24px !important;
  height: 24px !important;
}

/* Fix double scrollbar issue - single clean browser scrollbar */
html {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
}

body {
  overflow-x: hidden !important;
  overflow-y: visible !important;
  height: auto !important;
  min-height: 100vh !important;
}

.wrapper,
.content-wrapper,
#app,
#spa-container {
  overflow-x: hidden !important;
  overflow-y: visible !important;
  height: auto !important;
  min-height: 100% !important;
}

/* Sleek, Modern Minimalist Scrollbar System */
::-webkit-scrollbar {
  width: 8px !important;
  height: 8px !important;
}

::-webkit-scrollbar-track {
  background: #f1f5f9 !important;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1 !important;
  border-radius: 4px !important;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8 !important;
}

/* POS Sales Create Page Overrides */
body.sale-create-active {
  overflow: hidden !important;
  height: 100vh !important;
}

body.sale-create-active .box-header,
body.sale-create-active .main-footer {
  display: none !important;
}

body.sale-create-active .wrapper,
body.sale-create-active .content-wrapper,
body.sale-create-active .content,
body.sale-create-active #app {
  overflow: hidden !important;
  height: calc(100vh - 50px) !important;
  min-height: 0px !important;
}

body.sale-create-active #salepage {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  margin-bottom: 0px !important;
}

body.sale-create-active #myTable {
  display: block !important;
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 5px 0px !important;
}

body.sale-create-active #myTable tbody {
  display: block !important;
  height: calc(100vh - 510px) !important;
  min-height: 220px !important;
  /* Enough height to show 4 products */
  overflow-y: auto !important;
}

body.sale-create-active #myTable thead,
body.sale-create-active #myTable tbody tr,
body.sale-create-active #myTable tfoot {
  display: table !important;
  width: 100% !important;
  table-layout: fixed !important;
}

@media (max-height: 720px) {
  body.sale-create-active #salepage {
    zoom: 0.76 !important;
  }

  body.sale-create-active #myTable tbody {
    height: calc(100vh * 1.3 - 560px) !important;
    min-height: 200px !important;
  }
}

/* ==========================================================================
   GLOBAL STANDARD RESPONSIVE TYPOGRAPHY & READABILITY SYSTEM
   ========================================================================== */

/* 1. Global Box Headers, Titles, and Banners */
.box-header,
.box > .box-header {
  padding: 4px 15px 12px 15px !important;
  margin-bottom: 20px !important;
  position: relative !important;
}

.box-title,
.box-header .box-title,
.box-header > .box-title,
h1.box-title,
h2.box-title,
h3.box-title,
h4.box-title,
.card-title,
.panel-title {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  letter-spacing: 0.35px !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.box-header .box-title > i,
.box-title > i {
  margin-right: 6px !important;
  font-size: 14px !important;
}

/* Primary Gradient Banner Component */
.primarybanner {
  background: linear-gradient(135deg, #00c0ef 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  padding: 6px 22px !important;
  border-radius: 20px !important;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.22) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 auto 18px auto !important;
}

.primarybanner .section-title,
.primarybanner h1,
.primarybanner h2,
.primarybanner h3,
.primarybanner h4 {
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  color: #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  line-height: 1.3 !important;
  display: inline-block !important;
}

.primarybanner .section-title i,
.primarybanner i {
  margin-right: 6px !important;
  font-size: 13.5px !important;
}

/* 2. Universal Input & Form Field Labels */
label,
label[style],
label[style*="font-size"],
.control-label,
.control-label[style],
.form-group label,
.form-group label[style],
label.text-bold,
label.text-uppercase,
.panel-section label,
.box-body label,
.modal-body label,
.filter-section label,
.form-label,
.col-form-label,
[class*="col-"] > label,
.input-label,
.custom-label {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  letter-spacing: 0.25px !important;
  margin-bottom: 4px !important;
  line-height: 1.35 !important;
  display: inline-block !important;
}

/* 3. Form Controls, Inputs, Selects, & Dropdowns */
.form-control,
input.form-control,
select.form-control,
textarea.form-control,
.custom-input,
.v-select .vs__search,
.v-select .vs__selected,
.input-group-addon,
.input-group-btn .btn {
  font-size: 12.5px !important;
  color: #0f172a !important;
}

.form-control:not(textarea),
input.form-control,
select.form-control,
.custom-input {
  height: 35px !important;
  padding: 6px 10px !important;
  line-height: 1.4 !important;
  border-radius: 6px !important;
}

.input-group-addon {
  padding: 6px 10px !important;
  font-size: 12.5px !important;
  border-radius: 6px !important;
}

/* ==========================================================================
   VUE-MULTISELECT & VUE-SELECT COMPREHENSIVE STYLING
   ========================================================================== */

/* Fix vertical line artifact on multiselect input */
.multiselect__input,
input.multiselect__input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 0 0 4px !important;
  margin: 0 !important;
  height: auto !important;
  min-height: 24px !important;
  line-height: 24px !important;
  font-size: 12.5px !important;
  color: #0f172a !important;
}

.multiselect__single {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding-left: 4px !important;
  margin-bottom: 0 !important;
  font-size: 12.5px !important;
  color: #0f172a !important;
  line-height: 24px !important;
}

.multiselect__placeholder {
  color: #94a3b8 !important;
  display: inline-block !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  font-size: 12.5px !important;
  line-height: 24px !important;
}

.multiselect__tags {
  min-height: 36px !important;
  display: block !important;
  padding: 5px 40px 0 8px !important;
  border-radius: 6px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
}

/* Multiselect Dropdown Options & Suggestions */
.multiselect__content-wrapper {
  border: 1px solid #e2e8f0 !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;
  z-index: 999999 !important;
}

.multiselect__option {
  padding: 8px 12px !important;
  font-size: 12.5px !important;
  color: #334155 !important;
  line-height: 1.4 !important;
  min-height: 36px !important;
}

/* Highlighted / Hovered / Active Suggestions: PURE WHITE TEXT */
.multiselect__option--highlight,
.multiselect__option--highlight:after {
  background: #0284c7 !important;
  color: #ffffff !important;
}

.multiselect__option--highlight span,
.multiselect__option--highlight strong,
.multiselect__option--highlight div {
  color: #ffffff !important;
}

/* Selected item styling */
.multiselect__option--selected {
  background: #f1f5f9 !important;
  color: #0284c7 !important;
  font-weight: 600 !important;
}

.multiselect__option--selected.multiselect__option--highlight,
.multiselect__option--selected.multiselect__option--highlight:after {
  background: #e11d48 !important;
  color: #ffffff !important;
}

.multiselect__option--selected.multiselect__option--highlight span {
  color: #ffffff !important;
}

/* Vue-Select (v-select) Highlight & Option Styling */
.v-select .vs__dropdown-option {
  color: #334155 !important;
  padding: 6px 12px !important;
  font-size: 12.5px !important;
}

.v-select .vs__dropdown-option--highlight,
.v-select .vs__dropdown-option--highlight * {
  background: #0284c7 !important;
  color: #ffffff !important;
}

.v-select .vs__search,
.v-select input[type="search"] {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* 4. Table Typography & Density */
.table > thead > tr > th,
.table > thead > tr > td,
table.dataTable thead th,
.table-bordered > thead > tr > th,
.table-striped > thead > tr > th,
.modern-table thead th,
.modern-table th,
table th,
th {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.35px !important;
  padding: 8px 10px !important;
  color: #ffffff !important;
  vertical-align: middle !important;
}

.table > thead > tr > th a,
.table > thead > tr > th i,
.table > thead > tr > th span,
.table > thead > tr > th label,
.table > thead > tr > th div,
table.dataTable thead th a,
table.dataTable thead th i,
table.dataTable thead th span,
.modern-table th a,
.modern-table th i,
.modern-table th span,
.modern-table th label,
.modern-table th div,
th a,
th i,
th span,
th label,
th div {
  color: #ffffff !important;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr:not([style*="background"]) > td,
.table > tfoot > tr:not([style*="background"]) > th,
.table-bordered > tbody > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr:not([style*="background"]) > td,
.table-bordered > tfoot > tr:not([style*="background"]) > th,
.modern-table tbody td,
table td,
td {
  font-size: 12px !important;
  color: #1e293b !important;
  padding: 7px 10px !important;
  vertical-align: middle !important;
}

/* Styled Table Footer Rows */
.table > tfoot > tr[style*="background"] > th,
.table > tfoot > tr[style*="background"] > td,
.table > tfoot > tr[style*="background"] strong,
.table > tfoot > tr[style*="background"] span,
tfoot > tr[style*="background"] > th,
tfoot > tr[style*="background"] > td,
tfoot > tr[style*="background"] strong,
tfoot > tr[style*="background"] span {
  color: #ffffff !important;
  background: #0284c7 !important;
  vertical-align: middle !important;
}

.table input,
.table select,
.table textarea,
.table .form-control {
  font-size: 12px !important;
  height: 30px !important;
  padding: 3px 6px !important;
}

.table .btn,
.table button,
.table a.btn,
.btn-action-custom {
  font-size: 11.5px !important;
  padding: 3px 8px !important;
  line-height: 1.35 !important;
}

/* 5. General Buttons & Badges */
.btn:not(.table .btn) {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
}

.btn-xs {
  font-size: 11px !important;
  padding: 2px 6px !important;
}

.btn-sm {
  font-size: 12px !important;
  padding: 4px 10px !important;
}

.btn-lg {
  font-size: 14px !important;
  padding: 8px 18px !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Large Screens, Laptop Monitors, Tablets & Mobile)
   ========================================================================== */

/* Large Desktop Monitors (1400px and up) */
@media (min-width: 1400px) {
  .box-title,
  .box-header .box-title,
  .box-header > .box-title,
  h1.box-title,
  h2.box-title,
  h3.box-title,
  h4.box-title,
  .card-title,
  .panel-title {
    font-size: 15.5px !important;
  }

  .primarybanner {
    padding: 7px 26px !important;
    margin: 0 auto 22px auto !important;
  }

  .primarybanner .section-title,
  .primarybanner h1,
  .primarybanner h2,
  .primarybanner h3,
  .primarybanner h4 {
    font-size: 15px !important;
  }

  label,
  .control-label,
  .form-group label,
  label.text-bold,
  label.text-uppercase,
  .panel-section label,
  .box-body label,
  .modal-body label,
  .filter-section label,
  .form-label,
  .col-form-label,
  [class*="col-"] > label,
  .input-label,
  .custom-label {
    font-size: 13px !important;
  }

  .form-control,
  input.form-control,
  select.form-control,
  textarea.form-control,
  .custom-input,
  .v-select .vs__search,
  .v-select .vs__selected,
  .v-select .vs__dropdown-option,
  .multiselect__single,
  .multiselect__input,
  .multiselect__option,
  .input-group-addon,
  .input-group-btn .btn {
    font-size: 13px !important;
  }

  .table > thead > tr > th,
  table.dataTable thead th,
  th {
    font-size: 13px !important;
    padding: 9px 12px !important;
  }

  .table > tbody > tr > td,
  table td,
  td {
    font-size: 12.5px !important;
    padding: 8px 12px !important;
  }
}

/* Medium & Small Laptops / Screens (1024px to 1399px) */
@media (min-width: 1024px) and (max-width: 1399px) {
  .box-title,
  .box-header .box-title,
  .box-header > .box-title,
  h1.box-title,
  h2.box-title,
  h3.box-title,
  h4.box-title {
    font-size: 14px !important;
  }

  .primarybanner {
    padding: 5px 20px !important;
    margin: 0 auto 18px auto !important;
  }

  .primarybanner .section-title,
  .primarybanner h1,
  .primarybanner h2,
  .primarybanner h3,
  .primarybanner h4 {
    font-size: 13.5px !important;
  }

  label,
  .control-label,
  .form-group label,
  label.text-bold,
  label.text-uppercase,
  .panel-section label,
  .box-body label,
  .modal-body label,
  .filter-section label {
    font-size: 12px !important;
  }

  .form-control,
  input.form-control,
  select.form-control,
  textarea.form-control,
  .custom-input {
    font-size: 12px !important;
    height: 33px !important;
  }

  .table > thead > tr > th,
  th {
    font-size: 12px !important;
    padding: 7px 8px !important;
  }

  .table > tbody > tr > td,
  td {
    font-size: 11.5px !important;
    padding: 6px 8px !important;
  }
}

/* Tablets & Mobile Screens (under 768px) */
@media (max-width: 767px) {
  .box-title,
  .box-header .box-title,
  .box-header > .box-title,
  h1.box-title,
  h2.box-title,
  h3.box-title,
  h4.box-title {
    font-size: 13.5px !important;
  }

  .primarybanner {
    padding: 5px 16px !important;
    border-radius: 14px !important;
    margin: 0 auto 14px auto !important;
  }

  .primarybanner .section-title,
  .primarybanner h1,
  .primarybanner h2,
  .primarybanner h3,
  .primarybanner h4 {
    font-size: 12.5px !important;
  }

  label,
  .control-label,
  .form-group label,
  label.text-bold,
  label.text-uppercase {
    font-size: 11.5px !important;
  }

  .form-control,
  input.form-control,
  select.form-control,
  textarea.form-control,
  .custom-input {
    font-size: 12px !important;
    height: 34px !important;
  }
}

/* ==========================================================================
   GLOBAL COMPACT & SLEEK LOADER MODAL SYSTEM
   ========================================================================== */

.modern-loader-overlay,
.dashboard-loader-overlay,
.payment-loader-overlay,
.loader-overlay,
.fullpage-loader-overlay,
.report-loader-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.4) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
}

.loader-card {
  background: #ffffff !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  padding: 18px 28px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-width: 180px !important;
  max-width: 280px !important;
}

.loader-title,
.loader-card h3.loader-title,
.loader-card h4.loader-title,
.loader-card .loader-title {
  margin: 4px 0 0 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  text-transform: none !important;
  letter-spacing: 0.2px !important;
  line-height: 1.3 !important;
}

.loader-subtitle,
.loader-card p.loader-subtitle,
.loader-card .loader-subtitle {
  margin: 0 !important;
  font-size: 11px !important;
  color: #64748b !important;
  text-transform: none !important;
  letter-spacing: 0.1px !important;
  line-height: 1.3 !important;
}

@media (max-width: 768px) {
  .loader-card {
    padding: 14px 20px !important;
    min-width: 160px !important;
    border-radius: 10px !important;
    gap: 4px !important;
  }
  .loader-title,
  .loader-card h3.loader-title,
  .loader-card h4.loader-title {
    font-size: 12px !important;
  }
  .loader-subtitle,
  .loader-card p.loader-subtitle {
    font-size: 10.5px !important;
  }
}

/* ==========================================================================
   SALES CREATION PAGE FULL-HEIGHT & OPTIMIZED TABLE DENSITY
   ========================================================================== */
#salepage {
  min-height: calc(100vh - 50px) !important;
  height: calc(100vh - 50px) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

#myTable {
  display: block !important;
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 2px 0 0 0 !important;
}

#myTable thead {
  display: table !important;
  width: 100% !important;
  table-layout: fixed !important;
}

#myTable tbody {
  display: block !important;
  height: calc(100vh - 235px) !important;
  min-height: 400px !important;
  overflow-y: auto !important;
}

#myTable tbody tr {
  display: table !important;
  width: 100% !important;
  table-layout: fixed !important;
}

#myTable tfoot {
  display: table !important;
  width: 100% !important;
  table-layout: fixed !important;
}

#myTable thead tr th, #myTable th {
  background: rgb(60, 141, 188) !important;
  color: #ffffff !important;
  border-color: #3c8dbc !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 6px 4px !important;
}

#myTable tbody tr td {
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 4px 6px !important;
  vertical-align: middle !important;
}

#myTable tbody tr td input {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  height: 30px !important;
  padding: 2px 6px !important;
}

#myTable tfoot tr td {
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: #333333 !important;
  border-color: #3c8dbc !important;
  padding: 3px 6px !important;
  font-size: 13px !important;
}

#myTable tfoot tr td input {
  font-size: 13px !important;
  font-weight: 700 !important;
  height: 28px !important;
  padding: 2px 6px !important;
}

#myTable tfoot tr:last-child,
#myTable tfoot tr:last-child td {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 4px 6px 4px 6px !important;
}

#myTable tfoot tr:last-child .btn-primary {
  height: 32px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 4px 14px !important;
  border-radius: 6px !important;
}