/* === TOP */
.wakatee_earnings_top {
  margin: 1rem 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wakatee_earnings_top_left {
  width: 50%;
  display: flex;
  align-items: center;
}
.wakatee_earnings_time_filter_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border: 1px solid #e0e2e7;
  border-radius: 0.5rem;
  padding: 0.3rem;
}
.wakatee_earnings_time_filter,
.wakatee_earnings_time_filter_active {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  font-weight: 500;
  transition: all 300ms ease-in;
  cursor: pointer !important;
}
.wakatee_earnings_time_filter {
  color: #667085;
}
.wakatee_earnings_time_filter_active {
  color: #2b4b1b;
  background-color: #f3f5f2;
  border-radius: 0.8rem;
}

.wakatee_earnings_top_right {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.wakatee_earnings_top_right_content_wrapper {
  display: flex;
  align-items: center;
}
.wakatee_earnings_date_picker {
  margin-right: 1rem;
  padding: 0.3rem 0.5rem;
  background-color: #ffffff;
  border-radius: 0.5rem;
}
.wakatee_earnings_date_picker input[type='date'] {
  border: none !important;
  outline: none !important;
  background-color: transparent !important;
  font-weight: 300;
  font-size: 1.3rem;
  color: #667085;
}

.wakatee_earnings_top_right_content_wrapper button {
  text-transform: capitalize;
  padding: 1rem 1.3rem;
  font-weight: 500;
  font-size: 1.3rem;
  color: #f2f2f2;
  background-color: #2b4b1b !important;
  outline: none;
  border: none;
  border-radius: 0.5rem;
  transition: background-color 200ms ease;
}
.wakatee_earnings_top_right_content_wrapper button:hover {
  cursor: pointer;
  background-color: #4d8531 !important;
  border: none;
  outline: none;
}
.wakatee_earnings_top_right_content_wrapper button span {
  margin-left: 0.3rem;
  font-weight: 500;
  font-size: 1.3rem;
  color: #f2f2f2;
}

/* === CENTER */
.wakatee_earnings_center {
  margin: 1rem 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wakatee_earnings_center_card {
  width: 32%;
  padding: 0.8rem 2rem;
  background-color: #ffffff;
  border-radius: 0.8rem;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.wakatee_earnings_card_icon_wrapper span {
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e0e2e7;
}
.wakatee_earnings_card_icon_wrapper span i {
  font-size: 2rem;
  color: #2b4b1b;
}

.wakatee_earnings_card_desc_wrapper {
  display: flex;
  align-items: center;
  color: #667085;
  font-size: 1.3rem;
  font-weight: 400;
  padding: 0.8rem 0;
}
.wakatee_earnings_card_content_wrapper {
  display: flex;
  align-items: center;
}
.wakatee_card_revenue {
  color: #333843;
  font-weight: 600;
  font-size: 2rem;
}
.card_revenue_increase,
.card_revenue_descrease {
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 30%;
}
.card_revenue_increase {
  background-color: #e7f4ee;
  color: #0d894f;
}
.card_revenue_descrease {
  background-color: #feedec;
  color: #f04438;
}

/* === BOTTOM */

.wakatee_earnings_bottom_title {
  font-weight: 600;
  font-size: 1.8rem;
}
.wakatee_earnings_bottom_nav_tab {
  width: 25%;
}
.wakatee_earnings_bottom_table_wrapper {
  width: 100%;
  margin-top: 1rem;
}
.wakatee_earnings_table {
  width: 100%;
  margin: 0 auto;
  max-height: 40vh;
  overflow: auto !important;
  border-radius: 1rem 1rem 0 0;
}
.sticky-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: #f9f9fc !important;
  z-index: 1; /* Add a higher z-index to keep the header above the table body */
  font-size: 1.3rem;
}
/* Target the scrollbar */
.wakatee_earnings_table::-webkit-scrollbar {
  width: 5px; /* Adjust the width as needed */
  height: 5px; /* Adjust the width as needed */
}

/* Track style */
.wakatee_earnings_table::-webkit-scrollbar-track {
  background: #f1f1f1; /* Track background color */
}
/* Handle style */
.wakatee_earnings_table::-webkit-scrollbar-thumb {
  background-color: #2b4b1b !important;
  /* Scrollbar handle color */
}
/* Handle on hover */
.wakatee_earnings_table::-webkit-scrollbar-thumb:hover {
  background-color: #2b4b1b !important;
  /* Scrollbar handle color on hover */
}
.wakatee_earnings_table tbody td {
  font-size: 1.12rem;
  color: #667085;
}
.wakatee_earnings_table_td {
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.earnings_transaction_table_image {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.earnings_transaction_table_image img {
  border-radius: 0.2rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.earnings_transaction_table_title {
  margin-left: 0.4rem;
}
.earnings_transaction_table_title_text {
  color: #333843;
  font-weight: 600;
}
.earnings_transaction_table_title_id {
  color: #667085;
  font-weight: 400;
  font-size: 1rem;
}
.earnings_transaction_table_onhold_status {
  margin: auto;
  padding: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10rem;
  background-color: #faebce;
  color: #f6a609;
}
.earnings_transaction_table_dispute_status {
  margin: auto;
  padding: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10rem;
  background-color: #feedec;
  color: #f04438;
}
.earnings_transaction_table_completed_status {
  margin: auto;
  padding: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10rem;
  background-color: #e7f4ee;
  color: #0d894f;
}
.earnings_transaction_table_action {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.earnings_transaction_table_action i {
  font-size: 1.3rem;
}

/* Mobile */
@media (max-width: 700px) {
  .wakatee_earnings_top {
    flex-direction: column-reverse;
  }
  .wakatee_earnings_top_left {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
  .wakatee_earnings_time_filter_wrapper {
    padding: 0.3rem;
  }
  .wakatee_earnings_time_filter,
  .wakatee_earnings_time_filter_active {
    font-size: 1.12rem;
    font-weight: 400;
  }
  .wakatee_earnings_top_right {
    margin-bottom: 0.5rem;
    width: 100%;
    justify-content: space-between;
  }
  .wakatee_earnings_top_right_content_wrapper {
    width: 100%;
    justify-content: space-between;
  }
  .wakatee_earnings_date_picker {
    margin-right: 0;
  }

  .wakatee_earnings_center {
    flex-direction: column;
  }
  .wakatee_earnings_center_card {
    margin: 1rem 0;
    width: 100%;
    padding: 1rem;
  }
  .wakatee_earnings_card_icon_wrapper span {
    height: 3rem;
    width: 3rem;
  }
  .wakatee_earnings_card_icon_wrapper span i {
    font-size: 1.8rem;
  }

  .wakatee_earnings_bottom_nav_tab {
    width: 60%;
  }
}

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