.cursor-pointer {
  cursor: pointer;
}

.nk-tb-col,
td,
tr,
th {
  white-space: nowrap;
}

.table_wrap td,
.table_wrap th,
.table_wrap tr {
  white-space: unset;
}

@media print {
  .print-actions {
    display: none !important;
  }

  /* Make the table adjust to the page width */
  .invoice-table {
    width: 100% !important;
    table-layout: auto !important;
    font-size: 11px !important;
  }

  /* Allow content to wrap in table cells */
  .invoice-table td,
  .invoice-table th {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    padding: 0.5rem 0.25rem !important; /* Reduce padding */
  }

  /* Remove fixed styling that causes scrolling */
  .table_wrap td,
  .table_wrap th,
  .table_wrap tr {
    white-space: normal !important;
  }

  /* Ensure the page content fits within the page boundaries */
  .invoice-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Reset any box-shadow which may cause rendering issues */
  .invoice-table tr {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }

  .invoice-table tr:nth-child(odd) td {
    background-color: #f0f0f0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .invoice-table tr:nth-child(even) td {
    background-color: white !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .invoice-table td,
  .invoice-table th {
    border: 1px solid #ccc !important;
  }

  .page-break {
    page-break-after: always;
  }

  @page {
    size: A4;
    margin: 0;
  }

  body {
    direction: rtl;
    margin: 0;
    color: unset !important;
    background-color: unset !important;
  }

  .print-page {
    page-break-after: always;
    page-break-inside: avoid;
    break-after: always;
    break-inside: avoid;
    padding: 2cm;
  }

  .print-page:last-child {
    page-break-after: auto;
    break-after: auto;
  }

  table {
    width: 100%;
    height: 100%;
  }
}

.table_header_print_bg {
  background-color: #f2f2f2;
  padding-top: 5px;
  padding-bottom: 5px;
}

.py-3_5 {
  padding-top: 1.3rem !important;
  padding-bottom: 1.3rem !important;
}

.react-calendar-datetime-picker {
  width: unset !important;
}
.react-calendar-datetime-picker .calender-modal {
  z-index: 1010 !important;
}

.min_w_100_px {
  min-width: 100px;
}

.react-select__control {
  padding: 3px;
}

.pre_wrap-white_space {
  white-space: pre-wrap;
}
/*? Start Dots Loader */
@-webkit-keyframes dot-keyframes {
  0% {
    opacity: 0.4;
    transform: scale(1, 1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2, 1.2);
  }
  100% {
    opacity: 0.4;
    transform: scale(1, 1);
  }
}
@keyframes dot-keyframes {
  0% {
    opacity: 0.4;
    transform: scale(1, 1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2, 1.2);
  }
  100% {
    opacity: 0.4;
    transform: scale(1, 1);
  }
}
.loading-dots {
  text-align: center;
  width: 100%;
}
.loading-dots--dot {
  -webkit-animation: dot-keyframes 1.5s infinite ease-in-out;
  animation: dot-keyframes 1.5s infinite ease-in-out;
  border-radius: 10px;
  display: inline-block;
  height: 7px;
  width: 7px;
  margin: 0 1.5px;
}
.loading-dots--dot:nth-child(2) {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
.loading-dots--dot:nth-child(3) {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}
/*? End Dots Loader */
