.client-referral-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 16px;
  padding: 0;
  list-style: none;
}

.client-referral-progress li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #72808d;
  font-weight: 700;
}

.client-referral-progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  left: calc(50% + 18px);
  width: calc(100% - 28px);
  height: 2px;
  background: #dce5e8;
}

.client-referral-progress li.is-done:not(:last-child)::after {
  background: #14968e;
}

.client-referral-progress span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid #d3dde1;
  border-radius: 50%;
  background: #f7fafb;
  font-size: 12px;
}

.client-referral-progress li.is-active,
.client-referral-progress li.is-done {
  color: #08726f;
}

.client-referral-progress li.is-active span,
.client-referral-progress li.is-done span {
  border-color: #14968e;
  background: #e3f7f2;
  box-shadow: 0 5px 14px rgba(7, 114, 111, .14);
}

.client-referral-progress small {
  font-size: 11px;
  letter-spacing: .02em;
}

.client-install-suggestion.is-inline {
  position: relative !important;
  inset: auto !important;
  z-index: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 18px 0 88px !important;
  transform: none !important;
  box-sizing: border-box;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(10, 42, 51, .12) !important;
}

.client-points-pending {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: 10px !important;
  padding: 7px 11px;
  border: 1px solid rgba(192, 143, 42, .28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 246, 219, .9), rgba(250, 252, 249, .92));
  color: #74530c;
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: none;
}

.client-points-pending strong {
  font-size: 13px !important;
  color: #8b6410;
}

.client-points-pending span {
  color: #8b6410;
  font-size: 18px;
  line-height: .8;
  transition: transform .16s ease;
}

.client-points-pending:hover,
.client-points-pending:focus-visible {
  border-color: rgba(161, 112, 18, .52);
  background: #fff8df;
  outline: none;
}

.client-points-pending:hover span,
.client-points-pending:focus-visible span {
  transform: translateX(2px);
}

.client-points-pending-dialog {
  max-width: 430px;
}

.client-points-pending-rule {
  margin: 16px 0 20px;
}

@media (max-width: 640px) {
  .client-referral-progress {
    gap: 4px;
    margin-bottom: 12px;
  }

  .client-referral-progress li:not(:last-child)::after {
    left: calc(50% + 15px);
    width: calc(100% - 22px);
  }

  .client-referral-progress span {
    width: 27px;
    height: 27px;
  }

  .client-install-suggestion.is-inline {
    margin: 14px 0 82px !important;
    padding: 16px !important;
  }
}
