.lv_partner_dashboard > div {
  margin-top: -20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: 0.3s;
  padding-left: 24px;
  padding-right: 24px;
}
/* Common Styles */
/* Box Styles */
.lv_partner_dashboard button,
.lv_partners_page button {
  color: var(--white-color);
  background-color: var(--primary-color);
  font-size: 16px;
  line-height: 1.2;
  padding: 7px 15px;
  border-radius: 8px;
  border: 1px solid var(--primary-color);
}
.lv_partner_dashboard button:hover,
.lv_partners_page button:hover {
  color: var(--white-color);
  background-color: #358391;
}
.lv_partner_dashboard button:focus,
.lv_partner_dashboard input:focus,
.lv_partners_page button:focus,
.lv_partners_page input:focus {
  outline: 0;
}
.lv_box_wrapper {
  border-radius: 15px;
  background-color: var(--white-color);
  border: 1px solid var(--six-color);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03),
    0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02);
}
.lv_box_item_top {
  padding: 15px 24px;
  border-bottom: 1px solid var(--six-color);
}
.lv_box_item_top h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}
.lv_box_item_top p {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 600;
}
.lv_box_item_bottom {
  padding: 24px;
}
/* Box 2 Styles */
.lv_box2_wrapper {
  border: 1px solid var(--six-color);
  border-radius: 10px;
}
.lv_box2_item_top {
  padding: 10px 15px;
  border-bottom: 1px solid var(--six-color);
}
.lv_box2_item_top h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.lv_box2_item_bottom {
  padding: 10px 15px;
}
.lv_summary_section .lv_summary_items,
.lv_qr_section .lv_qr_items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Lumi Volume Style & Bonus Volume Style & Product Volume Style & Live Commissions Chart Style */
.lv_partner_dashboard #lumiVolumeChart > div,
.lv_partner_dashboard #bonusVolumeChart > div,
.lv_partner_dashboard #productVolumeChart > div,
.lv_partner_dashboard #liveCommissionsChart > div,
.lv_partner_dashboard #lumiVolumeChart2 > div,
.lv_partner_dashboard #productVolumeChart2 > div,
.lv_partner_dashboard #bonusVolumeChart2 > div,
.lv_partner_dashboard #lvPartnersChart > div,
.lv_partner_dashboard #lvCustomersChart > div {
  width: 100% !important;
  max-width: 100%;
}
.lv_partner_dashboard #lumiVolumeChart svg,
.lv_partner_dashboard #bonusVolumeChart svg,
.lv_partner_dashboard #productVolumeChart svg,
.lv_partner_dashboard #liveCommissionsChart svg,
.lv_partner_dashboard #lumiVolumeChart2 svg,
.lv_partner_dashboard #bonusVolumeChart2 svg,
.lv_partner_dashboard #productVolumeChart2 svg,
.lv_partner_dashboard #lvPartnersChart svg,
.lv_partner_dashboard #lvCustomersChart svg {
  width: 100%;
  max-width: 100%;
}
.lv_partner_dashboard #lumiVolumeChart .apexcharts-yaxistooltip,
.lv_partner_dashboard #bonusVolumeChart .apexcharts-yaxistooltip,
.lv_partner_dashboard #productVolumeChart .apexcharts-yaxistooltip,
.lv_partner_dashboard #liveCommissionsChart .apexcharts-yaxistooltip,
.lv_partner_dashboard #lumiVolumeChart2 .apexcharts-yaxistooltip,
.lv_partner_dashboard #bonusVolumeChart2 .apexcharts-yaxistooltip,
.lv_partner_dashboard #productVolumeChart2 .apexcharts-yaxistooltip,
.lv_partner_dashboard #lvPartnersChart .apexcharts-yaxistooltip,
.lv_partner_dashboard #lvCustomersChart .apexcharts-yaxistooltip {
  display: none !important;
}

/* Level Section */
.lv_level_section .lv_level_items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.lv_level_items .lv_level_item {
  padding: 20px 30px;
  border: 1px solid var(--six-color);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(
    135deg,
    rgb(245, 245, 245),
    rgb(255, 255, 255),
    rgb(211, 211, 211),
    rgb(169, 169, 169)
  );
  box-shadow: 3px 3px 5px 1px rgba(0, 0, 0, 0.16);
  min-height: 320px;
}
.lv_level_items .lv_level_item.silver_light {
  background: linear-gradient(
    135deg,
    rgb(245, 245, 245),
    rgb(255, 255, 255),
    rgb(211, 211, 211),
    rgb(169, 169, 169)
  );
}
.lv_level_items .lv_level_item.golden_light {
  background: linear-gradient(
    135deg,
    rgb(249, 242, 149),
    rgb(224, 170, 62),
    rgb(250, 243, 152),
    rgb(184, 138, 68)
  );
}
.lv_level_items .lv_level_item.platinum_light {
  background: linear-gradient(
    135deg,
    rgb(216, 191, 247),
    rgb(233, 217, 251),
    rgb(207, 193, 244),
    rgb(245, 243, 253)
  );
}
.lv_level_items .lv_level_item.tri_light {
  background: linear-gradient(
    135deg,
    rgb(191, 0, 255),
    rgb(225, 190, 231),
    rgb(186, 90, 205),
    rgb(236, 236, 236)
  );
}
.lv_level_items .lv_level_item.quartz {
  background-image: linear-gradient(135deg, #ffc4c4, #fff5e6, #ffd2b8, #f7d9c4);
}
.lv_level_items .lv_level_item.topaz {
  background-image: linear-gradient(135deg, #d0d9ed, #b0c2e1, #f2f6fc, #8398b9);
}
.lv_level_items .lv_level_item.crystal {
  background: linear-gradient(
    135deg,
    rgb(199, 234, 204),
    rgb(240, 252, 227),
    rgb(168, 217, 170),
    rgb(129, 184, 106)
  );
}
.lv_level_items .lv_level_item.onyx {
  background: linear-gradient(
    135deg,
    rgb(215, 233, 247),
    rgb(185, 217, 243),
    rgb(240, 250, 255),
    rgb(122, 183, 237)
  );
}
.lv_level_item .lv_level_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: visible;
  opacity: 1;
  background-color: #111827b3;
  z-index: 1;
}
.lv_level_item span.lv_level_check_circle {
  position: absolute;
  z-index: 1;
  right: 15px;
  top: 15px;
}
.lv_level_item span.lv_level_check_circle svg {
  width: 48px;
  height: 48px;
}
.lv_level_item .lv_level_received_date {
  position: absolute;
  top: 80px;
  right: 15px;
  /* transform: translateX(-50%); */
  background-color: black;
  white-space: nowrap;
  color: white;
  z-index: 1;
  padding: 3px 10px;
  border-radius: 5px;
  font-weight: 600;
}
.lv_level_item .lv_level_received_text {
  white-space: nowrap;
  padding: 12px 24px;
  background-color: #22c55e;
  position: absolute;
  top: 50%;
  left: 50%;
  color: white;
  z-index: 1;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0px 8px 24px -6px rgba(0, 0, 0, 0.16),
    0px 0px 1px rgba(0, 0, 0, 0.4);
  transform: rotate(12deg) translate(-50%);
  width: max-content;
}
.lv_level_item .lv_level_title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0;
}
.lv_level_item .lv_level_progress {
  width: 100%;
  height: 8px;
  margin-bottom: 5px;
  border-radius: 50px;
  background-color: rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}
.lv_level_item .lv_level_progress::before {
  content: "";
  width: 40%;
  height: 100%;
  border-radius: 50px;
  background-color: rgb(106, 206, 197);
  position: absolute;
  left: 0;
  top: 0;
  box-shadow: 2px 0 5px 0px rgba(0, 0, 0, 0.1);
}
.lv_level_item .lv_progress_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
}
.lv_level_item .lv_level_notice {
  font-size: 14px;
  font-weight: 400;
  color: #dc2626;
  margin-bottom: -15px;
}
.lv_level_item .lv_level_date_text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-color);
  margin-bottom: 10px;
}
.lv_level_item .lv_level_date_text strong {
  font-weight: 600;
}
.lv_level_item .lv_level_reward {
  padding: 10px;
  border: 1px solid #fef08a;
  border-radius: 12px;
  background-color: #fefce8;
  margin-top: auto;
}
.lv_level_item .lv_level_reward h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  text-align: center;
  color: #854d0e;
}
.lv_level_item .lv_level_reward p {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
  text-align: center;
  line-height: 1.2;
}
/* Legs Section Style */
.lv_legs_section .lv_legs {
  display: flex;
  align-items: start;
  gap: 10px;
}
.lv_legs_section .lv_legs .lv_leg-1 {
  width: 70%;
}
.lv_legs_section .lv_legs .lv_leg-2 {
  width: 30%;
}
.lv_legs_section .lv_leg2_table_wrapper {
  overflow: auto hidden;
  margin-bottom: 15px;
}
.lv_legs_section .lv_leg2_table {
  width: 600px;
  min-width: 100%;
  margin: 0;
}
.lv_legs_section .lv_leg_filter {
  background-color: #f3f4f6;
  border: 2px solid #e5e7eb;
  padding: 20px 30px;
  border-radius: 10px;
}
.lv_legs_section .lv_leg_filter_form {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
  font-size: 16px;
}
.lv_legs_section .lv_leg_filter_form .form-row {
  display: flex;
  gap: 8px;
}
.lv_legs_section .lv_leg_filter_form input,
.lv_legs_section .lv_leg_filter_form select {
  background-color: var(--white-color);
  line-height: 1.2;
  padding: 8px 15px;
  border-radius: 8px;
  border: 1px solid var(--six-color);
  flex: 1;
}
.lv_legs_section .lv_leg_filter_form input[type="submit"] {
  flex: 0 0 100%;
  width: 100%;
  background-color: var(--primary-color);
  color: var(--white-color);
  font-weight: 500;
}
.lv_legs_section .lv_top_legs {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}
.lv_legs_section .lv_top_legs .lv_top_leg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 15px;
}
.lv_legs_section .lv_top_leg > div {
  flex: 1;
}
.lv_legs_section .lv_top_leg > div:last-child {
  flex: none;
  font-size: 20px;
}
.lv_legs_section .lv_top_leg .lv_top_leg_profile {
  display: flex;
  gap: 15px;
  align-items: center;
}
.lv_legs_section .lv_top_leg a {
  line-height: 1;
  color: var(--text-color);
}

.lv_legs_section .lv_top_leg img {
  width: 48px;
  height: 48px;
}
.lv_legs_section .lv_top_leg .lv_top_leg_profile > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lv_legs_section .lv_top_leg .lv_top_leg_profile a.name {
  font-weight: 600;
  font-size: 18px;
  color: #1677ff;
}
.lv_legs_section .lv_top_leg .lv_top_leg_content p {
  margin-bottom: 0;
  line-height: 1.4;
}
/* QR Section Style */
.lv_qr_section .qr_code_container {
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 10px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f8fafc; */
}
.lv_qr_section .qr_code_container img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  padding: 5px;
  background-color: white;
  display: inline-block;
}
.lv_qr_section .link_container {
  border: 1px solid var(--six-color);
  border-radius: 8px;
  /* padding: 5px 8px; */
  overflow: hidden;
  transition: 0.5s;
  display: flex;
  align-items: stretch;
  margin-top: 10px;
  margin-bottom: 10px;
}
.lv_qr_section .link_container:hover {
  border-color: var(--primary-color);
}
.lv_qr_section .link_container input {
  border: 0;
  outline: 0;
  flex: 1;
  background-color: transparent;
  padding: 5px 10px;
  box-shadow: none;
}
.lv_qr_section .link_container input:focus {
  border: 0;
  outline: 0;
  background-color: transparent;
}
.lv_qr_section .link_container button {
  color: var(--text-color);
  background-color: transparent;
  font-size: 13px;
  /* padding: 5px 10px; */
  border-radius: 0px;
  border-left: 1px solid var(--six-color);
}
.lv_qr_section button.download_btn {
  width: 100%;
  padding: 10px;
}

/* Overview Section */
.lv_overview_section {
  display: flex;
  gap: 10px;
}
.lv_overview_section .lv_overview_left {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lv_overview_section .lv_left_top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.lv_overview_section .lv_metrics_items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}
.lv_overview_section .lv_metrics_items .lv_metric_item {
  text-align: center;
}
.lv_overview_section .circle-container {
  position: relative;
  width: 130px;
  height: 130px;
}
.lv_overview_section .circle-container svg {
  transform: rotate(-90deg);
}
.lv_overview_section .circle-container svg circle:first-child {
  fill: none;
  stroke: #e0e0e0;
  stroke-width: 12;
}
.lv_overview_section .circle-container svg circle:last-child {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
  stroke: #2196f3;
}
/* .lv_overview_section .circle-container svg .circle-fill.blue {
  stroke: #2196f3;
}
.lv_overview_section .circle-container svg .circle-fill.purple {
  stroke: #9c27b0;
} */
.lv_overview_section .circle-container p.number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0;
}
.lv_overview_section .lv_metric_item p.label {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0;
  text-align: center;
  margin-top: 5px;
}
.lv_overview_section .lv_overview_right {
  width: 30%;
}
.lv_overview_section .st0 {
  fill: #fff;
}
.lv_overview_section .st1 {
  fill: #474035;
}
.lv_overview_section .st2 {
  fill: #58595b;
}
.lv_overview_section .st3 {
  fill: #847c70;
}
.lv_overview_section .st4 {
  fill: none;
  stroke: #000;
  stroke-width: 0.75;
  stroke-miterlimit: 10;
}
.lv_overview_section .st5 {
  stroke: #231f20;
  stroke-width: 0.75;
  stroke-miterlimit: 10;
}
.lv_overview_section .st6 {
  fill: none;
  stroke: #000;
  stroke-width: 0.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lv_overview_section .lv_bottle_wireframe {
  text-align: center;
}
.lv_overview_section .lv_bottle_wireframe svg {
  max-width: 180px;
}
.lv_overview_section .lv_achievement_items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lv_overview_section .lv_achievement_items .lv_achievement_item {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-radius: 8px;
  background-color: var(--six-color);
}
.lv_direct_v_section .lv_direct_items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* Report Section */
.lv_partner_dashboard th,
.lv_partner_dashboard td {
  padding: 5px 10px;
}
.lv_partner_dashboard th {
  border-bottom: 1px solid #f0f0f0;
}
.lv_partner_dashboard tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}
.lv_partner_dashboard tbody tr:hover {
  background-color: #f8f8f8;
}
.lv_partner_dashboard tbody tr td {
  background-color: transparent !important;
}

/* Commission Section */
.lv_commission_section .lv_tabs_list {
  padding-left: 20px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.lv_commission_section .lv_tabs_list .lv_tab_item {
  color: var(--text-color);
  background-color: var(--white-color);
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 8px 8px 0 0;
  border-width: 1px 1px 0px 1px;
  border-style: solid;
  border-color: var(--six-color);
}
.lv_commission_section .lv_tabs_list .lv_tab_item.active {
  background-color: var(--six-color);
}
.lv_commission_section .lv_tabs_content .lv_tab_panel {
  display: none;
}
.lv_commission_section .lv_tabs_content .lv_tab_panel.active {
  display: block;
}
.lv_commission_section .lv_com_filter h3 {
  font-size: 18px;
  line-height: 1;
}
.lv_commission_section .lv_com_filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lv_commission_section .lv_com_filter > div:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lv_commission_section .lv_com_filter button {
  border: 1px solid var(--primary-color);
}
.lv_commission_section .lv_com_filter button.active {
  background-color: white;
  color: var(--primary-color);
}
.lv_commission_section .lv_search {
  border: 1px solid var(--six-color);
  border-radius: 8px;
  /* padding: 5px 8px; */
  overflow: hidden;
  transition: 0.5s;
  display: flex;
  align-items: stretch;
  margin-bottom: 15px;
  background-color: transparent;
  overflow: hidden;
}
.lv_commission_section .lv_search input {
  width: 100%;
  background-color: transparent;
  padding: 5px 12px;
  box-shadow: none;
}
.lv_commission_section .lv_search input:focus {
  background-color: transparent;
  outline: 0;
}
.lv_commission_section .lv_search button {
  /* color: var(--text-color); */
  /* background-color: transparent; */
  border: 0;
  border-left: 1px solid var(--six-color);
  border-radius: 0;
}
.lv_commission_table_wrapper,
.lv_placement_table_wrapper,
.lv_report_table_wrapper,
.lv_partners_table_wrapper {
  overflow: scroll hidden;
}
.lv_commission_table_wrapper .lv_commission_table,
.lv_placement_table_wrapper .lv_placement_table,
.lv_report_table_wrapper .lv_report_table,
.lv_partners_table_wrapper .lv_partners_table {
  min-width: 1400px;
}
.lv_commission_table th:nth-child(1),
.lv_placement_table th:nth-child(1) {
  min-width: 250px;
}
.lv_commission_table th:nth-child(2) {
  min-width: 150px;
}
.lv_pagination {
  margin-top: 20px;
}
.lv_pagination ul {
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  justify-content: center;
}
.lv_pagination ul li .prev-page,
.lv_pagination ul li .next-page,
.lv_pagination ul li .page-number {
  /* background-image: radial-gradient(ellipse at top, #1e2d40, transparent 90%); */
  line-height: 1.2;
  padding: 7px 15px;
  border-radius: 8px;
  border: 1px solid var(--six-color);
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: white;
  color: var(--text-color);
  font-weight: 400;
  font-size: 16px;
}
.lv_pagination ul li .page-number.active {
  background-color: var(--six-color);
}
.lv_pagination ul li.pagination-numbers {
  display: flex;
  gap: 8px;
}
/* .lv_pagination ul li.disabled {
  background-color: var(--six-color);
  cursor: not-allowed;
} */

@media (max-width: 768px) {
  .lv_box_wrapper .lv_box_item_top {
    padding: 10px;
    text-align: center;
  }
  .lv_box_wrapper .lv_box_item_bottom {
    padding: 10px;
    grid-template-columns: repeat(1, 1fr);
  }
  .lv_level_section .lv_level_items {
    grid-template-columns: repeat(1, 1fr);
  }
  .lv_legs_section .lv_legs {
    flex-direction: column;
  }
  .lv_legs_section .lv_legs .lv_leg-1,
  .lv_legs_section .lv_legs .lv_leg-2,
  .lv_overview_section .lv_overview_left,
  .lv_overview_section .lv_overview_right {
    width: 100%;
  }
  .lv_legs_section .lv_leg_filter_form .form-row,
  .lv_overview_section {
    flex-direction: column;
  }
  .lv_legs_section .lv_leg_filter {
    padding: 15px 15px;
  }
  .lv_legs_section .lv_top_leg > div {
    flex: none;
  }
  .lv_legs_section .lv_top_leg .lv_top_leg_profile {
    flex: 1;
  }
  .lv_legs_section .lv_top_legs .lv_top_leg {
    flex-wrap: wrap;
    padding: 10px;
  }
  .lv_overview_section .lv_left_top {
    grid-template-columns: repeat(1, 1fr);
  }
  .lv_commission_section .lv_com_filter {
    flex-direction: column;
    gap: 10px;
  }
  .lv_commission_table_wrapper,
  .lv_placement_table_wrapper,
  .lv_report_table_wrapper,
  .lv_partners_table_wrapper {
    overflow: scroll;
  }
  .lv_commission_table,
  .lv_placement_table {
    min-width: 1400px;
  }
}
