/* Allgemeine Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f4f4f4;
    padding-top: 60px; /* oder so hoch wie dein Header inkl. Innenabstand ist */

}







.container {
  max-width: 100%;
  margin: 20px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box; /* Verhindert, dass Padding und Border die Breite vergrößern */
}

h1 {
  color: black;
}

h2, h3 {
  color: black;
}

/* Abschnitt Styles */
.section {
  border: 1px solid #ccc;
  margin: 10px 0;
  padding: 10px;
}

/* Buttons */
button, .toggle-button, .reload-button, .blue-button {
  display: inline-block;
  background: #674ed1; /* Grauer Hintergrund */
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

/* Desktop Zurück-Button */
.back-button-container {
  position: absolute;
  top: 15px;
  left: 15px;
}

.back-button {
  display: inline-block;
  background: #6c757d;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
 
  transition: background 0.3s ease, transform 0.2s ease;
}

.back-button:hover {
  background: #5a6268;
  transform: scale(1.05);
}





.toggle-button {
  background-color: #674ed1;
  width: 100%;
  text-align: left;
  font-size: 16px;
}

.reload-button {
  margin-top: 10px;
  background-color: #28a745;
}


.blue-button {
  background-color: #674ed1;
  width: 100%;
  gap: 5px;
}

button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

button:hover:enabled, .toggle-button:hover, .blue-button:hover {
  background-color: #674ed1;
}



/* Navigation */
nav {
  background-color: #f8f9fa;
  padding: 20px;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 15px;
}

nav ul li a, .main-nav ul li a {
  display: block;
  padding: 10px 20px;
  background-color: #007BFF;
  text-decoration: none;
  border-radius: 5px;
  color: white;
  font-weight: bold;
}

nav ul li a:hover, .main-nav ul li a:hover {
  background-color: #674ed1;
}


main {
  margin-top: 60px; /* Höhe des Headers */
}

/* Tabellen */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

th, td {
  padding: 12px;
  text-align: center;
  border: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
}

.status-open { background-color: red; color: white; }
.status-done { background-color: green; color: white; }

/* Popups */
.popup {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  max-height: 80%;
  background: white;
  padding: 20px;
  border-radius: 10px;
  overflow-y: auto;
  z-index: 1000;
}

.popup-content {
  background-color: #333;
  padding: 20px;
  border-radius: 10px;
  color: white;
  text-align: center;
  border: 2px solid white;
}

.popup-content button {
  background-color: 674ed1;
  margin: 5px;
}



/* Login Styles */
.login-body {
  background-color: #1a1a1a;
  color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  width: 95%;
  max-width: 800px;
  text-align: center;
}

.login-container a {
  display: block;
  width: 95%;
  margin: 20px auto;
  padding: 25px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 3em;
}

/* Fehler- und Erfolgsmeldungen */
.error {
  color: red;
  margin-bottom: 15px;
}

.success-message {
  color: red;
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
}

/* Medienabfragen */
@media (max-width: 768px) {
  nav ul, .stats-cards {
    flex-direction: column;
    align-items: center;
  }

  nav ul li a {
    width: 100%;
    text-align: left;
  }
}



/* Basis-Styling für den Header */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #040509;
  position: fixed; 
  padding: 10px 20px;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  z-index: 9999;
}

/* Menü standardmäßig anzeigen */
.header-menu {
  
    top: 60px; /* Höhe des Headers */

  display: none;
  flex-direction: column;
  position: absolute;
   left: 0;
  width: 100%;
  background: #040509;
  align-items: center;
  z-index: 9999; /* Stellt sicher, dass es über anderen Elementen liegt */
}
.header-menu.show {
  display: flex; /* Wird bei Klick auf den Button angezeigt */
}


/* Links stylen */
.menu-item {
  color: white;
  text-decoration: none;
  display: block;
  padding: 12px;
  border-radius: 5px;
  transition: background 0.3s ease;
  align-items: center;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Spezielles Styling für den Logout-Button */
.logout {
  background: #ff4d4d;
  padding: 8px 15px;
  border-radius: 5px;
}

.logout:hover {
  background: #ff1a1a;
}

/* Hamburger-Menü Button (nur mobil sichtbar) */
.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: block; 
}


/* Verhindert horizontales Scrollen */
html, body {
  overflow-x: hidden; /* Deaktiviert horizontales Scrollen */
  width: 100vw; /* Stellt sicher, dass die Breite nicht überschritten wird */
}

/* Stellt sicher, dass kein Element die Bildschirmbreite überschreitet */
* {
  max-width: 100%;
  box-sizing: border-box; /* Verhindert, dass Padding und Border die Breite vergrößern */
}





.menu-top {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  position: relative;
}
.logo img {
  height: 40px; /* Größe des Logos anpassen */
}


.header-menu a,
.dropdown > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  text-decoration: none;
  color: white;
  height: 50px; /* Einheitliche Höhe für alle */
  min-height: 50px; /* Falls nötig */
  background: none;
  border: none;
  cursor: pointer;
}

.header-menu a:hover {
  background-color: #444;
}

/* 📌 DROPDOWN-MENÜ */


.dropdown {
  position: relative;
  height: 50px; /* Erzwingt gleiche Höhe wie andere Buttons */
  display: flex;
  align-items: center;
}
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #444;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 10;
}


.submenu.show {
  display: block;
}

.submenu a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: white;
}

.submenu a:hover {
  background-color: #444;
}


.formular-container {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

.formular-container label {
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

.formular-container input, 
.formular-container textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.formular-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.formular-buttons button{
  flex: 1;
  height: 50px; /* Einheitliche Höhe */
  min-height: 50px;
  background: #674ed1;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  padding: 0;
}

.formular-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  min-height: 50px;
  background: #674ed1;
  color: white;
  border-radius: 5px;
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
  padding: 0 15px;
}

a.formular-buttons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  min-height: 50px;
  background: #674ed1;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
  padding: 0 20px;
  white-space: nowrap;
}




.formular-buttons button:hover {
  background: #674ed1;
}







.stadion-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.stadion-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: 100%;
  max-width: 400px;
  font-family: Arial, sans-serif;
}

.stadion-header {
  font-size: 18px;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 10px;
}

.stadion-info {
  font-size: 16px;
  margin-bottom: 5px;
}

.stadion-info strong {
  color: #333;
}

.stadion-bemerkung {
  font-style: italic;
  color: #555;
  font-size: 14px;
  margin-top: 10px;
}

/* Container für die Benutzerverwaltung */
.user-table-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  width: 100%;
  max-width: 400px; /
}

/* Einzelne Benutzerkarten */
.user-card {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

}

/* Benutzer-Infos */
.user-info {
  font-size: 16px;
  margin-bottom: 10px;
}

/* Aktionen (Bearbeiten, Löschen, Berechtigungen) */
.user-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons für Aktionen */
.btn {
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  min-width: 80px;
}

.btn.edit {
  background: #007bff;
  color: white;
}

.btn.delete {
  background: #dc3545;
  color: white;
}

.btn.permissions {
  background: #28a745;
  color: white;
}

.btn:hover {
  opacity: 0.8;
}

/* Formular-Styling */
.formular-container {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

.formular-container label {
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

.formular-container input, 
.formular-container select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.formular-buttons {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.formular-buttons button {
  width: 100%;
  height: 50px;
  min-height: 50px;
  background: #674ed1;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  padding: 0;
}

.formular-buttons button:hover {
  background: #674ed1;
}

/* Mobile Ansicht */
@media screen and (max-width: 768px) {
  .user-table-container {
      flex-direction: column;
      align-items: center;
      display: block;
  }

  .formular-buttons {
      flex-direction: column;
  }
}

/* Einheitliche Container-Breite */
.container {
  width: 100%;
  max-width: 400px;
 top:60px;

    margin-top: 60px; /* Höhe des Headers */
  
}

/* Formular-Container */
.formular-container {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
}

/* Inline-Formulare für Kategorie- & Punkt-Verwaltung */
.formular-inline {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.formular-inline input,
.formular-inline select {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

/* Kategorie- & Punkt-Liste */
.list {
  list-style: none;
  padding: 0;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  padding: 8px;
  border-radius: 5px;
  margin-top: 5px;
}

.no-points {
  text-align: center;
  font-style: italic;
  color: #666;
}

/* Kategorie-Überschrift */
.category-header {
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
}


.btn img {
  width: 16px;
  height: 16px;
}


/* Zurück-Link */
.back-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 16px;
  color: #674ed1;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* Mobile Ansicht */
@media screen and (max-width: 768px) {
  .container,
  .formular-container {
      width: 90%;
  }

  .formular-inline {
      flex-direction: column;
      gap: 5px;
  }
}

/* Einheitliche Container-Breite */
.container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* Formular-Container */
.formular-container {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
}

/* Formularfelder */
.formular-container label {
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

.formular-container input,
.formular-container textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

/* Tabellen-Container */
.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: #fff;
}

th, td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

th {
  background: #007bff;
  color: white;
}

/* Thumbnail-Bilder */
.thumbnail {
  width: 50px;
  height: 50px;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.2s;
}

.thumbnail:hover {
  transform: scale(1.1);
}

/* Bild-Popup */
#imagePopup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}



.popup-content button:hover {
  background: #674ed1;
}

/* Mobile Ansicht */
@media screen and (max-width: 768px) {
  .container,
  .formular-container {
      width: 90%;
  }

  table {
      font-size: 14px;
  }
}

/* Ersatzteile-Container */
.ersatzteile-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

/* Einzelne Ersatzteil-Karte */
.ersatzteil-card {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

/* Ersatzteil-Karten Kopf */
.ersatzteil-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.ersatzteil-header h3 {
  margin: 0;
  font-size: 20px;
  color: #007bff;
}

.ersatzteil-date {
  font-size: 14px;
  color: #666;
}

/* Ersatzteil-Beschreibung */
.ersatzteil-card p {
  font-size: 16px;
  margin: 10px 0;
}

/* Ersatzteil-Infos (Stückzahlen) */
.ersatzteil-info {
  display: flex;
  justify-content: space-around;
  font-size: 16px;
  margin: 10px 0;
}

.ersatzteil-info span {
  background: #f1f1f1;
  padding: 5px 10px;
  border-radius: 5px;
}

/* Ersatzteil-Bild */
.ersatzteil-image {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.2s;
}

.thumbnail:hover {
  transform: scale(1.1);
}

/* Bild-Popup */
#imagePopup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}



/* Mobile Ansicht */
@media screen and (max-width: 768px) {
  .container,
  .formular-container {
      width: 90%;
  }
}

/* Buchung-Container */
.buchung-container {
  margin-top: 10px;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 5px;
}

.buchung-inputs {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.buchung-inputs label {
  font-weight: bold;
}

.buchung-inputs input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

/* Eingabebereich für Stückzahlen */
.ersatzteil-status {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 5px;
  font-size: 16px;
  width: 100%;
  padding: 10px;
}

.ersatzteil-status label {
  font-weight: bold;
}

.ersatzteil-status input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

/* Bemerkungen-Container */
.bemerkungen-container {
  margin-top: 20px;
}

.bemerkungen-container label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.bemerkungen-container textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  min-height: 80px;
}

/* Ersatzteile-Container */
.ersatzteile-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

/* Einzelne Ersatzteil-Karte */
.ersatzteil-card {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

/* Ersatzteil-Karten Kopf */
.ersatzteil-header h3 {
  margin: 0;
  font-size: 20px;
  color: #007bff;
}

/* Fotodokumentation Container */
.fotodokumentation-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

/* Fotodokumentation-Karten */
.fotodokumentation-card {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

/* Thumbnail Bild */
.thumbnail-container {
  display: inline-block;
  position: relative;
}

.thumbnail {
  width: 80px;
  height: 80px;
  cursor: pointer;
  border-radius: 5px;
}

.thumbnail-container .delete-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: red;
  color: white;
  border: none;
  padding: 5px;
  font-size: 12px;
  border-radius: 50%;
  cursor: pointer;
}


/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.modal-option {
  margin-bottom: 15px;
}

.close {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
}



/* Unterschriftenbereich */
.signature-container {
  width: 100%;
  max-width: 400px;
  margin: 10px auto;
  border: 2px solid #ccc;
  border-radius: 5px;
  background: #f9f9f9;
  padding: 5px;
}

canvas {
  width: 100%;
  height: 200px;
  border-radius: 5px;
  background: white;
}

/* Menü-Container */
.menu-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  width: 100%;
  top: 60px;
  max-width: 600px;
  margin: 0 auto;
}

/* Menü-Karten */
.menu-card {
  display: flex;
  align-items: center;
  justify-content: center; /* Zentriert den Text */
  background: linear-gradient(135deg, #674ed1, #674ed1);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  width: 100%;
  height: 60px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}
/* Menü-Karten */
.back-card {
  display: flex;
  align-items: center;
  justify-content: center; /* Zentriert den Text */
  background: linear-gradient(135deg, #674ed1, #674ed1);
  
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  width: 100%;
  height: 60px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Icon-Design */
.menu-card i {
  font-size: 24px;
  position: absolute;
  left: 15px; /* Icon bleibt links */
}

/* Hover-Effekte */
.menu-card:hover {
  transform: scale(1.02);
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}

/* Mobile Ansicht */
@media screen and (max-width: 768px) {
  .menu-container {
      padding: 10px;
      top:60px;
  }

  .menu-card {
      font-size: 16px;
      height: 55px;
      padding: 10px 15px;
  }

  .menu-card i {
      font-size: 20px;
      left: 10px; /* Kleinere Abstände für Mobile */
  }
}

/* Link standardmäßig anzeigen */
.hide-on-mobile {
  display: block;
}





/* Container für die Checkbox-Karten */
.punkte-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

/* Einzelne Karten für die Abfragen */
.punkt-card {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  border: 2px solid #ccc;
}

/* Label für die Frage */
.punkt-label {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 10px;
}

/* Buttons für Ja/Nein als Radio-Button */
.radio-options {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.radio-options label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 40px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background: #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  user-select: none;
  border: 2px solid transparent;
}

/* Eingeblendete Radio-Buttons ausblenden */
.radio-options input {
  display: none;
}

/* Wenn "Ja" gewählt ist */
.radio-options input[value="ja"]:checked + label {
  background: #28a745;
  color: white;
  border-color: #1f8a38;
}

/* Wenn "Nein" gewählt ist */
.radio-options input[value="nein"]:checked + label {
  background: #dc3545;
  color: white;
  border-color: #b02a37;
}

/* Hover-Effekt */
.radio-options label:hover {
  background: #bbb;
}

/* Bemerkungsfeld */
.bemerkungen-container {
  margin-top: 20px;
  width: 100%;
}

.bemerkungen-container label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.bemerkungen-container textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  min-height: 80px;
}

/* Buttons */
.formular-buttons {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.formular-buttons button {
  padding: 12px 20px;
  background: #674ed1;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.formular-buttons button:hover {
  background: #674ed1;
}

/* Mobile Anpassungen */
@media screen and (max-width: 768px) {
  .punkte-container {
      gap: 10px;
  }

  .punkt-card {
      padding: 12px;
  }

  .radio-options {
      gap: 10px;
  }

  .radio-options label {
      width: 80px;
      height: 35px;
      font-size: 14px;
  }

  .formular-buttons button {
      width: 100%;
  }
}

/* Container für die Aktion-Buttons */
.actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Basis-Styling für alle Buttons */
.action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
  transition: background 0.3s ease, transform 0.2s ease;
  min-width: 120px;
  text-align: center;
  border: 2px solid transparent;
}

/* Bearbeiten-Button */
.action-button.edit {
  border-color: #674ed1;
  color: #674ed1;
}

.action-button.edit:hover {
  background: #674ed1;
  color: white;
}

/* Bericht-Button */
.action-button.report {
  border-color: #28a745;
  color: #28a745;
}

.action-button.report:hover {
  background: #28a745;
  color: white;
}

/* Löschen-Button */
.action-button.delete {
  border-color: #dc3545;
  color: #dc3545;
}

.action-button.delete:hover {
  background: #dc3545;
  color: white;
}

/* Mobile Ansicht */
@media screen and (max-width: 768px) {
  .actions {
      flex-direction: column;
      align-items: center;
  }
}

.record {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  background: #f9f9f9;
}
.record .header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}
.record .teams {
  display: flex;
  justify-content: center;
  gap: 20px;
  text-align: center;
  margin-top: 5px;
}
.record .teams div {
  padding: 5px;
}
.record .actions {
  margin-top: 10px;
  text-align: center;
}
.record .actions a {
  margin-right: 10px;
  text-decoration: none;
  color: inherit;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-item {
  display: flex;
  flex-direction: column; /* Zeilenweise anordnen */
  gap: 5px;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.button-container {
  display: flex;
  gap: 10px; /* Abstand zwischen den Buttons */
  margin-top: 5px;
}

.btn {
  background: none;
  border: none;
  cursor: pointer;
}

.btn img {
  width: 24px; /* Größe der Icons anpassen */
  height: 24px;
}

@media (min-width: 1200px) {
  .container {
      width: 80%; /* Breiter auf großen Bildschirmen */
      max-width: 1400px; /* Maximale Breite setzen */
  }
}


.image-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.image-container img {
  max-width: 100px;
  height: auto;
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: 5px;
  cursor: pointer;
}
#imageModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}
#imageModal img {
  display: block;
  margin: 50px auto;
  max-width: 90%;
  max-height: 80%;
}

.filter-button {
    padding: 5px 10px;
    border: 1px solid #333;
  background: #674ed1;
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 5px;
}
