/* Small additions to the public /database/ pages that the compiled Tailwind file (database.css) does not have; plain CSS on the same palette, so no rebuild.
   Loaded by index.php. */

/* a field the entry form's AI help filled that no editor has checked yet (php/generated_fields.php) */
.iv-generated {
  display: inline-block; margin-left: .15rem; padding: .05rem .5rem; vertical-align: .1em;
  font: 600 11px/1.5 system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  color: #7a6232; background: #f1e8cf; border: 1px solid #d8c68f; border-radius: 99px;
}

/* the visitors' "Suggest a correction" form (database/json-suggest.php) */
.iv-sug-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: #a83a2c; cursor: pointer; }
.iv-sug-link:hover { text-decoration: underline; }
.iv-sug-form { max-width: 36rem; display: grid; gap: 1rem; }
.iv-sug-field label { display: block; margin-bottom: .25rem; font: 600 13px/1.4 system-ui, sans-serif; letter-spacing: .02em; color: #2a2620; }
.iv-sug-input { width: 100%; box-sizing: border-box; padding: .55rem .7rem; font: 16px/1.5 inherit; color: #2a2620; background: #fbf8f2; border: 1px solid #cfc3a8; border-radius: 0; }
.iv-sug-input:focus { outline: 2px solid #a83a2c; outline-offset: -1px; }
.iv-sug-hint { margin: .3rem 0 0; font-size: 13px; color: #6a6255; }
.iv-sug-hint a { color: #a83a2c; text-decoration: underline; }
.iv-sug-error { margin: .3rem 0 0; font-size: 14px; color: #a83a2c; }
.iv-sug-btn { justify-self: start; height: 2.6rem; padding: 0 1.3rem; font: 600 12px/1 system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #ece5d8; background: #0d0c0a; border: 1px solid #0d0c0a; cursor: pointer; }
.iv-sug-btn:hover:not(:disabled) { background: #a83a2c; border-color: #a83a2c; }
.iv-sug-btn:disabled { opacity: .5; cursor: not-allowed; }
.iv-sug-thanks { font-size: 16px; color: #2a2620; }
/* the trap field for bots: out of sight and out of reach for people, not display:none (bots skip those) */
.iv-sug-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
