.form-news-formular {
	display: none;
	max-width: 600px;
  margin: auto auto;
	margin-top: 5px;
  border: 1px solid #4CAF50;
  border-radius: 5px;
  background-color: #f9f9f9;
}
.news-form {
  max-width: 600px;
  margin: 10px auto;
  background-color: #f5fef5;
  padding: 30px 10px 30px 10px;
  border: 2px solid #2e7d32;
  border-radius: 10px;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 4px 10px rgba(0, 100, 0, 0.1);
}
.news-form h2 {
  position: relative;
  background-color: #2e7d32;
  color: #ffffff;
  text-align: center;
  padding: 5px 40px;
  margin: -30px -10px 20px -10px;
  border-radius: 8px 8px 0 0;
  font-size: 20px;
}

/* Linkes Icon */
.news-form h2 .icon-left {
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

/* Rechtes ❌ */
.news-form h2 .icon-close {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  cursor: pointer;
}
.news-form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #2e7d32;
}

.news-form input[type="text"],
.news-form input[type="date"],
.news-form select,
.news-form textarea {
  width: 100%;
  padding: 5px;
  margin-top: 5px;
  border: 1px solid darkgreen;
  border-radius: 5px;
  font-size: 1em;
  background-color: #fff;
}

/* Google Font einbinden */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono&display=swap');

/* Titel-Eingabefeld stylen */
.news-form input[name="titel"] {
  font-family: 'Space Mono', monospace;
  font-size: 20px;
}

.news-form textarea {
  resize: vertical;
}
/* Rahmen um den TinyMCE-Editor */
.tox.tox-tinymce {
  border: 1px solid #2e7d32 !important;  /* kräftiges Grün */
  border-radius: 6px;
}

/* Optional: Rahmen auch um den Inhalt */
.tox .tox-edit-area__iframe {
  background-color: #f5fef5;  /* leicht grünlicher Hintergrund */
}
.news-form button {
  margin-top: 25px;
  width: 100%;
  padding: 12px;
  background-color: #2e7d32;
  color: white;
  font-size: 1.1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.news-form button:hover {
  background-color: #1b5e20;
}

.meldung {
  max-width: 600px;
  margin: 20px auto;
  padding: 15px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
}
.meldung.erfolg {
  background-color: #e0f2f1;
  color: #00695c;
  border: 1px solid #004d40;
}
.meldung.fehler {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #b71c1c;
}
.editor-error {
  border: 2px solid red !important;
  background-color: #ffeaea;
}
.form-hint {
  display: inline;
  margin-bottom: 1em;
  color: #666;
  font-size: 0.9em;
 }
.umfrage-vorschau {
  background: #f9f9f9;
  padding: 10px;
  border: 1px dashed #aaa;
  margin: 10px 0;
}
.umfrage-vorschau ul {
  list-style: none;
  padding: 0;
}
/* Umfrage-Container */
.umfrage {
  border: 1px solid #ccc;
  border-left: 5px solid #0073e6;
  background: #f9f9f9;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 5px;
  font-family: sans-serif;
}

/* Frage */
.umfrage p {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Antwortliste */
.umfrage ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.umfrage li {
  margin: 6px 0;
  font-size: 1em;
}

/* Radio-Buttons + Label */
.umfrage input[type="radio"] {
  margin-right: 8px;
  transform: scale(1.2);
  cursor: pointer;
}

.umfrage label {
  cursor: pointer;
}

/* Ergebnisanzeige */
.umfrage li::after {
  content: '';
  display: block;
  height: 6px;
  background-color: #0073e6;
  margin-top: 4px;
  width: 0%;
  transition: width 0.5s ease;
}

.umfrage.ergebnis li {
  font-weight: normal;
  position: relative;
}

.umfrage.ergebnis li span {
  font-weight: bold;
  float: right;
}

/* Optional: Farbige Fortschrittsbalken */
.umfrage.ergebnis li[data-prozent]:after {
  width: attr(data-prozent %);
  background: linear-gradient(90deg, #0073e6, #66b3ff);
}
label[for="dauerhaft_online"] {
    position: relative;
    z-index: 9999;
}