/* Right-aligned section inside the top navigation */
.topnav-right {
  float: right;
}

.cz-button {
  margin: 15px;
  display: flexbox;
  justify-content: space-around;
}

.cz-dashboard-card {
  margin: 10px;
}

.cz-form-label {
  justify-content: left;
}

.cz-form-inline {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -ms-flex-align: center;
  align-items: center;
  justify-content: left;
}

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

.cbutton {
  text-decoration: none;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: left;
  width: 200px;
}

.ibutton {
  text-decoration: none;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: left;
  width: 200px;
}

.abutton {
  text-decoration: none;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: left;
  width: 250px;
}

.grn-container {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.imtbutton {
  font-size: small;
  width: 155px;
  height: 43px;
  display: inline-flex;
  align-items: center;
}

.pbutton {
  font-size: smaller;
  font-weight: 500;
}

.ptbutton {
  width: 155px;
  height: 43px;
  font-size: smaller;
}

.ppbutton {
  text-decoration: none;
  height: 63px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
}

.learnmore {
  background-color: #2fa27b;
}

.learnmore:hover {
  background-color: #3fd5a3;
}

.ilearn {
  background-color: 2fa27b;
}

.ilearn:hover {
  background-color: 3fd5a3;
}

.alearn {
  background-color: 2fa27b;
}

.alearn:hover {
  background-color: 3fd5a3;
}

.table_row_bold {
  font-weight: bold;
  font-size: 18px;
}

hr {
  border-color: rgba(114, 114, 114, 0.763);
  margin-top: 0;
}

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

.my-custom-scrollbar {
  position: relative;
  height: 700px;
  overflow: auto;
}

.table-wrapper-scroll-y {
  display: block;
}

.prod {
  display: flexbox;
  justify-content: space-between;
}

.border-radius {
  border-radius: 2em;
}

thead {
  background-color: rgb(67, 74, 84);
  color: whitesmoke;
}

.badge {
  font-weight: 400;
}

b {
  font-weight: 600;
}

#created_on_div {
  display: none;
}

#due_on_div {
  display: none;
}

#last_updated_on_div {
  display: none;
}

canvas {
  margin-top: 0px;
}

.pvtAxisLabel {
  text-align: center;
}

.pvtColTotalLabel {
  background-color: rgb(67, 74, 84);
  /* rgb(67, 74, 84); */
  color: whitesmoke;
  text-align: center;
}

/* tr:nth-child(even) {
  background-color: #f2f2f2;
} */

.payable {
  color: red;
}

.receivable {
  color: rgb(12, 197, 12);
}

#reportrange_on_div {
  display: none;
}

.para {
  font-size: x-large;
  font-weight: bold;
}

.paragraph {
  /* font-size: xX-large; */
  font-weight: bold;
}

.supportmail {
  font-size: large;
  font-weight: bold;
}

.updatebutton {
  background-color: #000000;
}

.updatebutton:hover {
  background-color: #1a2421;
}

.supportbutton {
  background-color: 2fa27b;
}

.supportbutton:hover {
  background-color: 3fd5a3;
}

#currencyDiv,
#notes_div,
#other_details_div,
#multi_attach_div {
  display: none;
}

.imagePreview {
  display: none;
  max-width: 100%;
  min-height: auto;
  max-height: 300px;
  margin-top: 10px;
}

/* #pills-inventory-tab,#pills-accounts-tab,#pills-production-tab,#pills-crm-tab {
  border: none;
} */

/* Hide the up and down arrows */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* input[type=number] {
        -moz-appearance: textfield;
        /* Firefox */
/* }  */

.reportsdata {
  color: black;
}

.reportsdata:hover {
  color: black;
  text-decoration: none;
}

.nav-pills,
.nav-link {
  background-color: none;
}

.icon_image {
  height: 20px;
  width: 20px;
}

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

.tablereports {
  display: none;
}

/* tr:nth-child(even) {
  background-color: #f5f5f5;
} */

/* .tfoot_filter_reports {
  background-color: #cccccc;
} */

.reportstotal {
  font-weight: bolder;
  font-size: x-large;
}

.pvl_chart {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
}

.outstanding_bold {
  font-weight: bolder;
  font-size: x-large;
}

.style-img {
  /* height: 100px; */
  width: 90px;
}

.style-img-add {
  /* height: 100px; */
  min-width: 200px;
  max-width: 250px;
}

.order-img-add {
  /* height: 100px; */
  width: 250px;
}

.style-img-1 {
  /* height: 100px; */
  width: 100px;
}

.style-docs {
  width: 200px;
}

.order-docs {
  width: 200px;
}

.style-pdf {
  width: 250px;
}

.order-img {
  /* height: 100px; */
  width: 130px;
}

/* Optional: Add hover effect on rows  */
table.table-striped tbody tr:hover {
  background-color: #e0e0e0;
}

.notification {
  position: relative;
  display: inline-block;
}

.notification .notify-badge {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: rgb(248, 6, 6);
  border-radius: 50%;
}

/* table curved borders----------------------------------------------------------------------------------------------------  */

.curved-table td {
  font-weight: 600;
}

.curved-table {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  font-size: 15px;
}

.curved-table th,
.curved-table td {
  border-top: 1px solid #dee2e6;
}

/* .table-container {
  margin-bottom: 20px;
} */

.top_container {
  margin-top: 100px;
}

.pvtTable thead th {
  background-color: rgb(67, 74, 84);
}

/* .reference_no_class_name {
  display: none;
} */

/* mobile view media query for others----------------------------------------------------------------------------------------------------------------------------------------- */

/* @media screen and (max-width: 760px) {
  .table_filter {
    border: 0;
  }

  .table_filter .thead_filter {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  .table_filter .tr_filter {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }

  .tr_filter {
    border: 1px solid #8b8b8b;
    border-radius: 10px;
    margin-top: 10px;
  }

  .tr_filter:nth-child(even) {
    background-color: whitesmoke;
  }

  .table_filter .td_filter {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: 0.8em;
    text-align: left;
  }

  .table_filter .td_filter:last-child {
    border-bottom: 0;
  }
}

@media screen and (max-width: 760px) {
  .table_filter {
    border: 0;
  }

  .table_filter_reports .thead_filter_reports {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  .table_filter_reports .tr_filter_reports {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }

  .tr_filter_reports {
    border: 1px solid #8b8b8b;
    border-radius: 10px;
    margin-top: 10px;
  }

  .tr_filter_reports:nth-child(even) {
    background-color: whitesmoke;
  }

  .table_filter_reports .td_filter_reports {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: 0.8em;
    text-align: right;
  }

  .table_filter_reports .td_filter_reports::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }

  .table_filter_reports .td_filter_reports:last-child {
    border-bottom: 0;
  }

  .td_filter_reports_none {
    display: none;
  }
} */

/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

/* tr:nth-child(even) {
  background-color: white;
} */

.emp-image {
  width: 260px;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* .tableFixHead {
  overflow: auto;
  height: 92vh;
}

.tableFixHead thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: rgb(67, 74, 84);
} */

.anchor_design1 {
  background-image: linear-gradient(to right, #214156, #192831 50%, #000 50%);
  background-size: 200% 100%;
  background-position: -100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease-in-out;
}

.anchor_design1:hover {
  background-position: 0;
}

.anchor_design1:hover::before {
  width: 100%;
}

.anchor_design2 {
  background-image: linear-gradient(to right, #b83f2e, #5a1c13 50%, #000 50%);
  background-size: 200% 100%;
  background-position: -100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease-in-out;
}

.anchor_design2:hover {
  background-position: 0;
}

.anchor_design2:hover::before {
  width: 100%;
}

.dash_link {
  background-image: linear-gradient(to left, #000 50%, #e7485d 50%, #19a2d8);
  background-size: 200% 100%;
  background-position: 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.2s ease-in-out;
}

.dash_link:hover {
  background-position: 0;
}

.dash_link:hover::before {
  width: 100%;
}

/* -------------------------------------------- For support tag ----------------------------------------------------------- */

.theme-settings {
  position: fixed;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 1;
}

.theme-settings ul li {
  width: 40px;
  height: 38px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  z-index: 999;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 5px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background-color: rgba(0, 157, 226);
  -webkit-box-shadow: 0px 0px 5px 0px rgba(154, 154, 154, 0.54);
  box-shadow: 0px 0px 5px 0px rgba(154, 154, 154, 0.54);
  margin-bottom: 15px;
  margin-right: auto;
  cursor: pointer;
}

.theme-settings ul li.demo-li {
  width: 20px;
  height: 100px;
}

.demo-li {
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(360deg);
}

/* .demo-li {
  writing-mode: vertical-rl;
  text-orientation: upright;
  transform: none;
  letter-spacing: -0.1em;
} */

.theme-settings ul li .backend-btn a {
  text-decoration: none;
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: #ffffff;
  display: block;
  text-align: center;
  transition: color 0.2s ease-in-out;
  font-size: 11px;
  font-weight: 450;
}

.theme-settings ul li .backend-btn a:hover {
  color: white;
}

.emoji {
  vertical-align: 0;
}

.policy-list li {
  margin-bottom: 4px;
  font-size: x-small;
}

.centered-bar {
  background-color: #434a54;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  padding-top: 6px;
}

.inv-table td {
  padding-top: 4px;
  padding-bottom: 4px;
}

/* Card left side border colour css code --------------------------------------------------------------------------------------- */

.tab-color {
  left: 0;
  top: 6%;
  height: 80px;
  width: 10px;
  position: absolute;
  border-radius: 0px 10px 10px 0px;
  display: flex;
  align-items: center;
}

/* ------------------------------------------Card Widget ------------------------------------------- */

.pTag {
  /* font-size: 1rem; */
  line-height: 1.5;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.count-container {
  display: flex;
  align-items: center;
  /* Align items vertically in the container */
}

.parent_img {
  display: flex;
  /* justify-content: space-between;
  align-items: center; */
  margin-left: 1px;
}

.table-img-view {
  height: 25px;
  width: 25px;
  border-radius: 50%;
}

.heading {
  margin-bottom: 4px;
  font-size: 15px;
}

.content1 {
  margin-bottom: 1px;
  font-size: 18px;
}

.content {
  font-size: 15px;
  margin-bottom: 4px;
}

/* .table-container {
  overflow-x: auto;
  width: 100%;
} */

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  padding: 8px;
}

.table-container {
  overflow-x: auto;
  width: 100%;
  /* cursor: grab; */
  white-space: nowrap;
  /* Prevent content from wrapping */
  max-height: 650px;
}

.table-container::-webkit-scrollbar {
  width: 8px;
  /* Width of the scrollbar */
  height: 8px;
  /* Height of the scrollbar */
}

.table-container::-webkit-scrollbar-thumb {
  background-color: #888;
  /* Color of the scrollbar thumb */
  border-radius: 4px;
  /* Rounded corners for the thumb */
}

.table-container::-webkit-scrollbar-track {
  background-color: #f0f0f0;
  /* Color of the scrollbar track */
}

/* Adjust scrollbar appearance as needed */

/* Optional: Style for the table */
.table {
  width: 100%;
  /* Ensure table fills the container */
  border-collapse: collapse;
  /* Collapse table borders */
}

.table th,
.table td {
  padding: 8px;
  /* Padding for table cells */
  /* text-align: center; */
}

.label-button {
  padding: 1px 5px;
  margin-left: auto;
}

.cus-label {
  /* margin-bottom: 2px; */
  min-width: auto;
}

/* ----------------------------------------------------------------------------------------------------------------------------- */

.hidden {
  display: none !important;
}

.card_class_view {
  max-width: 70%;
  padding: 20px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  height: 65%;
  position: absolute;
  /* Allow absolute positioning */
  min-width: 200px;
  /* Minimum width */
  min-height: 150px;
  /* Minimum height */
  cursor: move;
  /* Cursor style for dragging */
}

.card-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  cursor: pointer;
}

.card-resizable {
  position: absolute;
  /* Ensure the card can be positioned absolutely */
  cursor: move;
}

.resize-handle {
  width: 10px;
  height: 10px;
  background: #333;
  position: absolute;
  bottom: 0;
  right: 0;
  cursor: se-resize;
}

#scheme-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  cursor: pointer;
}

@media (max-width: 767px) {
  .card_class_view {
    margin-top: 50px;
  }
}

/* // ----------------------- universal search css -------------------------------------------- */

#search-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  cursor: pointer;
}

#product-img-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  cursor: pointer;
}

#producttrims-img-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  cursor: pointer;
}

.search_card_class_view {
  width: 550px;
  padding: 20px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  /* height: 500px; */
}

#searchResults {
  max-height: 275px;
  overflow-y: auto;
}

.search_cat_img {
  width: 200px;
}

@media only screen and (max-width: 768px) {
  .search_cat_img {
    width: 120px;
  }
}

/* ________________________________________________LINKS COINTAINER__________________________________________________________ */

#links-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  cursor: pointer;
}

/* _______________________________________________________________________________________________________________________ */

#finance-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  cursor: pointer;
}

.suggestionsContainer {
  width: 97%;
  /* Ensure equal width */
}

.suggestionsContainer {
  border: 1px solid #ddd;
  position: absolute;
  display: none;
  z-index: 1;
}

.suggestion-item {
  padding: 10px;

  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  background-color: #fffafa;
}

.suggestion-name {
  font-weight: bold;
  font-size: 15px;
}

.suggestion-subtitle {
  font-size: 12px;
  color: #555;
}

.suggestion-item:hover,
.autocomplete-active {
  background-color: #c9c9c9;
}

.image-container {
  background-color: white;
  display: inline-block;
  /* or use display: flex; depending on your layout */
  padding: 5px;
  /* adjust the padding as needed */
  width: 20%;
  height: 20%;
}

.image-container img {
  vertical-align: middle;
}

.reports_card {
  width: 240px;
  height: 100%;
  box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.2);
}

#card-container_1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  cursor: pointer;
}

/* .imagePreview {
  max-width: 150px;
} */

.control-label:after {
  content: " *";
  color: red;
  /* font-size: 17px; */
  font-weight: bold;
}

.control-star::before {
  content: "* ";
  color: #86cfda;
  /* font-size: 17px; */
  font-weight: bold;
}

/* ============================================= */

/* .autocomplete-container {
  position: relative;
  display: inline-block;
}

.autocomplete-input {
  width: 300px;
  padding: 10px;
  font-size: 16px;
}

.autocomplete-list {
  position: absolute;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  background-color: #ffffff;
}

.autocomplete-item {
  padding: 10px;
  cursor: pointer;
}

.autocomplete-item:hover {
  background-color: #e0e0e0;
}

.autocomplete-subtitle {
  font-size: 14px;
  color: #666;
} */

@media only screen and (max-width: 1000px) {
  .shrink_size {
    font-size: medium;
  }

  .shrink_size_cur {
    font-size: x-small;
  }

  .shrink_size_para {
    font-size: small;
    /* color: black; */
  }
}

.card_index {
  display: flex;
  justify-content: space-around;
  border-radius: 3px;
  line-height: 34px;
  text-align: center;
  padding: 15px 0 9px;
  border: 1px solid transparent;
  color: var(--ct-body-color);
}

.navTab_hover :hover {
  background-color: #dedfe28a;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 12px;
  right: 10px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: transparent;
  color: white;
  cursor: pointer;
  padding: 5px;
  border-radius: 55%;
}

#myBtn:hover {
  background-color: #ffffff;
}

.hidden {
  display: none !important;
}

/* .card_class_view {
  width: auto;
  padding: 20px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  height: 500px;
}

#card-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  cursor: pointer;
} */

#card-container-bulk {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  cursor: pointer;
}

.bulk_card_class_view {
  width: 70%;
  padding: 20px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  height: 65%;
  position: absolute;
  /* Allow absolute positioning */
  min-width: 200px;
  /* Minimum width */
  min-height: 150px;
  /* Minimum height */
  /* cursor: move; */
}

#card-container_desc {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  cursor: pointer;
}

.card-container_desc {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  cursor: pointer;
}

@media (max-width: 767px) {
  .bulk_card_class_view {
    margin-top: 50px;
  }
}

.total_style {
  font-weight: bolder;
  font-size: medium;
}

.icon-container {
  position: relative;
  display: inline-block;
}

.tooltip {
  visibility: hidden;
  background-color: #fff;
  color: #555;
  text-align: left;
  border-radius: 8px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s, left 0.3s, top 0.3s;
  white-space: nowrap;
  right: 100%;
  top: 150%;
  transform: translateY(-50%);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  white-space: normal;
  /* Allow text wrapping */
  word-wrap: break-word;
  /* Break words if necessary */
  min-width: 300px;
  max-width: 500px;
  /* Optional: set a maximum width for the tooltip */
}

.tooltip .material-icons {
  margin-right: 5px;
  /* Spacing between the icon and the text */
  font-size: 20px;
  /* Adjust icon size */
}

.tooltip::after {
  content: "";
  position: absolute;
  top: 5%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
}

.icon-container:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 768px) {
  .tooltip {
    top: 110%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    min-width: 250px;
    /* Further reduce for very small screens */
    max-width: 300px;
    font-size: 12px;
    /* Smaller font for compact view */
  }

  .tooltip::after {
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-color: #fff transparent transparent transparent;
  }
}

.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(128, 128, 128, 0.7);
  /* Grey background with some transparency */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* Ensure it is on top of other elements */
}

.spinner-icon {
  font-size: 5rem;
  /* Large size for the spinner */
  color: white;
  /* White spinner color */
}

.business_overview_cards {
  min-height: 370px;
}

.card_bank_anchor {
  text-decoration: none;
  color: #000;
}

.card_bank_anchor:hover {
  text-decoration: none;
  color: #000;
}

.table-container-thead {
  display: block;
  overflow: scroll;
  max-height: 645px;
}

.table-container-thead thead {
  position: sticky;
  top: 0;
  z-index: 1;
}

/* Ensure table rows and header rows are not split between pages */
tr,
th,
td,
h1,
h2,
h3,
h4,
h5,
h6,
p,
div {
  page-break-inside: avoid;
}

/* Class to avoid page breaks */
.avoid-page-break {
  page-break-inside: avoid;
}

/* Wrap text to prevent overflow */
td,
th,
div {
  word-wrap: break-word;
}

/* ________________________________________________________ Favourites CSS ____________________________________________________________ */

.favorites-button {
  position: fixed;
  top: 60px;
  right: 20px;
  font-size: 24px;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.app-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.sub-app-modal {
  display: flex;
  justify-content: center;
}

.app-container {
  display: flex;
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  max-height: 50vh;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.image-container {
  flex: 0 0 40%;
  /* Make the image take 40% of the space */
  position: sticky;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.image-heading {
  font-size: 25px;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
  /* Adjust color if needed */
}

.image-container img {
  max-width: 100%;
  /* Ensure the image takes full width if needed */
  max-height: 100%;
  /* Ensure the image takes full height */
  object-fit: contain;
  /* Maintain aspect ratio */
}

.apps-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow-y: auto;
  max-height: 90vh;
  padding: 20px;
}

.app {
  background-color: #ecf3f9;
  border-radius: 50px;
  padding: 15px;
  margin: 10px 0;
  text-align: center;
  width: 100%;
  cursor: pointer;
  transition: transform 0.2s;
  font-size: medium;
}

.app:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-color: #009fe3;
  color: white;
  font-weight: bolder;
  font-size: medium;
}

@media (max-width: 600px) {
  .app-container {
    flex-direction: column;
    width: 90%;
    height: auto;
  }

  .sub-app-modal {
    display: flex;
    justify-content: center;
  }

  .image-container {
    width: 100%;
    height: auto;
    position: static;
    padding: 10px;
  }

  .image-container img {
    max-width: 80%;
    max-height: 120px;
    object-fit: contain;
    margin: 0 auto;
  }

  .apps-content {
    padding: 10px;
    max-height: auto;
  }

  .favorites-button {
    width: 40px;
    height: 40px;
  }
}

.ui-select {
  width: 85%;
}

/* _________________________________________________________________________________________________________________________________ */

/* Default Card Styling */
#draggable-card-action-export {
  width: 30%;
  height: 40%;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  #draggable-card-action-export {
    width: 200%;
    /* Set width to 200px for small devices */
    height: 40%;
    /* Adjust height for content fitting on mobile */
  }
}

/* Default Card Styling */
#draggable-card-action-export-1 {
  width: 30%;
  height: 40%;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  #draggable-card-action-export-1 {
    width: 200%;
    /* Set width to 200px for small devices */
    height: 50%;
    /* Adjust height for content fitting on mobile */
  }
}

/* __________________________________________________________ QUICK ACCESS CARD CSS ______________________________________________________ */

.quick_acc_card {
  display: none;
  position: absolute;
  top: 60px;
  /* Ensure this is 'px' */
  right: 15px;
  width: 300px;
  height: 290px;
  background-color: #fff;
  /* Create a stronger box-shadow to simulate elevation */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2),
    /* bottom shadow */ 0 -4px 10px rgba(0, 0, 0, 0.1);
  /* top shadow */
  border-top-left-radius: 28px;
  border-bottom-left-radius: 28px;
  overflow-y: auto;
  z-index: 1000;
}

/* .quick_acc_card_content {
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 22px;
  padding-bottom: 22px;
} */

.quick_acc_card::-webkit-scrollbar {
  width: 6px;
  border-radius: 25px;
}

.quick_acc_card::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 30px;
  margin: 5px;
}

.quick_acc_card::-webkit-scrollbar-thumb {
  background-color: #ececec;
  border-radius: 30px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.quick_acc_card::-webkit-scrollbar-thumb:hover {
  background-color: #ececec;
}

/* Row Styles */
.content_row {
  margin-bottom: 25px;
}

.quick_acc_p {
  margin: 0px;
}

/* .qa_btn {
  display: flex;
  flex-direction: column;
  align-items: center;
} */

.quick_acc_card_content {
  padding: 22px 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 buttons per row */
  gap: 25px;
  /* spacing between the buttons */
}

.qa_btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* ensures text is centered */
}

/* ___________________________________________________________________________________________________________________________________________ */

@media (min-width: 1024px) {
  .crm-btns {
    display: flex;
    justify-content: space-around;
  }
}

@media (min-width: 1024px) {
  .production-btns {
    display: flex;
    justify-content: space-around;
  }
}

@media (min-width: 1024px) {
  .accounts-btns {
    display: flex;
    justify-content: space-around;
  }
}

.ui_row_content {
  display: flex;
  flex-wrap: wrap;
  /* Allows buttons to wrap to the next line if they exceed row width */
  gap: 10px;
  /* Space between buttons */
  align-items: flex-start;
  justify-content: flex-start;
  /* Ensures buttons align to the left of the container */
}

thead {
  position: sticky;
  /* Fixes the header */
  top: 0;
  /* Aligns it to the top of the container */
  z-index: 10;
  /* Places it above other content */
}

/* ----------------------------------------------------------- Invoice Credit or Cash Btn css ---------------------------------------------- */

.switch_cc {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch_cc input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider_cc {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2196f3;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider_cc:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider_cc {
  background-color: #2196f3;
}

input:focus + .slider_cc {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider_cc:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded slider_ccs */
.slider_cc.round {
  border-radius: 34px;
}

.slider_cc.round:before {
  border-radius: 50%;
}

.blue-text {
  color: #2294f2;
}

/* ----------------------------------------------------------------------------------------------------------------------------------------------------- */

.hidden {
  display: none !important;
}

.card_class_spec_view {
  width: auto;
  padding: 20px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  height: 500px;
}

#card-container_spec {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  cursor: pointer;
}

@media (max-width: 767px) {
  .card_class_view {
    margin-top: 50px;
  }
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.2);
  /* Slightly visible on hover */
}

.custom-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.custom-scroll::-webkit-scrollbar-thumb {
  border-radius: 4px;
}

.ui-autocomplete {
  max-height: 500px;
  min-height: auto;
  overflow-y: auto;
  padding: 8px;
}

.report_sku {
  text-decoration: none;
  color: #000;
}

.report_sku:hover {
  text-decoration: none;
}

/* START RICH TEXT ------------------------------------------------------------------------------------------------ */

.rich_text_toolbar {
  border: 1px solid #ccc;
  border-bottom: none;
  padding: 5px;
  background: #f8f8f8;
  display: flex;
  gap: 6px;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.rich_text_toolbar button {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  padding: 6px;
  border-radius: 4px;
}

.rich_text_toolbar button:hover {
  background: #e0e0e0;
}

.editor {
  border: 1px solid #ccc;
  min-height: 200px;
  max-height: 200px;
  padding: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  line-height: 1.5;
  overflow: auto;
}

.editor:focus {
  outline: none;
  border-color: #b6b6b6ff;
}

/* END RICH TEXT ---------------------------------------------------------------------------------------------------------- */
