/*Write your custom css in this file.*/
/* Style for even rows */

html,
body {
  font-size: 0.95em;
}

table.dataTable tr:nth-child(even) {
  background-color: #f2f2f2b2; /* Change this color as needed */
}

table.dataTable tr,
table.dataTable tr td {
  border-bottom: 1px solid #dddddd; /* Add this line to create a border between rows */
    font-weight: 700;
}

table.dataTable.display tbody td {
  border-top: none;
  background-color: unset;
}

.dataTables_filter input {
  border-color: #ebeff2;
  background-color: #ebeff2;
  border-radius: 0.25rem;
  width: 250px !important;
}

.dataTables_filter input:focus,
.datatable-search:focus,
.custom-filter-search:focus {
  border-color: #e2e7f1;
  background-color: #fff;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.active a {
  background: #029c78 !important;
  color: #fff !important;
  transition: all 0.3s;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.active a:hover {
  background: #028f6e !important;
  color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button a {
  transition: all 0.3s;
}

.dataTables_wrapper .dataTables_paginate .paginate_button a:hover {
  background: #029c78 !important;
  color: #fff !important;
}

button:hover,
a:hover {
  transition: all 0.3s;
}

.dataTable td:hover {
  transition: all 0.3s;
}
.dataTable tbody tr:hover td {
  transition: all 0.3s;
}

.awesomplete > ul > li[aria-selected="true"] {
  background: #029c78 !important;
  transition: all 0.3s;
}

.awesomplete > ul > li:hover {
  transition: all 0.3s;
}

/* Global search dropdown scrolling */
.awesomplete > ul {
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Smooth scrolling for search results */
.awesomplete > ul::-webkit-scrollbar {
  width: 6px;
}

.awesomplete > ul::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.awesomplete > ul::-webkit-scrollbar-thumb {
  background: #029c78;
  border-radius: 3px;
}

.awesomplete > ul::-webkit-scrollbar-thumb:hover {
  background: #027d5f;
}

.accordion-button:not(.collapsed) {
  color: #000 !important;
  background: #029c7817 !important;
}

.bg-primary-20 {
  background: rgba(2, 156, 120, 1) !important;
}

.bg-primary {
  background-color: rgba(2, 156, 120, 1) !important;
}

/* Note preview styles */
.note-preview-content {
  max-width: 300px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
}

.note-preview-content * {
  font-size: inherit !important;
  line-height: inherit !important;
}

.table td .note-preview-content {
  margin-bottom: 8px;
}

.table td .btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1.2;
}

/* Ensure the button doesn't break the table layout */
.table td .mt-2 {
  margin-top: 0.5rem !important;
}