.sv-referral-card .sv-card-header {
  margin-bottom: 16px;
}

.sv-referral-card .sv-helper-text {
  max-width: 760px;
}

.sv-referral-share {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(220px, 1.3fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.sv-referral-share label {
  display: grid;
  gap: 6px;
  color: #61705d;
  font-size: 13px;
  font-weight: 800;
}

.sv-referral-share input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #d8cfba;
  border-radius: 14px;
  background: #ffffff;
  color: #263324;
  font-size: 14px;
}

.sv-referral-copy {
  min-width: 150px;
}

.sv-referral-progress {
  overflow: hidden;
  height: 10px;
  max-width: 520px;
  margin-top: 16px;
  border-radius: 999px;
  background: #edf2e6;
}

.sv-referral-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2f6b36;
}

.sv-referral-status-grid {
  margin-bottom: 0;
}

.sv-referral-history {
  margin-top: 26px;
}

.sv-referral-history h3 {
  margin: 0 0 14px;
}

.sv-referral-history-table {
  margin-bottom: 0;
}

.sv-referral-history-table th,
.sv-referral-history-table td {
  vertical-align: top;
}

@media (max-width: 760px) {
  .sv-referral-share {
    grid-template-columns: 1fr;
  }

  .sv-referral-copy {
    width: 100%;
  }
}
