/* ===================================================================
   FameSystems – Custom CSS für die öffentlichen Listmonk-Seiten
   (Anmeldeformular, Abmeldung, Bestätigungsseiten, Archiv)
   Einfügen unter: Settings → Appearance → Public → Custom CSS
   ===================================================================
   Diese Seiten laufen NICHT über Vue/Bulma, sondern über einfache
   Go-Templates (static/public/templates/*.html). Layout-Klassen wie
   .wrap, .header, .logo, footer.container sind über alle Listmonk-
   Versionen hinweg stabil. Für Formulare/Buttons wird bewusst auf
   HTML-Elemente statt auf Klassennamen gesetzt, da diese sich nicht
   ändern, egal welche Listmonk-Version du einsetzt.
   =================================================================== */

:root {
  --fs-primary: #611f69;
  --fs-primary-dark: #481350;
  --fs-primary-tint: #f4ecf6;
  --fs-text: #262229;
  --fs-radius: 8px;
  --fs-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--fs-font) !important;
  color: var(--fs-text);
  background: #f7f5f8;
}

/* ---------- Seitenrahmen ---------- */
.wrap,
.container.wrap {
  max-width: 640px;
  margin: 40px auto;
  padding: 40px !important;
  background: #fff;
  border-radius: var(--fs-radius);
  box-shadow: 0 4px 24px rgba(97, 31, 105, 0.08);
}

/* ---------- Kopfbereich mit Logo ---------- */
.header,
header.header {
  text-align: center;
  border-bottom: 2px solid var(--fs-primary-tint);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.header .logo img,
.logo img {
  max-height: 48px;
}

/* ---------- Überschriften ---------- */
h1, h2, h3 {
  color: var(--fs-primary-dark);
  font-weight: 600;
}

h1 {
  font-size: 1.6rem;
}

/* ---------- Links ---------- */
a {
  color: var(--fs-primary);
  text-decoration: none;
}

a:hover {
  color: var(--fs-primary-dark);
  text-decoration: underline;
}

/* ---------- Formulare (An-/Abmeldung) ---------- */
form label {
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form textarea,
form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d8d0da;
  border-radius: var(--fs-radius);
  margin-bottom: 16px;
  font-family: var(--fs-font);
  font-size: 0.95rem;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
  outline: none;
  border-color: var(--fs-primary);
  box-shadow: 0 0 0 3px rgba(97, 31, 105, 0.15);
}

/* Listen-Auswahl (Checkboxen bei Mehrfachlisten) */
form ul,
.lists {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

form li,
.lists li {
  padding: 10px 12px;
  border: 1px solid #eee0ea;
  border-radius: var(--fs-radius);
  margin-bottom: 8px;
}

form input[type="checkbox"],
form input[type="radio"] {
  accent-color: var(--fs-primary);
  margin-right: 8px;
}

/* ---------- Buttons ---------- */
button[type="submit"],
input[type="submit"],
.button {
  background-color: var(--fs-primary) !important;
  color: #fff !important;
  border: none;
  padding: 12px 28px;
  border-radius: var(--fs-radius);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--fs-font);
  transition: background-color 0.15s ease;
}

button[type="submit"]:hover,
input[type="submit"]:hover,
.button:hover {
  background-color: var(--fs-primary-dark) !important;
}

/* ---------- Erfolg / Fehler / Hinweise ---------- */
.message,
.alert,
.error,
.success {
  padding: 14px 18px;
  border-radius: var(--fs-radius);
  margin-bottom: 20px;
}

.success,
.message.success {
  background: #eaf7ee;
  color: #1d6b34;
}

.error,
.message.error {
  background: #fbe9ee;
  color: #a12148;
}

/* ---------- Fußzeile ---------- */
footer.container,
footer {
  text-align: center;
  font-size: 0.8rem;
  color: #9a8ea0;
  margin-top: 24px;
}

footer a {
  color: #9a8ea0;
}