* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Lora', sans-serif;
}

html {
  font-size: 62.5% !important;
  scroll-behavior: smooth !important;
}

html,
body {
  width: 100vw !important;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.facility_owner_dashboard_container {
  width: 100vw;
  height: 100vh;

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

.facility_owner_dashboard_header {
  z-index: 5;
  background-color: #ffffff;
  grid-area: header;

  box-shadow: rgba(50, 50, 93, 0.25) 0px 4px 5px -2px,
    rgba(0, 0, 0, 0.3) 0px 2px 3px -2px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.facility_owner_dashboard_aside {
  z-index: 5;
  grid-area: aside;
  background-color: #2b4b1b;
}

.facility_owner_dashboard_main {
  background-color: #eeeeee !important;
  grid-area: main;
  display: flex;
  justify-content: space-between;
}

.main_inner_section {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.dashboard_overview_container {
  width: 95%;
  max-height: 100%;
}

/* === GENERAL TABLE === */
.wakatee_general_table {
  width: 100%;
  margin: 0 auto;
  max-height: 60vh;
  overflow: auto;
  border-radius: 1rem 1rem 0 0;
}

.wakatee_general_table_header th {
  position: sticky; /* Make the <th> elements sticky */
  top: 0; /* Stick to the top of the container */
  background-color: #2b4b1b !important;
  /* Set a background color for the sticky header */
  color: #f1f1f1 !important;
  font-size: 1.3rem;
  text-align: center;
  z-index: 1; /* Add a higher z-index to keep the header above the table body */
}

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

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

.wakatee_general_table::-webkit-scrollbar-thumb {
  background-color: #2b4b1b; /* Color of the thumb */
  border-radius: 3px; /* Rounded corners of the thumb */
}

.wakatee_general_table::-webkit-scrollbar-thumb:hover {
  background-color: #2b4b1b; /* Color of the thumb on hover */
}

.wakatee_general_table td {
  font-weight: 500;
  font-size: 1.1rem;
}

/* === TOOLTIP */
.wakatee_info_tooltip > i,
.kyc_info_tooltip > i {
  color: #2b4b1b;
}
.wakatee_info_tooltip,
.kyc_info_tooltip {
  position: relative;
}

.wakatee_info_tooltip:before,
.wakatee_info_tooltip:after,
.kyc_info_tooltip:before,
.kyc_info_tooltip:after {
  position: absolute;
  content: '';
  opacity: 0;
  transition: all 300ms ease;
}

.wakatee_info_tooltip:before {
  border-width: 10px 8px 0 8px;
  border-style: solid;
  border-color: #2b4b1b transparent transparent transparent;
  top: -15px;
  transform: translateY(20px);
}

.kyc_info_tooltip:before {
  border-width: 10px 8px 0 8px;
  border-style: solid;
  border-color: #2b4b1b transparent transparent transparent;
  bottom: -15px;
  transform: translateY(20px);
}

.wakatee_info_tooltip:after {
  content: attr(data-tooltip);
  padding: 5px;
  background: #2b4b1b;
  color: #ffffff;
  width: 20rem;
  /* height: 4rem; */
  font-size: 0.875rem;
  font-weight: 400;
  top: -50px;
  left: -10px;
  border-radius: 5px;
  letter-spacing: 1px;
  transform: translateY(20px);
}

.kyc_info_tooltip:after {
  content: attr(data-tooltip);
  padding: 5px;
  background: #2b4b1b;
  color: #ffffff;
  width: 20rem;
  /* height: 4rem; */
  font-size: 0.875rem;
  font-weight: 400;
  bottom: -50px;
  left: -10px;
  border-radius: 5px;
  letter-spacing: 1px;
  transform: translateY(20px);
}

.wakatee_info_tooltip:hover::before,
.wakatee_info_tooltip:hover::after,
.kyc_info_tooltip:hover::before,
.kyc_info_tooltip:hover::after {
  opacity: 1;
  transform: translateY(-2px);
}
/* === TOOLTIP end */

/* === GENERAL TABLE end === */

/* === PAGE-SPINNER === */
.page_loader_container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}

.loader {
  width: 40px;
  --b: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #2b4b1b;
  -webkit-mask: repeating-conic-gradient(
      #0000 0deg,
      #000 1deg 70deg,
      #0000 71deg 90deg
    ),
    radial-gradient(
      farthest-side,
      #0000 calc(100% - var(--b) - 1px),
      #000 calc(100% - var(--b))
    );
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
  animation: l5 1s infinite;
}
@keyframes l5 {
  to {
    transform: rotate(0.5turn);
  }
}

/* === PAGE-SPINNER end === */

/* Mobile */
@media (max-width: 700px) {
  .facility_owner_dashboard_container {
    grid-template-columns: 1fr;
    grid-template-rows: 7rem 1fr;
    grid-template-areas:
      'header'
      'main';
  }

  .facility_owner_dashboard_header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 7rem;
    z-index: 10;
    background-color: #ffffff;
    grid-area: header;
  }

  .facility_owner_dashboard_aside {
    display: none;
  }

  .facility_owner_dashboard_main {
    grid-area: main;
  }

  .main_inner_section {
    width: 100%;
    height: auto;
  }
}

/* Tablet and Smaller Desktop */
@media (min-width: 701px) and (max-width: 1120px) {
}
