.your_earnings_section {
  padding: 20px;
  border-radius: 16px;
}
.your_earnings_section .refer_box-wrapper {
  background: transparent linear-gradient(90deg, #19a0dc 0%, #09558f 100%) 0% 0%
    no-repeat padding-box;
  border-radius: 10px;
  padding: 20px;
}
.your_earnings_section .refer_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.your_earnings_section .refer_left {
  display: flex;
  flex: 1;
}
.your_earnings_section .refer_badge {
  background: #a3c526;
  color: #ffffff;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px 0 0 8px;
  white-space: nowrap;
}
.your_earnings_section .refer_left input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px;
  color: #6e6e6e;
  background: #ffffff;
  text-align: center;
  font-size: 16px;
}
.your_earnings_section .copy_btn {
  background: #d46300;
  color: #fff;
  border: none;
  font-size: 16px;
  padding: 10px 18px;
  border-radius: 0 8px 8px 0;
  font-weight: 400;
}
.your_earnings_section .refer_text {
  text-align: center;
  color: #ffffff;
  font-style: italic;
  font-weight: 300;
  margin: 10px 0 0;
  font-size: 18px;

  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;

  overflow: hidden;
}
.your_earnings_section .how_it_works {
  margin-top: 24px;
}
.your_earnings_section .how_it_works .heding {
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0px;
}
.your_earnings_section .how_it_works .desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: #1c1b1b;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.your_earnings_section .joining_bonus .heading {
  margin-bottom: 5px;
  font-size: 20px;
  color: #000000;
  font-weight: 600;
}
.your_earnings_section .bonus_levels {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 40px;
}
.your_earnings_section .bonus_levels span {
  color: #1c1b1b;
  font-size: 16px;
  font-weight: 600;
}
.your_earnings_section .bg-div {
  background: #f6f7f9;
  border-radius: 18px;
}
.your_earnings_section .earning_stats {
  margin-top: 30px;
  background-image: url("/assets/images/profile/bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 16px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.your_earnings_section .row-content {
  padding: 20px;
}
.your_earnings_section .stats_card {
  background: #ffffff2c;
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(30px);
}
.your_earnings_section .stats_card .number {
  font-size: 28px;
  font-weight: 600;
  color: #fffffff5;
  margin-bottom: 6px;
}
.your_earnings_section .stats_card .text {
  margin: 0;
  font-weight: 300;
  font-size: 16px;
  color: #ffffffe5;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.your_earnings_section .level_cards_grid {
  margin-top: 25px;
  gap: 16px;
}

@media (min-width: 0px) and (max-width: 1199px) {
  .your_earnings_section {
    padding: 10px;
  }
  .your_earnings_section .refer_box-wrapper {
    padding: 15px;
  }
  .your_earnings_section .refer_badge {
    font-size: 14px;
  }
  .your_earnings_section .refer_text {
    font-size: 15px;
  }
  .your_earnings_section .refer_left input {
    font-size: 14px;
  }

  .your_earnings_section .copy_btn {
    font-size: 14px;
  }
  .your_earnings_section .how_it_works {
    margin-top: 15px;
  }
  .your_earnings_section .how_it_works .heding {
    font-size: 24px;
    margin-bottom: 4px;
  }
  .your_earnings_section .how_it_works .desc {
    font-size: 14px;
  }
  .your_earnings_section .joining_bonus .heading {
    font-size: 18px;
  }
  .your_earnings_section .bonus_levels span {
    font-size: 14px;
  }
  .your_earnings_section .bonus_levels {
    gap: 5px 20px;
  }
  .your_earnings_section .stats_card .text {
    font-size: 14px;
  }
  .your_earnings_section .stats_card .number {
    font-size: 25px;
  }
  .your_earnings_section .earning_stats {
    gap: 12px;
  }
  .your_earnings_section .earning_stats {
    padding: 15px;
  }
  .your_earnings_section .stats_card {
    padding: 15px;
  }
  .your_earnings_section .row-content {
    padding: 13px;
  }
}
@media (min-width: 0px) and (max-width: 991.98px) {
  .your_earnings_section .earning_stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 19px;
  }
  .your_earnings_section .refer_text {
    font-size: 12px;
  }
  .your_earnings_section .refer_left input {
    padding: 6px 11px;
    font-size: 12px;
  }
  .your_earnings_section .refer_badge {
    font-size: 13px;
    padding: 6px 11px;
  }
  .your_earnings_section .copy_btn {
    font-size: 13px;
    padding: 6px 11px;
  }
  .your_earnings_section .how_it_works .heding {
    font-size: 22px;
  }
  .your_earnings_section .stats_card {
    padding: 12px;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .your_earnings_section {
    padding: 0 6px;
  }
  .your_earnings_section .stats_card .number {
    font-size: 22px;
  }
}
@media (min-width: 0px) and (max-width: 575.98px) {
  .your_earnings_section .how_it_works .heding {
    font-size: 18px;
  }
  .your_earnings_section {
    padding: 0;
  }
  .your_earnings_section .how_it_works .desc {
    margin: 0 0 10px;
  }
  .your_earnings_section .joining_bonus .heading {
    font-size: 16px;
  }
  .your_earnings_section .bonus_levels {
    gap: 3px 10px !important;
  }
  .your_earnings_section .bonus_levels span {
    font-size: 13px;
  }
  .your_earnings_section .stats_card .number {
    font-size: 18px;
  }
  .your_earnings_section .stats_card .text {
    font-size: 12px;
  }
  .your_earnings_section .earning_stats {
    margin-top: 10px;
    padding: 11px;
  }
  .your_earnings_section .row-content {
    padding: 9px;
  }
  .your_earnings_section .refer_text {
    font-size: 10px;
  }
  .your_earnings_section .refer_box {
    flex-direction: column;
    align-items: stretch;
  }

  .your_earnings_section .refer_left {
    width: 100%;
    flex-direction: column;
  }

  .your_earnings_section .refer_badge {
    width: 100%;
    border-radius: 8px 8px 0 0;
    text-align: center;
  }

  .your_earnings_section .refer_left input {
    width: 100%;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .your_earnings_section .copy_btn {
    width: 100%;
    border-radius: 0 0 8px 8px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
  }
}
