/**
 * ITS Rugby Core — UGC Safety (front).
 * Charte It's : angles droits (aucun border-radius), teal #1C3D34,
 * g-bright #8ED968, vanilla #F2E5D2.
 */

.its-ugc-bar {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.its-ugc-bar--live {
  margin-top: 4px;
}

.its-ugc-btn {
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  line-height: 1;
  padding: 6px 10px;
  border: 1px solid rgba(28, 61, 52, .35);
  background: transparent;
  color: #1C3D34;
  cursor: pointer;
  border-radius: 0;
  transition: background .15s, color .15s, border-color .15s;
}

.its-ugc-btn:hover {
  background: #1C3D34;
  color: #F2E5D2;
  border-color: #1C3D34;
}

.its-ugc-btn:disabled {
  opacity: .5;
  cursor: default;
}

/* Boutons sur fond sombre du chat live */
.tl-msg--fan .its-ugc-btn {
  border-color: rgba(242, 229, 210, .3);
  color: rgba(242, 229, 210, .8);
}

.tl-msg--fan .its-ugc-btn:hover {
  background: #8ED968;
  color: #1C3D34;
  border-color: #8ED968;
}

/* ── Modal de signalement ─────────────────── */

.its-ugc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 61, 52, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 16px;
}

.its-ugc-modal {
  background: #F2E5D2;
  color: #1C3D34;
  border: 2px solid #1C3D34;
  border-radius: 0;
  max-width: 420px;
  width: 100%;
  padding: 22px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}

.its-ugc-modal h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.its-ugc-modal p {
  margin: 0 0 12px;
  font-size: 14px;
}

.its-ugc-modal select,
.its-ugc-modal textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  padding: 8px 10px;
  border: 1px solid #1C3D34;
  border-radius: 0;
  background: #fff;
  color: #1C3D34;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.its-ugc-modal textarea {
  resize: vertical;
}

.its-ugc-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.its-ugc-modal-actions .its-ugc-send {
  background: #1C3D34;
  color: #F2E5D2;
  border-color: #1C3D34;
}

.its-ugc-modal-actions .its-ugc-send:hover {
  background: #8ED968;
  color: #1C3D34;
  border-color: #8ED968;
}

/* ── Toast ────────────────────────────────── */

.its-ugc-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: #1C3D34;
  color: #F2E5D2;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border-left: 4px solid #8ED968;
  border-radius: 0;
  z-index: 100001;
  opacity: 0;
  transition: opacity .3s, transform .3s;
  max-width: 90vw;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}

.its-ugc-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ── Espace compte : liste « Utilisateurs bloqués » ── */

.its-ugcsafe-acct-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(28, 61, 52, .18);
}

.its-ugcsafe-acct-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(28, 61, 52, .18);
}

.its-ugcsafe-acct-name {
  font-size: 15px;
  font-weight: 600;
  color: #1C3D34;
  word-break: break-word;
}

.its-ugcsafe-acct-empty {
  font-size: 14px;
  color: rgba(28, 61, 52, .7);
}
