.content-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh-130;
  /* This will make the content area take up the full height of the page, minus the height of the header and footer */
}

.content {
  flex: 1;
  /* This will make the content area grow to fill available space, pushing the footer down */
}

td {
  padding: 2px !important;
  vertical-align: middle;
  height: 40px !important;
}

th {
  padding: 2px !important;
  vertical-align: middle;
  height: 40px !important;
}

.select2-selection__choice {
  /* Remove background color */
  background-color: transparent !important;
}

.editable-date {
  color: #007bff;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  padding: 2px 0;
}

.editable-date:hover,
.editable-date:focus {
  text-decoration: underline;
}

.doc-expiry-date-input {
  width: 100%;
  padding: 8px;
  margin: 4px 0;
  box-sizing: border-box;
  display: none;
}

/* Overlay that covers the entire screen */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}

/* Spinner */
.spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.dt-empty {
  vertical-align: middle !important;
}

/* Begin Choices.js customisation */

/* Set background color to transparent */
.choices__inner {
  background-color: transparent !important;
  /* Transparent background for the entire Choices input */
  border: 1px solid #ced4da;
  /* You can adjust the border to match other inputs */
}

.choices__input {
  background-color: transparent !important;
  /* Transparent background for the input itself */
  color: inherit;
  /* Ensure text color matches the others */
}

/* Style for the selected items at the top */
.choices__list--multiple .choices__item--selectable {
  background-color: #727CF5 !important;
  /* Hyperlocker purple */
  color: #fff !important;
  /* White text color */
  border-radius: 0.25rem;
  /* Rounded corners for better appearance */
  border: none;
  /* Remove border */
  padding: 0.25rem 0.5rem;
  /* Padding for better spacing */
}

/* Style for the close (X) button inside the selected item */
.choices__list--multiple .choices__item--selectable .choices__button {
  color: #fff !important;
  /* White color for the 'X' button */
  background-color: transparent !important;
  /* No background for the 'X' button */
  margin-left: 0.5rem;
  /* Space between text and the 'X' */
}

/* Ensure that the dropdown list options retain their default styles */
.choices__list--dropdown .choices__item {
  background-color: #fff !important;
  /* Default white background for dropdown items */
  color: inherit;
  /* Inherit text color */
}

/* End Choices.js customisation */