/* ══════════════════════════════════════════
   « Signaler une erreur » — fiches joueur, équipe, staff, arbitre, président, match
   Rendu PHP : wp-content/plugins/its-rugby-core/inc/its-report-error.php
   Feuille exclue de RUCSS (servie telle quelle).
══════════════════════════════════════════ */

.its-report-err {
  max-width: 1200px;
  margin: 12px auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  font-family: 'Noto Sans', sans-serif;
  font-size: 13px;
  line-height: 1.4;
}
.its-report-err__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  color: var(--teal, #1C3D34);
  border: 1px solid var(--teal, #1C3D34);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.its-report-err__btn:hover,
.its-report-err__btn:focus-visible {
  background: var(--teal, #1C3D34);
  color: var(--vanilla, #F2E5D2);
}
.its-report-err__btn:focus-visible {
  outline: 2px solid var(--teal, #1C3D34);
  outline-offset: 2px;
}
.its-report-err__ico { flex-shrink: 0; }
.its-report-err__hint { color: var(--muted, #6B6B6B); }

/* ── Fenêtre (membres connectés) ── */
.its-report-err-dialog {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 1px solid var(--teal, #1C3D34);
  background: var(--vanilla, #F2E5D2);
  color: var(--teal, #1C3D34);
}
.its-report-err-dialog::backdrop { background: rgba(28, 61, 52, .55); }
.its-report-err-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.its-report-err-form__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.its-report-err-form__intro { margin: 0 0 6px; color: var(--muted, #6B6B6B); }
.its-report-err-form__label { margin-top: 6px; font-weight: 600; }
.its-report-err-form select,
.its-report-err-form textarea,
.its-report-err-form input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid var(--vanilla-d, #E8D8C0);
  background: #FBF6EE;
  color: var(--ink, #1A1A1A);
  font: inherit;
}
.its-report-err-form select:focus,
.its-report-err-form textarea:focus,
.its-report-err-form input[type="text"]:focus {
  outline: none;
  border-color: var(--teal, #1C3D34);
  box-shadow: 0 0 0 3px rgba(28, 61, 52, .18);
}
.its-report-err-form textarea { resize: vertical; min-height: 96px; }
.its-report-err-form__msg { margin: 4px 0 0; min-height: 1.5em; font-weight: 600; }
.its-report-err-form__msg.is-ok { color: var(--teal, #1C3D34); }
.its-report-err-form__msg.is-err { color: var(--red, #C0392B); }
.its-report-err-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}
.its-report-err-form__cancel,
.its-report-err-form__send {
  padding: 9px 18px;
  border: 1px solid var(--teal, #1C3D34);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.its-report-err-form__cancel { background: transparent; color: var(--teal, #1C3D34); }
.its-report-err-form__send { background: var(--teal, #1C3D34); color: var(--vanilla, #F2E5D2); }
.its-report-err-form__send:hover { background: var(--teal-dk, #172713); }
.its-report-err-form__send:disabled { opacity: .6; cursor: wait; }

@media (max-width: 600px) {
  .its-report-err { justify-content: flex-start; padding: 0 16px; }
  .its-report-err-form { padding: 18px 16px; }
  .its-report-err-form__actions { flex-direction: column-reverse; }
  .its-report-err-form__cancel,
  .its-report-err-form__send { width: 100%; }
}
