.table-responsive {
    min-height: 70px;
    overflow: visible !important; 
}

.card-body {
    overflow: visible !important;
}


td .dropdown-menu {
    position: absolute !important;
    right: 0;
    left: auto;
    z-index: 1060;
    transform: none !important;
}

td {
    position: relative; 
}

.custom-no-border {
    border-bottom: none !important;
    box-shadow: none !important;
}

.message {
  padding: 1rem;
  background: #eff8ff;
  color: #2779bd;
  border-color: #6cb2eb;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  margin-right: 1rem;
  margin-left: 1rem;
}

.message.hidden {
  display: none;
}

.message.success {
  background: #e3fcec;
  color: #1f9d55;
  border-color: #51d88a;
}

.message.warning {
  background: #fffabc;
  color: #8d7b00;
  border-color: #d3b800;
}

.message.error {
  background: #fcebea;
  color: #cc1f1a;
  border-color: #ef5753;
}

.error-message {
  color: #cc1f1a;
}

.required label:after {
  color: #e32;
  content: ' *';
  display: inline;
}

@media print {
  body * {
    visibility: hidden;
  }

  #print_section_payslip,
  #print_section_payslip * {
    visibility: visible;
  }

  #print_section_payslip {
    position: absolute;
    left: 0;
    top: 0;
  }
}


#options {
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  font-size: 16px;
  line-height: 1.5;
  appearance: none;
  /* Remove default appearance */
  -webkit-appearance: none;
  -moz-appearance: none;
}

#options::-ms-expand {
  display: none;
  /* Hide arrow icon in Microsoft Edge */
}

#options option {
  padding: 5px;
}

#options option:checked {
  background-color: #007bff;
  color: #fff;
}

#options option:not(:checked) {
  background-color: #fff;
  color: #333;
}

/* Use flexbox to align selected options */
.selected-options {
  display: flex;
  flex-wrap: wrap;
}

.selected-option {
  background-color: #007bff;
  color: #fff;
  border-radius: 4px;
  padding: 5px 10px;
  margin-right: 5px;
  margin-bottom: 5px;
}

a {
  color: #84bc1c;
}

a:hover {
  color: #425e0e;
}

.page-item.active .page-link {
  color: #fff;
  background-color: #84bc1c;
  border-color: #84bc1c;
}

.page-link {
  color: #84bc1c;
  background-color: #fff;
  border: 1px solid #84bc1c;
}

.float-right {
  float: right;
  position: relative;
  z-index: 100;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
  background-color: #84bc1c;
}

thead tr th.actions.sorting {
  color: #84bc1c;
}


thead tr th.sorting {
  color: #84bc1c;
}

/* Base style for sorting arrows */

/* Base style for sorting arrows */
th.sorting::before,
th.sorting::after,
th.sorting_asc::before,
th.sorting_asc::after,
th.sorting_desc::before,
th.sorting_desc::after {
  opacity: 1 !important;
  color: #84bc1c !important;
  font-weight: 900;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

/* Optional: Add some spacing if needed */
th.sorting::before,
th.sorting_asc::before,
th.sorting_desc::before {
  margin-right: 5px;
}

th.sorting::after,
th.sorting_asc::after,
th.sorting_desc::after {
  margin-left: 5px;
}

/* Hover effect */
th.sorting:hover::before,
th.sorting:hover::after,
th.sorting_asc:hover::before,
th.sorting_asc:hover::after,
th.sorting_desc:hover::before,
th.sorting_desc:hover::after {
  color: #6da600 !important;
  /* A darker green on hover */
  font-size: 1.2em;
}


td.actions div.btn-group button.btn.btn-default {
  color: #84bc1c;
}

aria-activedescendant {
  color: #84bc1c;
}

.card.inactive {
  opacity: 0.9;
  cursor: not-allowed;
}

.dataTables_length {
  float: left !important;
}

.dt-buttons {
  float: right !important;
}

.delmotif_white2 {
  height: 150px;
  width: 150px
}

.preloader {
  background-color: #fcfafd;
}

.deloitte-dot {
  color: #86BC25;
}

.loading {
  width: 60px;
  height: 60px;
}

.switchpayrollperiod {
  width: 100%'

}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
}

.header-logo {
  padding-left: 20px;
  display: flex;
  align-items: flex-start;
  margin-right: auto;
}

.header-logo img {
  height: auto;
  width: 150px;
  max-width: 100%;
}

.select-company-ssp {
  background-color: black;
}

.select-company-ssp-nav-link {
  color: white;
}

.word-wrap-break {
  word-wrap: break-word;
}

.btn-floating {
  position: relative;
  z-index: 100;
}

.companyidselect {
  width: 400px
}

.margin-bottom-5px {
  margin-bottom: 5px
}

.th-width-10px {
  width: 10px;
}

.padding-bottong-40px {
  padding-bottom: 40px
}

.width-600px {
  width: 600px
}

.disable-permission-link {
  color: grey;
  cursor: not-allowed;
}

.company-logo-popup {
  height: 60px;
  width: 60px
}

.height-16-px {
  height: 16px
}

.width_50_percent {
  width: 50%;
}

.field-width-manage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.required-field::after {
  content: " *";
  color: red;
}

.p-template {
  max-height: 60vh;
  overflow-y: auto;
}

/* In your CSS file */
.paginator ul.pagination {
  display: flex;
  list-style: none;
  padding: 0;
}

.paginator ul.pagination li {
  margin: 0 5px;
}

.paginator ul.pagination li a {
  padding: 5px 10px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #84bc1c;
}

.paginator ul.pagination li.active a {
  background-color: #84bc1c;
  color: #fff;
  border-color: #84bc1c;
}

/* Width classes from w-1 to w-99 */
.w-1 {
  width: 1%;
}

.w-2 {
  width: 2%;
}

.w-3 {
  width: 3%;
}

.w-4 {
  width: 4%;
}

.w-5 {
  width: 5%;
}

.w-6 {
  width: 6%;
}

.w-7 {
  width: 7%;
}

.w-8 {
  width: 8%;
}

.w-9 {
  width: 9%;
}

.w-10 {
  width: 10%;
}

.w-11 {
  width: 11%;
}

.w-12 {
  width: 12%;
}

.w-13 {
  width: 13%;
}

.w-14 {
  width: 14%;
}

.w-15 {
  width: 15%;
}

.w-16 {
  width: 16%;
}

.w-17 {
  width: 17%;
}

.w-18 {
  width: 18%;
}

.w-19 {
  width: 19%;
}

.w-20 {
  width: 20%;
}

.w-21 {
  width: 21%;
}

.w-22 {
  width: 22%;
}

.w-23 {
  width: 23%;
}

.w-24 {
  width: 24%;
}

.w-25 {
  width: 25%;
}

.w-26 {
  width: 26%;
}

.w-27 {
  width: 27%;
}

.w-28 {
  width: 28%;
}

.w-29 {
  width: 29%;
}

.w-30 {
  width: 30%;
}

.w-31 {
  width: 31%;
}

.w-32 {
  width: 32%;
}

.w-33 {
  width: 33%;
}

.w-34 {
  width: 34%;
}

.w-35 {
  width: 35%;
}

.w-36 {
  width: 36%;
}

.w-37 {
  width: 37%;
}

.w-38 {
  width: 38%;
}

.w-39 {
  width: 39%;
}

.w-40 {
  width: 40%;
}

.w-41 {
  width: 41%;
}

.w-42 {
  width: 42%;
}

.w-43 {
  width: 43%;
}

.w-44 {
  width: 44%;
}

.w-45 {
  width: 45%;
}

.w-46 {
  width: 46%;
}

.w-47 {
  width: 47%;
}

.w-48 {
  width: 48%;
}

.w-49 {
  width: 49%;
}

.w-50 {
  width: 50%;
}

.w-51 {
  width: 51%;
}

.w-52 {
  width: 52%;
}

.w-53 {
  width: 53%;
}

.w-54 {
  width: 54%;
}

.w-55 {
  width: 55%;
}

.w-56 {
  width: 56%;
}

.w-57 {
  width: 57%;
}

.w-58 {
  width: 58%;
}

.w-59 {
  width: 59%;
}

.w-60 {
  width: 60%;
}

.w-61 {
  width: 61%;
}

.w-62 {
  width: 62%;
}

.w-63 {
  width: 63%;
}

.w-64 {
  width: 64%;
}

.w-65 {
  width: 65%;
}

.w-66 {
  width: 66%;
}

.w-67 {
  width: 67%;
}

.w-68 {
  width: 68%;
}

.w-69 {
  width: 69%;
}

.w-70 {
  width: 70%;
}

.w-71 {
  width: 71%;
}

.w-72 {
  width: 72%;
}

.w-73 {
  width: 73%;
}

.w-74 {
  width: 74%;
}

.w-75 {
  width: 75%;
}

.w-76 {
  width: 76%;
}

.w-77 {
  width: 77%;
}

.w-78 {
  width: 78%;
}

.w-79 {
  width: 79%;
}

.w-80 {
  width: 80%;
}

.w-81 {
  width: 81%;
}

.w-82 {
  width: 82%;
}

.w-83 {
  width: 83%;
}

.w-84 {
  width: 84%;
}

.w-85 {
  width: 85%;
}

.w-86 {
  width: 86%;
}

.w-87 {
  width: 87%;
}

.w-88 {
  width: 88%;
}

.w-89 {
  width: 89%;
}

.w-90 {
  width: 90%;
}

.w-91 {
  width: 91%;
}

.w-92 {
  width: 92%;
}

.w-93 {
  width: 93%;
}

.w-94 {
  width: 94%;
}

.w-95 {
  width: 95%;
}

.w-96 {
  width: 96%;
}

.w-97 {
  width: 97%;
}

.w-98 {
  width: 98%;
}

.w-99 {
  width: 99%;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 1cm;
  }

  /* Hide everything else */
  body * {
    visibility: hidden !important;
  }

  /* Only show payslip content inside modal */
  #print-area,
  #print-area * {
    visibility: visible !important;
  }

  /* Force full width and reset modal spacing */
  #print-area {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: white !important;
    box-sizing: border-box;
  }

  /* Remove Bootstrap modal padding during print */
  .modal-dialog,
  .modal-content,
  .modal-body {
    all: unset;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #download-pdf-btn {
    display: none !important;
  }

  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    background: white !important;
    -webkit-print-color-adjust: exact !important;
  }
}

.table-scroll {
  overflow-x: auto;
  width: 100%;
}