/* ============================================================
   app.css — zuletzt geladen

   Enthaelt nur noch, was nach allen anderen Dateien kommen soll.
   Die Liste der Stylesheets steht in src/support/Assets.php
   (Konstante STYLESHEETS) und wird als einzelne <link>-Tags
   eigenen Versionsnummer, was beim Umbenennen einer Datei zu
   fehlenden Regeln gefuehrt hat.
   ============================================================ */

/* ── Flash-Meldung ────────────────────────────────────────── */

#flash-msg {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  padding: .9rem 1.25rem;
  text-align: center;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .35);
  transition: opacity .5s ease-in-out;
}
#flash-msg.is-fading { opacity: 0; }

/* Farbe kommt jetzt als Klasse aus errorhandling.php,
   nicht mehr als generiertes <style> mit PHP-Variable. */
#flash-msg.flash--success { background: #28a745; }
#flash-msg.flash--error   { background: #dc3545; }
#flash-msg.flash--warning { background: #b45309; }
#flash-msg.flash--info    { background: #333; }

input, select, textarea, button {
  font-family: var(--font-body);
  color: var(--text-1);
}
