.custom-template {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: -325px;
  width: 325px;
  height: max-content;
  display: block;
  z-index: 1;
  background: #ffffff;
  transition: all 0.3s;
  z-index: 1003;
  box-shadow: -1px 1px 20px rgba(69, 65, 78, 0.15);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  transition: all 0.5s;
}

.custom-template.open {
  right: 0px;
}

.custom-template .custom-toggle {
  position: absolute;
  width: 45px;
  height: 45px;
  background: rgb(88, 103, 221);
  top: 50%;
  left: -45px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-right: 1px solid #177dff;
  cursor: pointer;
  color: #ffffff;
  box-shadow: -5px 5px 20px rgba(69, 65, 78, 0.21);
}

.custom-template .custom-toggle i {
  font-size: 20px;
  animation: 1.3s spin linear infinite;
}

.custom-template .title {
  padding: 15px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  border-top-left-radius: 5px;
  border-bottom: 1px solid #ebedf2;
  background: #5867dd;
}

.custom-template .custom-content {
  padding: 20px 15px;
  max-height: calc(100vh - 90px);
  overflow: auto;
}

.custom-template .switcher {
  padding: 5px 0;
}

.custom-template .switch-block h4 {
  font-size: 13px;
  font-weight: 600;
  color: #444;
  line-height: 1.3;
  margin-bottom: 0;
  text-transform: uppercase;
}

.custom-template .btnSwitch {
  margin-top: 20px;
  margin-bottom: 25px;
}

.custom-template .btnSwitch button {
  border: 0px;
  height: 20px;
  width: 20px;
  outline: 0;
  margin-right: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #eee;
  position: relative;
  transition: all 0.2s;
}

.custom-template .btnSwitch button:hover {
  border-color: #0bf;
}

.custom-template .btnSwitch button.selected {
  border-color: #0bf;
}

.custom-template .img-pick {
  padding: 4px;
  min-height: 100px;
  border-radius: 5px;
  cursor: pointer;
}

.custom-template .img-pick img {
  height: 100%;
  height: 100px;
  width: 100%;
  border-radius: 5px;
  border: 2px solid transparent;
}

.custom-template .img-pick:hover img,
.custom-template .img-pick.active img {
  border-color: #177dff;
}

.demo .btn,
.demo .progress {
  margin-bottom: 15px !important;
}

.demo .form-check-label,
.demo .form-radio-label {
  margin-right: 15px;
}

.demo .toggle,
.demo .btn-group {
  margin-right: 15px;
}

.demo #slider {
  margin-bottom: 15px;
}

.table-typo tbody>tr>td {
  border-color: #fafafa;
}

.table-typo tbody>tr>td:first-child {
  min-width: 200px;
  vertical-align: bottom;
}

.table-typo tbody>tr>td:first-child p {
  font-size: 14px;
  color: #333;
}

.demo-icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px;
  transition: all 0.2s;
}

.demo-icon:hover {
  background-color: #f4f5f8;
  border-radius: 3px;
}

.demo-icon .icon-preview {
  font-size: 1.8rem;
  margin-right: 10px;
  line-height: 1;
  color: #333439;
}

body[data-background-color="dark"] .demo-icon .icon-preview {
  color: #969696;
}

.demo-icon .icon-class {
  font-weight: 300;
  font-size: 13px;
  color: #777;
}

body[data-background-color="dark"] .demo-icon .icon-class {
  color: #a9a8a8;
}

.form-show-notify .form-control {
  margin-bottom: 15px;
}

success .form-show-notify label {
  padding-top: 0.65rem;
}

.map-demo {
  height: 300px;
}

#instructions li {
  padding: 5px 0;
}

.row-demo-grid {
  margin-bottom: 15px;
}

.row-demo-grid [class^="col"] {
  text-align: center;
}

.row-demo-grid [class^="col"] .card-body {
  background: #ddd;
}

.btnSwitch button[data-color="white"] {
  background-color: #fff;
}

.btnSwitch button[data-color="grey"] {
  background-color: #f1f1f1;
}

.btnSwitch button[data-color="black"] {
  background-color: #191919;
}

.btnSwitch button[data-color="dark"] {
  background-color: #1a2035;
}

.btnSwitch button[data-color="blue"] {
  background-color: #1572e8;
}

.btnSwitch button[data-color="purple"] {
  background-color: #6861ce;
}

.btnSwitch button[data-color="light-blue"] {
  background-color: #48abf7;
}

.btnSwitch button[data-color="green"] {
  background-color: #31ce36;
}

.btnSwitch button[data-color="orange"] {
  background-color: #ffad46;
}

.btnSwitch button[data-color="red"] {
  background-color: #f25961;
}

.btnSwitch button[data-color="dark2"] {
  background-color: #1f283e;
}

.btnSwitch button[data-color="blue2"] {
  background-color: #1269db;
}

.btnSwitch button[data-color="purple2"] {
  background-color: #5c55bf;
}

.btnSwitch button[data-color="light-blue2"] {
  background-color: #3697e1;
}

.btnSwitch button[data-color="green2"] {
  background-color: #2bb930;
}

.btnSwitch button[data-color="orange2"] {
  background-color: #ff9e27;
}

.btnSwitch button[data-color="red2"] {
  background-color: #ea4d56;
}

.btnSwitch button[data-color="bg1"] {
  background-color: #fafafa;
}

.btnSwitch button[data-color="bg2"] {
  background-color: #fff;
}

.btnSwitch button[data-color="bg3"] {
  background-color: #f1f1f1;
}

@media screen and (max-width: 550px) {
  .table-typo tr td {
    display: flex;
    align-items: center;
    word-break: break-word;
  }

  .table-typo tr td:first-child p {
    margin-bottom: 0px;
  }
}

@media screen and (max-width: 576px) {
  .custom-template .custom-content {
    overflow: auto;
  }

  .form-show-notify>.text-right,
  .form-show-validation>.text-right {
    text-align: left !important;
  }
}

@media screen and (max-width: 400px) {
  .custom-template {
    width: 85% !important;
    right: -85%;
  }
}

/* My CSS starts here */

.avatar-logo {

  height: 5rem;
  background-color: #fff;
  padding: 0.3rem;
}

.form-control:disabled {
  color: blue;
}

.inline-form-group {
  display: flex;
  justify-content: space-between;
  margin-left: 1rem;
  margin-right: 1rem;
}

.space-between-div {
  display: flex;
  justify-content: space-between;
}

.space-between-div>a.action-icon {
  padding-left: 0.3rem;
  padding-right: 0.3rem;
}

.centered-div {
  margin-left: auto;
  margin-right: auto;
}

.icon-active {
  color: green;
}

.error-item {
  color: #b94a48;
  list-style-type: none;
  font-weight: bold;
}

.details-listing li {
  font-size: 1rem !important;
}

.task-execution-remark {
  color: rgba(106, 207, 247, 1);
  font-weight: bold;
}

.red-icon {
  color: red;
}

.yellow-icon {
  color: rgb(212, 227, 0);
}

.orange-icon {
  color: orange;
}

.green-icon {
  color: green;
}

.white-icon {
  color: white;
}

.red-shaded-tr {
  background: rgba(227, 113, 113, 0.3) !important;
}

.orange-shaded-tr {
  background: rgba(227, 155, 113, 0.3) !important;
}

.green-shaded-tr {
  background: rgba(46, 204, 113, 0.3) !important;
}

#bulkUploadModalBtn {
  color: white !important;
}

#bulkUploadModalBtn:not(:disabled):not(.disabled):hover {
  color: white !important;
}

.modal-general {
  background-color: #202940;
}

.modal-close-btn {
  color: white;
}

.task-execution-modal-content {
  width: 30rem;
}

.task-execution-modal-table {
  /* width: 100% !important; */
}

.task-execution-table-location-header {
  padding: 1rem !important;
  font-size: 0.75rem !important;
}

.task-execution-table-other-header {
  padding: 1rem !important;
  font-size: 0.75rem !important;
}

.task-execution-table-location-data {
  padding: 1rem !important;
  font-size: 0.75rem !important;
}

.task-execution-table-other-data {
  padding: 1rem !important;
  font-size: 0.75rem !important;
}

.task-execution-modal-table-quantity-input {
  width: 100%;
  font-size: 0.8rem !important;
  background-color: white;
}

.task-execution-modal-table-new-location-input {
  font-size: 0.75rem;
}

@media screen and (max-width: 600px) {
  .task-execution-modal-content {
    width: 20rem;
  }

  .task-execution-modal-table {
    /* width: 15rem !important; */
  }

  .task-execution-table-location-header {
    width: 5rem;
    padding: 0.2rem !important;
    font-size: 0.75rem !important;
  }

  .task-execution-table-other-header {
    width: 3rem;
    padding: 0.2rem !important;
    font-size: 0.75rem !important;
  }

  .task-execution-table-location-data {
    width: 5rem;
    padding: 0.2rem !important;
    font-size: 0.75rem !important;
  }

  .task-execution-table-other-data {
    width: 3rem;
    padding: 0.2rem !important;
    font-size: 0.75rem !important;
  }

  .task-execution-modal-table-quantity-input {
    width: 100%;
    font-size: 0.5rem;
  }

  .task-execution-modal-table-new-location-input {
    font-size: 0.75rem;
  }

  .mobile-btn {
    width: 8rem;
    padding: 8px;
  }

  /* Mobile view for table, inbound-table in Inbound Task */

  .remove-table-js {
    display: none !important;
  }

  /* Force table to not be like tables anymore */
  .inbound-table,
  .inbound-table-thead,
  .inbound-table-tbody,
  .inbound-table-th,
  .inbound-table-td,
  .inbound-table-tr,
  .inbound-modal-table,
  .inbound-modal-table-thead,
  .inbound-modal-table-tbody,
  .inbound-modal-table-th,
  .inbound-modal-table-td,
  .inbound-modal-table-tr {
    display: block;
  }

  .mobile-card {
    background-color: #303030;
    color: #F6F6F6;
    border-radius: 4px;
    padding: 2px;
  }

  .table .inbound-table-td,
  .inbound-modal-table {
    padding: 10px 10px 0px 0px !important;
    text-align: end;
  }

  .inbound-table-tr,
  .inbound-modal-table-tr {
    border: 2px solid rgb(116, 115, 115) !important;
    box-shadow: 1px 2px 2px 0px #212020;
  }

  .inbound-table-td,
  .inbound-modal-table-td {
    /* Behave like a "row" */
    border-bottom: 1px solid rgb(54, 54, 54);
    position: relative;
    padding-left: 50%;
  }

  .inbound-table-td:before,
  .inbound-modal-table-td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
  }

  /* Label the data */
  .inbound-table-td:nth-of-type(1):before {
    content: "Item";
  }

  .inbound-table-td:nth-of-type(2):before {
    content: "Identifier";
  }

  .inbound-table-td:nth-of-type(3):before {
    content: "Expected Quantity";
  }

  .inbound-table-td:nth-of-type(4):before {
    content: "Inbound Quantity";
  }

  .inbound-table-td:nth-of-type(5):before {
    content: "Status";
  }

  #executeTask {
    overflow: hidden;
  }
}

.loading,
.loading:before,
.loading:after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}

.loading {
  color: #ffffff;
  font-size: 10px;
  margin: 80px auto;
  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

.loading:before,
.loading:after {
  content: "";
  position: absolute;
  top: 0;
}

.loading:before {
  left: -3.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.loading:after {
  left: 3.5em;
}

/* THe label tag for fiber checkbox */
.label-container {
  display: block;
  position: relative;
  margin-bottom: 2rem;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hidding the default checkbox */
.label-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Styling the custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 10rem;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 5px;
}

/* Clicking the checkbox triggers the blue background */
.label-container input:checked~.checkmark {
  background-color: #2196f3;
}

/* The checkmark indicator */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* The checkmark indicator displays after clicking */
.label-container input:checked~.checkmark:after {
  display: block;
}

/* Styling the checkmark indicator */
.label-container .checkmark:after {
  left: 7px;
  top: 4px;
  height: 10px;
  width: 5px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* Adding color to the bottom border in modals for inbound and outbound */
.bottom-border-color-modal {
  border-bottom: 1px solid #707171;
}

/* Giving space between 2 elements in the modal headers */
.space-between-modal-headers {
  display: contents;
}

@-webkit-keyframes load7 {

  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }

  40% {
    box-shadow: 0 2.5em 0 0;
  }
}

@keyframes load7 {

  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }

  40% {
    box-shadow: 0 2.5em 0 0;
  }
}

.line-chart-summary-table {
  overflow-y: scroll;
  height: 30rem;
  display: block;
}

.search-input {
  box-sizing: border-box;
  width: 500px;
  background-position: 14px 12px;
  background-repeat: no-repeat;
  font-size: 16px;
  padding: 14px 20px 12px 5px;
  border: 5px solid #ddd;
}

.search-input:focus {
  outline: 4px solid #f2f2f2;
  border-color: #171313;
}

/* .search-results-content {
  max-height: 315px;
  position: absolute;
  background-color: #1A2035;
  min-width: 230px;
  overflow-y: scroll;
  border: none;
  z-index: 99999999999;
}

.search-results {
  position: absolute;
  width: 500px;
  margin: 0 auto 10px auto;
  padding: 10px;
  color: white;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  z-index: 9999999;
}

@media screen and (max-width: 600px) {
  .search-results {
    width: 100%;
    margin: 0 auto 10px auto;
    padding: 10px;
    color: white;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
      rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    z-index: 9999999;
  }
} */

.search-success {
  background-color: rgb(97, 62, 252);
  cursor: pointer;
}

.search-error {
  background-color: tomato;
}

#div_id_remember {
  margin-left: 20px;
}

#task-options-area {
  background-color: #0C458D;
  padding: 0;
}

#task-options-btn {
  width: 10rem;
  margin-top: 4px;
  background-color: white !important;
  color: #0C458D;
}

#remarks-btn {
  width: 278px;
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

#search-name-sku {
  width: 10rem;
  height: 36px
}

.justify-end {
  display: flex;
  justify-content: end;
}

#task-confirm-btn {
  width: 15rem;
  background-color: #1472E7 !important;
  color: white;
}

.gray-bottom-border {
  border: 1px solid rgba(181, 181, 181, 0.1) !important;
}

.orange-text {
  color: #F5A623;
}

.green-text {
  color: greenyellow;
}

#smallTest {
  padding: 0 0 0 1.5rem !important
}

.small-identifier-td-width {
  /* width: 1.5rem;
  max-width: 1.5rem; */
  width: 40%;
  max-width: 40%;
  font-size: 0.7rem !important;
}


.small-td-width {
  width: 30%;
  max-width: 30%;
  /* width: 0.8rem;
  max-width: 0.8rem; */
  font-size: 0.7rem !important;
  padding: 0.1rem !important;
}

.small-btn {
  padding: 0.3rem !important;
  font-size: 0.7rem !important;
}

.justify-center {
  display: flex;
  justify-content: center;
}

#ellipse-dropdown-area {
  padding: 1rem;
}

#task-options-area {
  padding: 1rem;
}

.standard-btn {
  width: 135px;
}

.drawingBuffer {
  display: none;
}

li.paginate_button>a.page-link {
  border-radius: 0px !important;
  border-color: #1A4A93 !important;
  background-color: transparent !important;
  color: #1472E7 !important;
}

li.paginate_button.active>a.page-link {
  border-radius: 0px !important;
  border-color: #1A4A93 !important;
  background-color: #1472E7 !important;
  color: white !important;
}

.product-manufacture-execute-formsset-row {
  background-color: #1B2D27;
  font-weight: bold !important;
}

.main-header,
.sidebar {
  z-index: 1;
}

.panel-header {
  z-index: 0;
  background-color: #2766C9;
}

.overlay {
  position: fixed;
  z-index: 999;
  height: 100vh;
  width: 100vw;
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.7);
}

#viewport,
#qr-reader {
  display: flex;
  align-items: center;
  justify-content: center;
}

#viewport>video {
  overflow: hidden;
  width: 450px;
}

.scanner-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

#qr-reader {
  overflow: hidden;
  width: 450px;
}

.full_modal-dialog {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  padding: 0 !important;
}

.full_modal-content {
  height: fit-content;
  min-height: 100% !important;
  width: 100% !important;
}

@media screen and (max-width:992px) {
  #magic-nav {
    display: none !important;
  }

}

@media screen and (min-width:992px) {
  #magic-side {
    display: none !important;
  }
}

@media screen and (max-width: 700px) {

  table.dataTable tr:not(.child) td,
  table.dataTable th {
    font-size: 15px !important;
  }
}

/*
@media screen and (min-width: 701px) {
  table.dataTable tr:not(.child) td,
  table.dataTable th {
    font-size: 17px !important;
  }
} */

.modal-fullscreen {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.modal-dialog-fullscreen {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
}

.modal-content-fullscreen {
  height: 100%;
  border: 0;
}

.modal-body-fullscreen {
  overflow-y: auto;
}

.hidden {
  display: none;
}

.responsive-button {
  display: flex;
  /* hide the button by default */
}

/* Show the button on small screens (up to 767px) */
@media (max-width: 767px) {
  .responsive-button {
    display: inline-block;
  }
}

/* Show the button on medium and large screens (768px and above) */
@media (min-width: 768px) {
  .responsive-button {
    display: none;

  }
}

.htmx-indicator{
  display:none;
}
.htmx-request .htmx-indicator{
  display:inline;
}
.htmx-request.htmx-indicator{
  display:inline;
}

/* #search-results-area .list-group-item {
  background-color: white !important;
  color: black !important;
  z-index: 9999999;
  border-radius: 5px;
} */

#search-results-area .list-group-item {
  background-color: white !important;
  color: black !important;
}

#search-results-area {
  position: absolute;
  z-index: 999999;
}

.search-results {
  max-height: 400px;
  overflow-y: auto;
  width: auto;
  padding: 0;
  margin: 0;
  border-radius: 5px;
}

@media screen and (max-width: 600px) {
  .search-results {
    max-height: 400px;
    overflow-y: auto;
    width: 100%;
    z-index: 999999;
    margin: 0 auto 10px auto;
    border-radius: 5px;
    z-index: 9999999;
  }
}

.modal-lg-80vw {
  max-width: 80vw;
}

.quill-wrapper {
  background: white;
  color: black;
}


#preview {
  gap: 0.75rem;
}

#preview img {
  max-height: 13.5rem;
}

.preview-image-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative !important;
  cursor: pointer;
}

.preview-image-card i {
  font-size: 20px;
  position: absolute;
  margin: 0.25rem 0.45rem;
  top: 0;
  right: 0;
}

.text-bg-success {
  background-color: #489a48 !important;
}

.text-bg-warning {
  background-color: #ea9400 !important;
}

.text-bg-danger {
  background-color: #c23a22 !important;
}

.sync-monitor {
  padding: 20px;
}

.error-message {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 14px;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 4px;
  max-height: 300px;
  overflow-y: auto;
}

.v-data-table {
  background: #fff;
}

.v-data-table .v-data-table__wrapper {
  min-height: 180px;
}

.v-btn {
  text-transform: none;
  letter-spacing: 0;
}

/* Ensure toast notifications appear above the card */
:global(.vue-toast-notification) {
  z-index: 3000 !important;
}