/* CO-GEN's own additions to the CO-OP ev design kit.
   The kit (static/kit/) is never edited here: this file only holds what
   CO-GEN alone needs. Anything useful to other applications should move
   into the kit instead. */

/* The QR code shown when setting up two-factor authentication. */
.qr { display: flex; justify-content: center; }
.qr svg { width: 200px; height: 200px; }

/* The ten backup codes, shown once: two columns of easy-to-read codes. */
.codes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px;
         font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; }

/* A link or key the user must be able to copy in full, even on a phone. */
.copyable { overflow-wrap: anywhere; user-select: all; }

/* A wide table scrolls inside its frame instead of widening the page (phones). */
.table-scroll { overflow-x: auto; }

/* A page shown read-only (an admin looking at another user's block): its boxes are greyed. */
fieldset:disabled input, fieldset:disabled select, fieldset:disabled textarea { background: #f0f0f0; color: #5e5e5e; cursor: not-allowed; }

/* A second title inside a frame gets air above it (steps of a scenario). */
.card h2:not(:first-child) { margin-top: 28px; }

/* ---- Data set pages: filters above a table, and the download form ---- */
.filters { align-items: flex-end; }
.filters .field-inline { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; }
.filters .field-inline input, .filters .field-inline select { width: auto; min-height: 40px; padding: 0 10px;
  border: 2px solid var(--black); border-radius: var(--radius); background: var(--white); font: inherit; font-weight: 400; font-size: 14px; }
.options { border: 0; padding: 0; margin: 0 0 var(--space-3); display: flex; flex-direction: column; gap: 8px; }
.options legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
