.rp-card{
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.08);
  border: 1px solid rgba(0,0,0,0.03);
}

.rp-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}

.rp-header-left{
  display:flex;
  align-items:center;
  gap:14px;
  min-width: 0;
}

.rp-header-icon{
  width:44px;
  height:44px;
  border-radius:12px;
  background: linear-gradient(135deg, #e65372 0%, #f08aa0 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}

.rp-header-icon i, .rp-header-icon svg{
  color:#fff;
  font-size:18px;
  width:18px;
  height:18px;
}

.rp-title{
  font-size:22px;
  font-weight:700;
  color:#2b2b2b;
  line-height:1.15;
}

.rp-subtitle{
  font-size:13px;
  color:#9a6a72;
  margin-top:2px;
}

.rp-search-wrap{
  position:relative;
  flex: 0 0 280px;
  max-width: 100%;
}

.rp-search-icon{
  position:absolute;
  left:12px;
  top:50%;
  transform: translateY(-50%);
  opacity:.55;
  pointer-events:none;
  font-size:14px;
}

.rp-search{
  width:100%;
  height:40px;
  border-radius:10px;
  border:1px solid rgba(230,83,114,0.25);
  padding: 0 12px 0 34px;
  outline:none;
  background:#fff;
}

.rp-search:focus{
  border-color: rgba(230,83,114,0.55);
  box-shadow: 0 0 0 3px rgba(230,83,114,0.12);
}

.rp-participants-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:18px;
}

.rp-pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:12px;
  background:#fbf1f3;
  min-height:44px;
}

.rp-badge{
  width:26px;
  height:26px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:700;
  background:#f4c2cb;
  color:#7a1f2b;
  flex: 0 0 auto;
}

.rp-name{
  font-size:14px;
  color:#2b2b2b;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.rp-empty{
  margin-top:14px;
  font-size:13px;
  color:#9a6a72;
}

/* Pagination */
.rp-pagination{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}

.rp-page-btn,
.rp-page-num{
  border: 1px solid rgba(230,83,114,0.25);
  background: #fff;
  border-radius: 10px;
  height: 36px;
  min-width: 36px;
  padding: 0 10px;
  cursor: pointer;
  font-size: 13px;
}

.rp-page-num.is-active{
  border-color: rgba(230,83,114,0.55);
  box-shadow: 0 0 0 3px rgba(230,83,114,0.12);
  font-weight: 700;
}

.rp-page-btn:disabled{
  opacity: .45;
  cursor: not-allowed;
}

.rp-ellipsis{
  opacity:.6;
  padding: 0 4px;
}

@media (max-width: 1024px){
  .rp-search-wrap{ flex-basis: 240px; }
  .rp-participants-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px){
  .rp-header{ flex-direction:column; align-items:stretch; }
  .rp-search-wrap{ flex-basis:auto; }
  .rp-participants-grid{ grid-template-columns: 1fr; }
}

.rp-page-hidden { display: none !important; }
.rp-filtered-out { display: none !important; }