/* Share & Earn referral card on the upsell success page */
.ref-section {
  background: #161616;
  border: 1px solid #222222;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}
.ref-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.ref-sub {
  font-size: 0.9rem;
  color: #A0A0A0;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.ref-link-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.ref-link-input {
  flex: 1;
  background: #0D0D0D;
  border: 1px solid #222222;
  border-radius: 6px;
  padding: 0.75rem 0.85rem;
  color: #F5F5F5;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  min-width: 0;
  text-align: left;
}
.ref-link-input:focus { border-color: #FF4D00; }
.ref-copy-btn {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.ref-copy-btn:hover { background: #FFFFFF; color: #0D0D0D; }
.ref-copy-btn:disabled { opacity: 0.7; cursor: default; }
.ref-share-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}
.ref-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #222222;
  background: #0D0D0D;
  color: #F5F5F5;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}
.ref-share-btn:hover { background: #FF4D00; border-color: #FF4D00; color: #FFFFFF; transform: translateY(-1px); }
.ref-share-btn:active { transform: scale(0.96); }
.ref-share-btn svg { width: 18px; height: 18px; fill: currentColor; display: block; }
