body {
  margin: 0;
  font-family: "Commissioner";
}

.row {
  --bs-gutter-x: 0 !important;
}
@media (min-width: 768px) {
  .row {
    --bs-gutter-x: 1.5rem !important;
  }
}

.ws-nowrap {
  white-space: nowrap;
}

.pagination-custom > nav > .pagination {
  float: right;
}

.search-results {
  display: none;
  position: absolute;
  background: #fff;
  top: 125px;
  z-index: 100;
  border: 1px solid #f5f5f5;
  border-radius: 10px;
  left: 27px;
  right: 27px;
}
.search-results a {
  display: block;
  padding: 10px 10px;
  font-size: 1.2rem;
  color: #181C32;
  border-bottom: 1px solid #f5f5f5;
}

.disable {
  pointer-events: none;
  background: grey;
}

.border-radius-10 {
  border-radius: 10px;
}

.generated-document-a4 {
  margin: auto;
  width: 21cm;
  padding: 40px;
}
.generated-document-a4 .document-separator {
  border-bottom: 1px solid #cbcbcb;
  display: block;
}

.generated-document-a3 {
  margin: auto;
  width: 29.7cm;
  padding: 40px;
}
.generated-document-a3 .document-separator {
  border-bottom: 1px solid #cbcbcb;
  display: block;
}

.generated-document-80mm {
  margin: auto;
  width: 80mm;
}
.generated-document-80mm .document-separator {
  border-bottom: 1px solid #cbcbcb;
  display: block;
}

.generated-document-57mm {
  margin: auto;
  width: 57mm;
}
.generated-document-57mm .document-separator {
  border-bottom: 1px solid #cbcbcb;
  display: block;
}

.generated-document-112mm {
  margin: auto;
  width: 112mm;
  padding: 40px;
}
.generated-document-112mm .document-separator {
  border-bottom: 1px solid #cbcbcb;
  display: block;
}

.document-display-frame {
  border-radius: 1rem;
  height: 800px;
  width: 210mm;
  margin: 2.5rem 0 0 0;
  overflow-x: auto !important;
}
@media (min-width: 768px) {
  .document-display-frame {
    height: 1000px;
    width: 800px;
    margin: 2.5rem 0 0 1.5rem;
    overflow-x: auto !important;
  }
}

.document-display-outer-frame {
  padding: 10px;
  background: #393939;
  display: inline-block;
}

.toastr.toastr-warning {
  opacity: 1 !important;
}

.loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(153, 153, 153, 0.3);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2147483647;
}

.full-page-loader {
  position: fixed;
}

.border-radius-0 {
  border-radius: 0 !important;
}

.simple-document-content {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.simple-document-footer {
  position: sticky;
  bottom: 10px;
  left: 0;
  background: #F5F8FA;
  padding: 10px;
  border: 2px solid #20D489;
  box-shadow: 1px -6px 22px -19px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 1px -6px 22px -19px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 1px -6px 22px -19px rgba(0, 0, 0, 0.75);
  margin: 10px 0px;
  border-radius: 10px;
}

.border-radius-left-10 {
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
}

.product-item-simple {
  display: block;
  padding: 10px 5px;
  border: 1px solid #E4E6EF;
  margin: 5px 0 0 0;
  border-radius: 10px;
  color: #3F4254;
}

.tiny-btn {
  width: 40px !important;
  height: 100% !important;
}

.bg-light-secondary {
  background: #F5F8FA;
}

.text-right {
  text-align: right;
}

.error-box {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 999999;
}

.alert-box {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 999999;
}

.form-input-icon-button {
  padding: 0 15px !important;
}

.p-1px {
  padding: 1px;
}

/* For WebKit-based browsers (Chrome, Safari, etc.) */
/* Hide the vertical scrollbar */
.no-scroll-bar::-webkit-scrollbar {
  width: 0.1em; /* You can adjust this value to control scrollbar width */
}

.no-scroll-bar::-webkit-scrollbar-track {
  background-color: transparent; /* Hide the scrollbar track */
}

.no-scroll-bar::-webkit-scrollbar-thumb {
  background-color: transparent; /* Hide the scrollbar thumb */
}

/* For Firefox */
/* Hide the vertical scrollbar */
.no-scroll-bar {
  scrollbar-width: none;
}

/* Hide the horizontal scrollbar */
.no-scroll-bar {
  scrollbar-width: none;
}

.strikethrough {
  text-decoration: line-through;
}

.font-size-9px {
  font-size: 9px;
}

.font-size-10px {
  font-size: 10px;
}

.cursor-pointer {
  cursor: pointer;
}

.scrollable-frame {
  display: flow;
  height: 720px;
  overflow-y: auto;
  overflow-x: hidden;
  margin-top: 10px;
  background-color: #f9f9f9;
}

.custom-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  /* Ensures borders do not double up */
  /* Ensures even column distribution */
}

.custom-table th,
.custom-table td {
  border: 1px solid #ddd;
  /* Sets grid lines */
  padding: 8px;
  /* Adds spacing inside cells */
  text-align: left;
}

.empty-row td {
  height: 40px;
  /* Adjust to match row height */
  visibility: hidden;
  /* Keeps structure but hides the row */
}

.custom-padding-td {
  padding: 0.25rem 0.75rem !important;
}

.products-table th {
  text-align: center;
}
