/* Frends tip modal + participant action button */

.frends-action-row{
  margin-top: 10px;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.btn-frends{
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(135deg, rgba(255,138,61,.92), rgba(39,224,193,.86));
  color:#07111c;
  font-weight: 950;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.btn-frends.secondary{
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
}

.frends-modal{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display:none;
  align-items:center;
  justify-content:center;
  padding: 16px;
}

.frends-modal.show{ display:flex; }

.frends-modal .overlay{ position:absolute; inset:0; background: rgba(2,6,23,.65); }

.frends-modal .panel{
  position:relative;
  width: min(520px, 100%);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(2,6,23,.12);
  box-shadow: 0 30px 120px rgba(0,0,0,.35);
}

.frends-modal .head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.frends-modal h3{ margin:0; font-weight: 950; color:#0b1220; }
.frends-modal p{ margin:6px 0 0; color:#334155; font-weight:700; }

.frends-modal .close{
  border-radius: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(2,6,23,.12);
  background: rgba(2,6,23,.04);
  cursor:pointer;
}

.frends-modal .body{ margin-top: 12px; display:flex; flex-direction:column; gap:10px; }

.frends-modal label{ font-weight: 900; color:#0b1220; font-size: 13px; }

.frends-to-list{
  margin-top: 10px;
  display:flex;
  flex-direction:column;
  gap:8px;
  max-height: 300px;
  overflow:auto;
  padding-right: 4px;
}

.frends-section-title{
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 6px 2px 2px;
}

.frends-person{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  text-align:left;
  border-radius: 16px;
  border: 1px solid rgba(2,6,23,.10);
  background: #fff;
  padding: 10px;
}

.frends-person__main{
  display:flex;
  align-items:center;
  gap:10px;
  border: none;
  background: transparent;
  padding: 0;
  cursor:pointer;
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
}

.frends-person.active{
  border-color: rgba(39,224,193,.55);
  box-shadow: 0 0 0 3px rgba(39,224,193,.14);
}

.frends-avatar{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(39,224,193,.35);
  flex: 0 0 auto;
}

.frends-avatar.ph{
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  color:#08131f;
  background: linear-gradient(135deg, rgba(59,130,246,.20), rgba(39,224,193,.22));
}

.frends-person__meta{display:flex; flex-direction:column; gap:3px; min-width:0;}
.frends-person__name{font-weight: 950; color:#0b1220; display:flex; align-items:center; gap:8px; flex-wrap:wrap;}
.frends-person__sub{font-size: 12px; color:#64748b; font-weight:800;}

.frends-quick{display:flex; align-items:center; gap:6px; flex: 0 0 auto;}
.frends-q{
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(2,6,23,.12);
  background: rgba(2,6,23,.04);
  color:#0b1220;
  font-weight: 950;
  cursor:pointer;
}
.frends-q:hover{ background: rgba(2,6,23,.07); }
.frends-q:disabled{ opacity:.5; cursor:not-allowed; }

.frends-badge{
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,138,61,.18);
  border: 1px solid rgba(255,138,61,.28);
  color:#7c2d12;
  font-weight: 900;
}


.frends-modal .chips{ display:flex; gap:8px; flex-wrap:wrap; }
.frends-modal .chip{
  border-radius: 999px;
  padding: 9px 10px;
  border: 1px solid rgba(2,6,23,.12);
  background: rgba(2,6,23,.04);
  font-weight: 900;
  cursor:pointer;
}
.frends-modal .chip.active{ background: linear-gradient(135deg, rgba(255,138,61,.28), rgba(39,224,193,.22)); border-color: rgba(39,224,193,.35); }

.frends-modal .actions{ display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap; margin-top: 6px; }

.frends-modal .note{ font-size:12px; color:#64748b; font-weight:700; }
