/* Formular "Fehler oder Anregung melden" (assets/feedback.js), für Karte
   und Chronik. Farben und Schrift kommen aus head.php. */
.atlas-feedback {
  width: min(440px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 20px 22px 18px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: var(--elev-3, 0 16px 40px rgba(0,0,0,.28));
  font-family: var(--font-ui, inherit);
  font-size: .94rem;
  line-height: 1.45;
}
.atlas-feedback::backdrop { background: rgba(15,23,42,.45); }
.atlas-feedback h2 { margin: 0 0 10px; font-size: 1.15rem; line-height: 1.25; }
.atlas-feedback p { margin: 0 0 10px; }
.atlas-feedback-context { font-weight: 600; overflow-wrap: anywhere; }
.atlas-feedback label { display: block; margin: 10px 0 4px; font-size: .86rem; font-weight: 600; }
.atlas-feedback textarea,
.atlas-feedback input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-body);
  color: var(--text-main);
  font: inherit;
  /* 16px: darunter zoomt iOS beim Antippen in das Feld. */
  font-size: 16px;
}
.atlas-feedback textarea { resize: vertical; min-height: 96px; }
.atlas-feedback textarea:focus,
.atlas-feedback input:focus { outline: 2px solid var(--brand-gold); outline-offset: 1px; }
/* Falle für Formular-Bots: für Menschen unsichtbar und nicht erreichbar. */
.atlas-feedback-extra { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.atlas-feedback-note { margin-top: 10px; color: var(--text-meta); font-size: .8rem; }
.atlas-feedback-status { min-height: 1.3em; margin-bottom: 6px; font-size: .86rem; font-weight: 600; }
.atlas-feedback-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.atlas-feedback-actions button {
  padding: 7px 14px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-main);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.atlas-feedback-actions .atlas-feedback-send { border-color: var(--brand-gold); background: var(--brand-gold); color: #1f2937; }
.atlas-feedback-actions button:disabled { opacity: .6; cursor: default; }
