@import url("https://fonts.googleapis.com/css2?family=Jaldi&display=swap");

body {
  font-family: "Jaldi", sans-serif;
  background-color: #f7f9fc;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 22px;
}
thead {
  background-color: #182747;
  color: #fefefe;
  font-size: 18px;
}

th {
  padding: 14px 18px;
  font-size: 20px;
  text-align: left;
}

td {
  padding: 12px 18px;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: middle;
}

tbody tr:nth-child(odd) {
  background-color: #f5f7fa;
}

tbody tr:nth-child(even) {
  background-color: #edf1f7;
}

td button {
  background-color: #e30713;
  color: #fefefe;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.2s;
}

td button:hover {
  background-color: #5e0005;
}

td img {
  width: 100px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-family: "Segoe UI", sans-serif;
  font-size: 18px;
  margin-top: 20px;
}
#pagination button {
  background-color: #1d2c4c;
  color: #fefefe;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
#pagination button:disabled {
  background-color: #a0a0a0;
  cursor: not-allowed;
}
#pagination span {
  font-weight: bold;
  font-size: 18px;
}

table#reportTable {
  width: 100%;
  font-family: "Jaldi", sans-serif;
  font-size: 20px;
  background-color: #f5f7fa;
  border-radius: 8px;
  overflow: hidden;
}

#reportTable thead {
  background-color: #182747;
  color: #fefefe;
}

#reportTable thead th {
  padding: 12px 16px;
  text-align: left;
}

#reportTable tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #e0e0e0;
}

#reportTable tbody tr:nth-child(even) {
  background-color: #edf1f7;
}

#reportTable tbody tr:hover {
  background-color: #eef2ff;
  transition: background-color 0.2s;
}

div.dt-buttons .dt-button {
  background-color: #182747 !important;
  color: #fefefe !important;
  border: none !important;
  padding: 6px 15px !important;
  margin: 10px 0 10px 0 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: none !important;
  line-height: 1 !important;
  height: 42px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

div.dt-buttons > .dt-button:hover:not(.disabled),
div.dt-buttons > div.dt-button-split .dt-button:hover:not(.disabled),
div.dt-buttons
  > .dt-button.dt-button-active:not(.disabled):hover:not(.disabled),
div.dt-buttons
  > div.dt-button-split
  .dt-button.dt-button-active:not(.disabled):hover:not(.disabled) {
  background-color: #304879 !important;
  background-image: none !important;
  border: 0px transparent !important;
  color: #fefefe !important;
  box-shadow: none !important;
  filter: none !important;
  text-decoration: none !important;
}

div.dt-buttons > .dt-button:focus:not(.disabled),
div.dt-buttons > div.dt-button-split .dt-button:focus:not(.disabled) {
  outline: none !important;
  background-color: #304879 !important;
  border: 0px #304879 !important;
  color: #fefefe !important;
  background-image: none !important;
  filter: none !important;
}

div.dt-buttons > .dt-button:active:not(.disabled),
div.dt-buttons > div.dt-button-split .dt-button:active:not(.disabled) {
  background-color: #2b3f6b !important;
  color: #fefefe !important;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3) !important;
  border: 0px transparent !important;
  background-image: none !important;
  filter: none !important;
}

#reportTable_filter input[type="search"] {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dataTables_paginate {
  margin-top: 10px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: #8f8f8f !important;
  border: none !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:active {
  color: #8f8f8f !important;
  border: none !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  font-size: 1.2rem;
  padding: 4px 10px;
  margin: 0 3px;
  border: 1px solid #8f8b88;
  border-radius: 8px;
  background-color: #f3f3f3;
  color: #182747;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current) {
  background-color: #cfdfff !important;
  color: #182747 !important;
  border: 1px solid #8f8b88 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background-color: #182747 !important;
  color: #f3f3f3 !important;
  border: 1px solid #182747 !important;
  font-weight: bold;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background-color: #304879 !important;
  color: #f3f3f3 !important;
  border-color: #304879 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  background-color: #f3f3f3 !important;
  color: #8f8b88 !important;
  border: 1px solid #8f8b88 !important;
  cursor: not-allowed;
  opacity: 0.6;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:active {
  background: none !important;
  background-color: #304879 !important;
  color: #f3f3f3 !important;
  box-shadow: none !important;
  border: 1px solid #182747 !important;
  outline: none !important;
}

table.dataTable.custom-table {
  font-size: 22px !important;
  border-collapse: collapse !important;
}

table.dataTable.custom-table thead {
  background-color: #182747 !important;
  color: #fefefe !important;
  font-size: 20px !important;
}

table.dataTable.custom-table th,
table.dataTable.custom-table td {
  padding: 14px 18px !important;
  font-size: 20px !important;
  text-align: left !important;
  vertical-align: middle !important;
  border-bottom: 1px solid #e0e0e0 !important;
}

table.dataTable.custom-table tbody tr:nth-child(odd) {
  background-color: #f5f7fa !important;
}

table.dataTable.custom-table tbody tr:nth-child(even) {
  background-color: #edf1f7 !important;
}

table.dataTable td button {
  background-color: #e30713 !important;
  color: white !important;
  border: none !important;
  padding: 6px 12px !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  transition: 0.2s !important;
}

table.dataTable td button:hover {
  background-color: #5e0005 !important;
}

table.dataTable td img {
  width: 100px !important;
  border-radius: 5px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

table.dataTable thead th.select-checkbox::before {
  content: "☐";
  margin-top: -4px;
  margin-left: 20px;
  font-size: 26px;
  color: #fefefe;
}

table.dataTable thead th.select-checkbox.selected::before {
  content: "☑";
  font-size: 26px;
  color: #fefefe;
}

table.dataTable tbody td.select-checkbox:before {
  width: 18px !important;
  height: 18px !important;
  display: inline-block !important;
  content: "";
  border: 1px solid #182747 !important;
}

table.dataTable tbody td.select-checkbox,
table.dataTable thead th.select-checkbox {
  width: 18px !important;
  height: 18px !important;
  text-align: center !important;
  vertical-align: middle !important;
  width: 40px !important;
  padding: 0 !important;
}

table.dataTable tbody tr.selected td.select-checkbox::after,
table.dataTable tbody tr.selected th.select-checkbox::after {
  content: "✔";
  display: inline-block !important;
  position: absolute;
  width: 18px !important;
  height: 18px !important;
  margin-top: -4px !important;
  margin-left: -6px !important;
  font-size: 12px !important;
  text-align: center !important;
  line-height: 16px !important;
}

table.dataTable tbody tr.selected.odd,
table.dataTable tbody tr.selected.odd td {
  background-color: #dce8ff !important;
  color: #182747 !important;
  box-shadow: none !important;
  border-bottom: 1px solid #fefefe !important;
}

table.dataTable tbody tr.selected.even,
table.dataTable tbody tr.selected.even td {
  background-color: #cfdfff !important;
  color: #182747 !important;
  box-shadow: none !important;
  border-bottom: 1px solid #fefefe !important;
}

table.dataTable tbody td.selected {
  background-color: #cfdfff !important;
  color: #182747 !important;
  box-shadow: none !important;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in, visibility 0.75s ease-in;
}
.fade-in.show {
    opacity: 1;
}
.hidden-content {
    visibility: hidden;
    opacity: 0;
}

.custom-table th:nth-child(1), .custom-table td:nth-child(1) {
  width: 160px;
}

.custom-table th:nth-child(2), .custom-table td:nth-child(2) {
  width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-table th:nth-child(3), .custom-table td:nth-child(3) {
  width: 120px;
}

.custom-table th:nth-child(4), .custom-table td:nth-child(4) {
  width: 160px;
}
