/* Reddo - gereedschap, geen product: het flyerbeheer en de lettertypekiezer.

   Geknipt uit components.css. Deze twee schermen zijn niet voor een vakman of een klant:
   het flyerbeheer zit achter ADMIN_API_KEY en de lettertypekiezer verschijnt alleen op een
   ontwikkelhost. Bij elkaar in een bestand maakt zichtbaar wat er ooit uit kan. */

/* --- Adminscherm: flyerbeheer (D8). Gereedschap, geen productoppervlak: dicht
   op elkaar, alles leesbaar, geen versiering. --- */
.r-adminbody { display: flex; flex-direction: column; gap: 14px; }
.r-adminpanel {
  background: var(--r-card); border: 1px solid var(--r-border);
  border-radius: var(--r-radius-card); padding: 16px;
}
.r-adminpanel__title { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.r-adminpanel__hint { font-size: 12.5px; color: var(--r-muted); margin: 0 0 12px; line-height: 1.5; }
.r-addform__input--num { flex: 0 0 90px; }
.r-adminerror {
  margin-top: 10px; font-size: 13px; font-weight: 600; color: #A8341F; line-height: 1.45;
}
.r-adminerror[hidden] { display: none; }
.r-adminlock {
  align-self: flex-start; font: inherit; font-size: 12px; cursor: pointer;
  background: none; border: 0; color: var(--r-faint); text-decoration: underline; padding: 0;
}

.r-flyers { display: flex; flex-direction: column; gap: 6px; }
.r-flyer {
  border: 1px solid var(--r-border); border-left: var(--r-strip-w) solid var(--r-border);
  border-radius: 10px; padding: 10px 12px;
}
/* Statuskleur ondersteunt; het label staat er altijd óók in tekst bij. */
.r-flyer[data-status='ACTIVE'] { border-left-color: var(--r-status-klaar); }
.r-flyer[data-status='REVOKED'] { border-left-color: var(--r-faint); opacity: .6; }
.r-flyer__main { min-width: 0; }
.r-flyer__token {
  font-family: var(--r-font-mono); font-size: 14px; font-weight: 600;
  word-break: break-all;
}
.r-flyer__url {
  font-family: var(--r-font-mono); font-size: 11px; color: var(--r-faint);
  word-break: break-all; margin-top: 2px;
}
.r-flyer__meta { font-size: 12px; color: var(--r-muted); margin-top: 4px; }
.r-flyer__actions { margin-top: 10px; }
.r-flyer__actions .r-addform { margin-top: 0; margin-bottom: 8px; }
.r-flyer__note { font-size: 12px; color: var(--r-faint); font-style: italic; }
/* Intrekken is destructief: geen primaire knop, wel duidelijk aanwezig. */
.r-flyer__revoke {
  font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
  padding: 6px 12px; border-radius: var(--r-radius-pill);
  border: 1px solid #A8341F; background: transparent; color: #A8341F;
}
.r-flyer__revoke:disabled { opacity: .45; cursor: not-allowed; }

/* ------------------------------------------------------- lettertypekiezer --
   Tijdelijk gereedschap; alleen zichtbaar op een ontwikkelhost of met ?fonts=1.
   Zie font-picker.ts — verdwijnt zodra de keuze gemaakt is. */

.r-fontpicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--r-black);
  color: var(--r-paper);
  font-family: var(--r-font-mono);
  font-size: 11px;
}

.r-fontpicker__label { letter-spacing: 0.1em; opacity: 0.7; }

.r-fontpicker__select {
  font: inherit;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 6px;
  border: 1px solid rgba(250, 247, 242, 0.35);
  background: transparent;
  color: var(--r-paper);
}

.r-fontpicker__select option { color: var(--r-black); }
