/* .dataTables_empty {
  display: none !important;
} */

:root {
  /* FONT SIZES */
  --H1-BIG: 2.375rem;
  --H2-BIG: 2rem;
  --H3-BIG: 1.75rem;
  --H4-BIG: 1.5rem;
  --H5-BIG: 1.375rem;
  --H6-BIG: 1rem;

  --H1-SMALL: 1.75rem;
  --H2-SMALL: 1.5rem;
  --H3-SMALL: 1.375rem;
  --P-REGULAR: 0.875rem;
  --P-MEDIUM: 0.75rem;
  --P-SMALL: 0.625rem;

  /* Z_INDEX */
  --Z-INDEX-HIGH: 10;
  --Z-INDEX-REGULAR: 5;
  --Z-INDEX-LOW: 2;

  /* FONT WEIGHTS */
  --BOLD: 700;
  --MEDIUM: 500;
  --REGULAR: 400;
  --MILD: 300;
}

body {
  width: 100vw;
  overflow-x: hidden;
}

[x-cloak] {
  display: none;
}

a {
  text-decoration: none !important;
}
.vv_sticky_header {
  position: sticky;
  top: 0;
  background-color: #6499e9;
  font-size: var(--P-MEDIUM);
  color: #f1f1f1;
  z-index: 2;
}

/* Target the scrollbar */
.vv_table_container::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/* Track style */
.vv_table_container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle style */
.vv_table_container::-webkit-scrollbar-thumb {
  background-color: #6499e9 !important;
}

/* Handle on hover */
.vv_table_container::-webkit-scrollbar-thumb:hover {
  background-color: #6499e9 !important;
}

.dataTables_scrollHeadInner {
  width: 100% !important;
  background-color: #6499e9 !important;
  color: #f1f1f1 !important;
}

.dataTables_scrollHeadInner table {
  width: 100% !important;
}

/* ====================
MODAL
=======================*/

.overlay {
  width: 100vw !important;
  height: 100vh !important;
  position: fixed;
  z-index: 10 !important;
  top: 0;
  left: 0;
  background: black;
  opacity: 0.75;
}
.vv_overlay {
  width: 100vw !important;
  height: 100vh !important;
  position: fixed;
  z-index: 10 !important;
  top: 0;
  left: 0;
  background: black;
  opacity: 0.65;
}
.vv_modal {
  z-index: 11 !important;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
}
.vv_transaction_modal_inne {
  display: none !important;
}
.vv_transaction_modal_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  border-radius: 0.5rem;
  width: 70%;
  padding: 1.5rem;
}
.vv_modal_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  border-radius: 0.5rem;
  width: 40%;
  padding: 2rem;
}
.vv_transaction_close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.vv_transaction_close button {
  background: transparent;
  border: none;
  color: #00337c;
  outline: none;
  font-size: var(--P-REGULAR);
  font-weight: var(--BOLD);
  transition: all 300ms ease;
}
.vv_transaction_close button:hover {
  cursor: pointer;
  background: transparent;
  color: #00337c;
  border: none;
  outline: none;
  font-size: var(--P-REGULAR);
  font-weight: var(--BOLD);
}
.vv_modal_inner header {
  display: flex;
  align-items: center;
  justify-content: center;
}
.vv_modal_inner header h3 {
  font-size: var(--H3-SMALL);
}

.vv_modal_body {
  margin: 2rem 0;
  text-align: center;
}

.vv_transaction_modal_body {
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vv_transaction_modal_body p {
  font-weight: var(--MEDIUM);
  font-size: var(--P-REGULAR);
  color: #b4b4b3;
}

.vv_transaction_modal_body p span {
  font-weight: var(--MEDIUM);
  font-size: var(--P-REGULAR);
  color: #000000;
}

.vv_modal_action {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal_message p {
  text-align: center;
  font-weight: 500;
  font-size: 0.875rem;
}

.vv_no {
  background-color: #f87474;
  color: #f1f1f1;
}

.vv_yes {
  background-color: #2aaf74;
  color: #f1f1f1;
}

.vv_btn {
  width: 7rem;
  border: none;
  outline: none;
  border-radius: 0.3rem;
  height: 2.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease-in;
}
.vv_yes:hover {
  background-color: #208356;
  color: #f1f1f1;
}

.vv_no:hover {
  background-color: #ff5555;
  color: #f1f1f1;
}

/* +++++++++++++++++++++
MODAL
+++++++++++++++++++++++*/

/* =====================
LOADER
=======================*/

.edozie_loader_spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  height: 90%;
}

.edozie_loader_spinner::after {
  content: '';
  width: 30px;
  height: 30px;
  border: 5px solid transparent;
  border-top-color: #00337c;
  border-radius: 50%;
  animation: spinner 750ms ease infinite;
}

@keyframes spinner {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}

/* +++++++++++++++++++++
LOADER
+++++++++++++++++++++++*/

.vv_wrapper {
  width: 100%;
  width: 100vw;
  height: 100vh;

  display: grid;
  grid-template-columns: 18% 1fr;
  grid-template-rows: 7rem 1fr;
  grid-template-areas:
    'aside header'
    'aside main';
}

.vv_top_nav {
  grid-area: header;

  position: sticky;
  background-color: #00337c;
  height: 5rem;
  /* width: 100vw; */
  top: 0;
  right: 0;
  z-index: 5;
  display: flex;
  /* justify-content: space-between; */
  justify-content: flex-end;
  align-items: center;
  padding: 2rem;
}

.vv_sidebar {
  grid-area: aside;
  background-color: #00337c;
}

.vv_body_content {
  grid-area: main;
  padding: 1rem 2rem;
}

.vv_body_wrapper {
  max-height: 100%;
}

@media screen and (max-width: 768px) {
  /* ====================
MODAL
=======================*/

  .vv_modal_inner {
    width: 80%;
    padding: 1.5rem;
  }

  .vv_modal_inner header {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .vv_modal_inner header h3 {
    font-size: 1rem;
  }

  .vv_modal_body {
    margin: 1rem 0;
    text-align: center;
  }

  .modal_message p {
    font-weight: 700;
    font-size: 0.75rem;
  }

  .vv_btn {
    width: 5rem;
    height: 2.3rem;
    font-size: 0.75rem;
    font-weight: 700;
  }
  .vv_transaction_modal_body {
    margin: 1rem 0;
    flex-direction: column;
  }

  /* +++++++++++++++++++++
MODAL
+++++++++++++++++++++++*/
  .vv_body_content {
    padding: 0.5rem 1rem;
    grid-area: 1 / 1 / 2 / 7;
    min-height: calc(100vh - 5rem);
  }

  .vv_dashboard_body {
    width: 100vw;
    background-color: #dee1ec;
  }

  .vv_wrapper {
    /* width: 100%; */
    /* display: flex;
    justify-content: space-between; */
    grid-template-columns: 1fr;
    grid-template-rows: 7rem 1fr;
    grid-template-areas:
      'header'
      'main';
  }

  .vv_sidebar {
    display: none !important;
  }

  .vv_mobile_sidebar {
    display: block;
    position: fixed;
    width: 100vw;
    height: 90vh;
    top: 5rem;
    z-index: var(--Z-INDEX-REGULAR);
    left: 0;
    right: 0;
    transition: all 0.3s ease;
    background-color: #00337c;
  }

  .vv_grid_section {
    width: 100%;
  }

  .vv_top_nav {
    position: sticky;
    background-color: #00337c;
    height: 5rem;
    /* width: auto; */
    width: 100vw;
    top: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
  }
}

.index_buttons {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.index_btn_prev {
  margin-right: 0.5rem !important;
}

.index_btn_prev_disabled {
  margin-right: 0.5rem !important;
}

.index_btn_prev_disabled,
.index_btn_next_disabled {
  background-color: #00337c !important;
  border-radius: 5px;
  color: #ffffff !important;
  font-size: 0.875rem !important;
  padding: 0.5rem 1rem !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  transition: 0.3s ease;
}

.index_btn_prev,
.index_btn_next {
  background-color: #00337c !important;
  border-radius: 5px;
  color: #ffffff !important;
  font-size: 0.875rem !important;
  padding: 0.5rem 1rem !important;
  transition: 0.3s ease;
}

.index_btn_prev:hover,
.index_btn_next:hover {
  background-color: #002558 !important;
}

.vas_transaction_table {
  font-size: 0.875rem;
  max-height: 40vh;
  overflow: auto;
}

.vas_transaction_table_header th {
  position: sticky; /* Make the <th> elements sticky */
  top: 0; /* Stick to the top of the container */
  background-color: #00337c !important;
  /* Set a background color for the sticky header */
  color: #f1f1f1;
  z-index: 1; /* Add a higher z-index to keep the header above the table body */
}

.vas_transaction_table::-webkit-scrollbar {
  width: 5px; /* Width of the scrollbar */
}

.vas_transaction_table::-webkit-scrollbar-track {
  background-color: #f1f1f1; /* Color of the track */
}

.vas_transaction_table::-webkit-scrollbar-thumb {
  background-color: #00337c; /* Color of the thumb */
  border-radius: 3px; /* Rounded corners of the thumb */
}

.vas_transaction_table::-webkit-scrollbar-thumb:hover {
  background-color: #00337c; /* Color of the thumb on hover */
}

.transactionTableHeaderContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.transactionTableFilterContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 0.3rem;
  border: 0.5px solid #002558;
}

.transactionTableFilterWrapper {
  margin: 0.5rem 0;
  width: 95%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.transactionTableFilterWrapperLeft {
  width: 80%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.transactionTableFilterInputWrapper label {
  font-weight: 700;
  font-size: var(--P-MEDIUM);
}

.transactionTableFilterInputWrapper input,
.transactionTableFilterInputWrapper input[type='date'],
.transactionTableFilterInputWrapper input[type='text'],
.transactionTableFilterInputWrapper select {
  font-weight: 500;
  font-size: var(--P-MEDIUM);
  padding: 0.5rem 1rem;
  opacity: 0.8;
  border: none;
  outline: none;
}

.transactionTableFilterWrapperRight {
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.transactionTableFilterBtn {
  margin: 0.3rem 0;
}

.transactionTableDownloadBTN,
.transactionTableFilterBtn {
  background-color: #00337c !important;
  border-radius: 5px;
  color: #ffffff !important;
  font-size: 0.875rem !important;
  padding: 0.8rem 1rem !important;
  transition: 0.3s ease;
  text-transform: capitalize !important;
}

.transactionTableDownloadBTN:hover,
.transactionTableDownloadBTN:active,
.transactionTableFilterBtn:hover,
.transactionTableFilterBtn:active {
  background-color: #002558 !important;
}

@media screen and (max-width: 768px) {
  .transactionTableHeaderContainer {
    flex-direction: column;
  }

  .transactionTableFilterWrapper {
    width: 100%;

    flex-direction: column;
  }

  .transactionTableFilterWrapperLeft {
    grid-template-columns: repeat(1, 1fr);
    gap: 0.8rem;
  }

  .transactionTableFilterWrapperRight {
    width: 100%;
  }

  .transactionTableFilterBtn {
    margin: 0.5rem 0;
  }
}
