/* ═══════════════════════════════════════════════════════════════════════
   parrainage.css — Fenêtre de parrainage (côté utilisateur).
   Reprend les codes couleur de l'app (vert SpotX sur fond sombre).
   ═══════════════════════════════════════════════════════════════════════ */
.par-overlay {
  position: fixed; inset: 0; z-index: 9000;
  display: none; align-items: center; justify-content: center;
  background: rgba(4, 7, 13, .72); padding: 24px 16px; overflow-y: auto;
  backdrop-filter: blur(3px);
}
.par-modal {
  position: relative; width: 100%; max-width: 460px;
  background: #141826; border: 1px solid #262c3d; border-radius: 18px;
  padding: 26px 24px 22px; box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  color: #e5e9f0; font-family: 'Inter', system-ui, -apple-system, sans-serif;
  text-align: center;
}
.par-close {
  position: absolute; top: 12px; right: 14px; background: none; border: none;
  color: #9aa4bd; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 2px 6px;
}
.par-close:hover { color: #fff; }
.par-hero {
  font-size: 2.6rem; line-height: 1; margin-bottom: 6px;
  filter: drop-shadow(0 4px 12px rgba(29, 185, 84, .4));
}
.par-modal h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.par-sub { font-size: .9rem; color: #9aa4bd; line-height: 1.45; margin-bottom: 18px; }
.par-sub b { color: #5ee08f; }
.par-loading { color: #6b7488; padding: 30px 0; }

.par-linkbox { display: flex; gap: 8px; margin-bottom: 18px; }
.par-linkbox input {
  flex: 1; min-width: 0; background: #0e1220; border: 1px solid #2a3043;
  color: #cbd3e3; border-radius: 10px; padding: 11px 12px; font-size: .84rem;
  font-family: inherit;
}
.par-linkbox input:focus { outline: none; border-color: #1db954; }
.par-copy {
  flex: 0 0 auto; background: #1db954; border: none; color: #04140a;
  border-radius: 10px; padding: 11px 18px; font-weight: 800; font-size: .84rem;
  cursor: pointer; font-family: inherit; transition: background .12s;
}
.par-copy:hover { background: #22c95f; }

.par-stats { display: flex; gap: 12px; margin-bottom: 20px; }
.par-stat {
  flex: 1; background: #0e1220; border: 1px solid #232838; border-radius: 14px;
  padding: 14px 10px;
}
.par-stat-n { font-size: 1.7rem; font-weight: 800; color: #5ee08f; line-height: 1.1; }
.par-stat-l { font-size: .74rem; color: #9aa4bd; margin-top: 3px; }

.par-list-h {
  text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .5px;
  color: #7c8598; font-weight: 700; margin-bottom: 8px;
}
.par-list { max-height: 200px; overflow-y: auto; text-align: left; }
.par-fill-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px; background: #0e1220; border: 1px solid #232838;
  border-radius: 10px; margin-bottom: 6px;
}
.par-fill-name { font-weight: 700; font-size: .86rem; }
.par-fill-date { font-size: .76rem; color: #6b7488; }
.par-empty { color: #6b7488; font-size: .85rem; padding: 18px 0; text-align: center; }

@media (max-width: 520px) {
  .par-modal { padding: 22px 18px 18px; }
  .par-stats { gap: 8px; }
}
