/* referral-extra.css - Refer & Earn page ke naye hisso ka design (referral.css ko chhua nahi) */

/* Link wali line (code ke neeche) */
.link-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.link-box {
  flex: 1;
  min-width: 0;
  background: #0a1233;
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Dosto ki list */
.friend { margin-bottom: 12px; }
.friend:last-child { margin-bottom: 0; }

.friend-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 6px;
}

.friend-status { color: var(--yellow); font-size: 12px; font-weight: 700; }

.friend-bar {
  height: 7px;
  background: #0a1233;
  border-radius: 6px;
  overflow: hidden;
}

.friend-bar div {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  border-radius: 6px;
  transition: width 0.4s;
}

.friend-empty { font-size: 13px; color: var(--muted); text-align: center; padding: 6px 0; }

/* Referral code daalne ka box */
.enter-code {
  flex: 1;
  min-width: 0;
  background: #0a1233;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
  text-transform: uppercase;
}

.enter-msg { font-size: 12px; color: var(--yellow); margin-top: 8px; min-height: 14px; }

/* Share sheet (neeche se nikalne wala) */
.share-sheet { display: none; position: fixed; inset: 0; z-index: 9999; }
.share-sheet.show { display: block; }

.share-back { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }

.share-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 480px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px 18px 0 0;
  padding: 16px 14px 22px;
}

.share-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 16px;
}

.share-x {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 6px;
  margin-bottom: 16px;
}

.share-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text);
  text-decoration: none;
  font-size: 11px;
  cursor: pointer;
}

.share-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.share-link-row { display: flex; gap: 10px; }

.share-link-row input {
  flex: 1;
  min-width: 0;
  background: #0a1233;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 12px;
  color: var(--muted);
}
