/* Referral page styles split from base.css. */

.referral-result {
  margin-top: 16px;
}

.referral-card {
  display: grid;
  gap: 18px;
}

.referral-code-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
  border-radius: 18px;
  background: #f8fafc;
  padding: 16px;
}

.referral-code-box small {
  grid-column: 1 / -1;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.referral-code-box strong {
  color: #000000;
  font-size: clamp(36px, 13vw, 68px);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: 0;
}

.referral-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.referral-stats div,
.referral-rewards div {
  display: grid;
  gap: 6px;
  border-radius: 16px;
  background: #f8fafc;
  padding: 14px;
}

.referral-stats small,
.referral-rewards small {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
}

.referral-stats b,
.referral-rewards span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #000000;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
}

.referral-rewards {
  display: grid;
  gap: 10px;
}

.referral-rewards p {
  margin: 0;
  border-radius: 16px;
  background: #f8fafc;
  color: #6b7280;
  padding: 14px;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 640px) {
  .referral-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}
