.referral-card-wrapper {
  width: 100%;
  height: 156px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.referral-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.referral-card-body p {
  color: #9c9da3;
}

.total-referral-info-container {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0e2225;
  padding: 10px;
}

.total-referral-info {
  width: 100%;
  background: #c38c5c;
  gap: 7px;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  font-family: "Uber Move";
  line-height: 140%;
  color: #ffffff;
  padding: 20px 10px 10px;
  position: relative;
  z-index: 2;
}

.total-referral-info h2 {
  font-weight: 500;
  padding-bottom: 4px;
  color: #fff;
}
.total-referral-codes {
  display: flex;
  gap: 20px;
  align-items: center;
}

.total-referral-rebates {
  background: #0e2225;
  border-radius: 0px 0px 16px 16px;
  padding: 35px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  bottom: 15px;
}

.total-referral-rebates h2 {
  font-weight: 500;
  padding-bottom: 6px;
}

.total-referral-rebates .total-referral-rebates-div {
  border-radius: 20px;
  background: linear-gradient(
    134deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  padding: 10px;
  border: 1px solid rgb(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.total-referral-rebates span {
  font-weight: 500;
  font-size: 26px;
}

.referral-copy-container {
  display: flex;
  gap: 20px;
  cursor: pointer;
  justify-content: space-between;
  border-radius: 14px;
  background: linear-gradient(
    134deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: 0.6s cubic-bezier(0.79, 0.01, 0.15, 0.99);
}

.referral-copy-container:hover {
  opacity: 0.8;
}

.referral-copy-container p {
  /* min-width: 382px; */
  overflow-x: hidden;
}

.referral-copy-svg {
  min-width: 24;
  min-height: 24;
}

.referral-tooltip {
  position: absolute;
  right: 0;
  top: -10px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(56px);
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
}

.referral-tooltip-visible {
  opacity: 1;
}

.referral-tooltip svg {
  position: relative;
  width: 100%;
  height: 100%;
}

.referral-tooltip p {
  position: absolute;
  top: 25%;
  text-align: center;
}

@media only screen and (max-width: 1025px) {
  .total-referral-info-container {
    padding: 0;
  }
  .referral-tooltip {
    transform: translateX(0);
  }
}

@media only screen and (max-width: 500px) {
  .total-referral-codes {
    flex-direction: column;
    align-items: flex-start;
  }
  .total-referral-codes div {
    width: 100%;
  }
}

@media only screen and (max-width: 300px) {
  .referral-content-info_buttons {
    gap: 20px;
  }
  .referral-content-main > h2 {
    font-size: 50px;
  }
}
