:root {
  /*--primcol: #5E8C61; /* Hauptfarbe: Dynamisches Sea Green */
  --textcol: #f3f4f6; /* Hintergrundfarbe: Hellgrau */
  /*--seccol: #3967FD; /* Sekundärfarbe: NeonBlau */
  --thirdcol: #D55672; /*blush */
  /*--accent: #4A4238; /* Akzentfarbe: Türkisgrün */
  /*--textcol: #1f2937; /* Textfarbe: Dunkles Grau */
  --white: #ffffff; /* Weiß */
  --header-bg: linear-gradient(180deg, var(--primcol), var(--bgcol)); /* Farbverlauf für Main Content Header */

  --bgcol: #636468;
  --bgcoldark: #131B28;
  --bgcolmid: #3B4048; /* Farbe genau dazwischen */
  --farbe9: #7AFFFA;
  --accent: #5FC6BF;
  --farbe3: #8BA7A5 ;
  --: #FF9FC3;
  --primcol: #FF5AAE ; 
  --farbe5: #FE52B1;
  --seccol: #E7C29C;
  --whitetrans:#ffffff30;
  --blacktrans:#00000030;
  
 
  --farbe10: #18191d;
}
html {
  font-size: 16px; /* Basisgröße */
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(0, 0, 0, 0.05);

}

body {
  background-color: var(--bgcol);
  color: var(--textcol);
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header mit Hauptmenü */
header {
  
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  
}
header .containermainmenu{
  background-color: var(--bgcoldark);
    background-image: url(/images/hintergrund_pattern2_013.png);
    animation: infiniteMovehead linear infinite 200000ms;
    color: var(--primcol);
    padding: 5px 5px 5px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    width:100%;
    box-sizing: border-box;

}
@media (max-width: 768px) {
  header .containermainmenu{
    padding: 2px;
  }
}

@keyframes infiniteMovehead {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 128px -512px; /* Passe das dynamisch in JS an */
  }
}

/* Burger-Menü */
header .burger-menu {
  display: none; /* Standardmäßig versteckt */
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

header h1 {
  margin-block-start: 0;
  margin-block-end: 0;
  font-size: 2em;
}
@media (max-width: 700px) {
  header h1 {
    font-size: 1.6rem;
  }
}

/* Hauptmenü - Desktop */

header nav.main-menu {
  display: flex;
  gap: 20px;
}

header nav.main-menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 20px;
}

header nav.main-menu li a {
  color: var(--white);
  text-decoration: none;
  padding: 8px 12px;
  font-weight: bold;
  background-color: var(--primcol);
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 4px;
}

header nav.main-menu li a:hover {
  background-color: var(--accent);
  color: var(--bgcol);
  
}

/*allgemeine überschrift einstellungen */

h1{

}
h2 {

}
h3{
  margin: 10px 2px;
}

/*Menü wenn Verwaltung aktiv anzeigen*/

header .verwaltungaktiv{
  display: flex;
  align-items: center;     /* vertikal zentrieren */
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--farbe3);
  white-space: nowrap;
    overflow: hidden;  
    font-size: clamp(0.4rem, 1vw, 0.8rem);
}
header .verwaltungaktiv h3{
  padding: 0;
  margin: 3px;
  
}
header .verwaltungaktiv .turnieraktiv{
  padding: 0;
  margin: 3px;
  

}

header #meldungsblock{
 
  
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  border: 2px solid rgba(0, 255, 13, 0.671);
  color: rgba(0, 255, 13, 0.671);
  font-size: 0.9rem;
  padding: 3px;
  
  
}
/* Menü - Mobile Geräte */
@media (max-width: 768px) {
 header .burger-menu {
    display: block; /* Burger-Menü wird sichtbar */
  }


 header nav.main-menu {
    display: none; /* Menü standardmäßig versteckt */
    position: absolute;
    top: 60px;
    right: 0;
    background-color: var(--primcol);
    width: 100%;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  }

 header nav.main-menu.active {
    display: flex; /* Menü wird angezeigt */
  }

 header nav.main-menu ul {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  header nav.main-menu li{
    display: flex;
    justify-content: center;
  }
 header nav.main-menu li a {
    padding: 10px;
    text-align: center;
    width: 100%;
  }
}




/* Submenü als Karussell */
nav.sub-menu {
  display: block; /* Flexbox für Zentrierung */
  justify-content: center; /* Zentriert den gesamten Inhalt */
  align-items: center; /* Vertikale Zentrierung */
  background-color: var(--accent);
  padding: 2px 0;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  overflow-x: auto; /* Aktiviert horizontales Scrollen */
  overflow-y: hidden; /* Verhindert vertikales Scrollen */
  width: 100%; /* Container nimmt die gesamte Breite ein */
  margin: 0;
  scrollbar-width: thin; /* Für Firefox */
  scrollbar-color: var(--primcol) var(--accent); /* Scrollbar-Farben */
}

nav.sub-menu.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

nav.sub-menu ul {
  display: inline-flex;
  margin: 0 auto;
  flex-wrap: nowrap;
  list-style: none;
  gap: 15px;

  padding: 0;
  flex-shrink: 0; /* Verhindert das Schrumpfen */
}

nav.sub-menu li {
  padding: 5px 0;
}

nav.sub-menu ul:has(li:nth-child(n+2)) {
  justify-content: flex-start; /* Links ausrichten, wenn mehrere Elemente vorhanden sind */
  min-width: max-content; /* Breite passt sich an den Inhalt an */
}



nav.sub-menualt ul {
  display: inline-flex;
  min-width: max-content;
  list-style: none;
  gap: 15px;
  margin: 0 30px 0 30px ;
  padding: 0;
  justify-content: center; /* Zentriert die Links */
  align-items: center; /* Vertikale Zentrierung */
  overflow-x: auto; /* Aktiviert horizontales Scrollen */
  scroll-behavior: smooth; /* Sanftes Scrollen */
  -webkit-overflow-scrolling: touch; /* Unterstützt Swipe auf Mobilgeräten */
  scrollbar-width: thin; /* Für Firefox */
  scrollbar-color: var(--primcol) var(--accent); /* Farbe von Scrollbar und Hintergrund */
  overflow-y: hidden; /* Vertikale Scrollleiste ausblenden */
}

nav.sub-menu ul::-webkit-scrollbar {
  height: 10px; /* Höhe des Scrollbalkens */
}

nav.sub-menu ul::-webkit-scrollbar-thumb {
  background-color: var(--primcol); /* Farbe des Scrollbalkens */
  border-radius: 5px; /* Abgerundete Ecken */
  border: 2px solid var(--accent); /* Abstand und Rahmen */
}

/* Scrollbare Links */
nav.sub-menu li a {
  color: var(--bgcol);
  text-decoration: none;
  padding: 5px 10px;
  transition: color 0.3s ease;
  white-space: nowrap; /* Verhindert Zeilenumbrüche */
}

/* Hover-Effekt */
nav.sub-menu li a:hover {
  color: var(--primcol);
}

/* Pfeile für Navigation */
nav.sub-menu .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--accent);
  color: var(--bgcol);
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

nav.sub-menu .arrow.left {
  left: 0;
}

nav.sub-menu .arrow.right {
  right: 0;
}

/* Aktives Element im Submenü */
nav.sub-menu ul li a.active {
  font-weight: bold; /* Fett */
}




/* Main Content */
.main-content {
  position: relative;
  margin: 0px auto;
  max-width: 1200px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  
}

/* Farbverlauf nur auf den oberen 500px */
.main-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px; /* Farbverlauf-Höhe */
  background: var(--header-bg); /* Farbverlauf von der Variable */
  z-index: -1; /* Hinter dem Inhalt anzeigen */
  
}

/* Neuer Header-Bereich im Main Content */
.main-content-header {
  
  padding: 5px 5px;
  text-align: center;
  color: var(--white);
  font-weight: bold;
  border-radius: 8px;
  margin: 0 auto;
  font-size: clamp(0.8rem, 1.8vw, 1.3rem);
  white-space: nowrap;
  
}
.main-content-header a{
  text-decoration: none;
  color: var(--seccol);
  margin: 0px 10px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  padding: 4px;
}
.main-content-header a:hover{
  
  background-color: rgba(0, 0, 0, 0.2);
  
}
@media (max-width: 608px) {
  .main-content-header {
    font-size: 1rem;
    white-space:inherit;
  }
}

/* Section Content */



.section-content {
  background-color: var(--bgcol);
  background-image: url("/images/hintergrund_pattern2_007.png");
  animation: infiniteMove linear infinite 1600000ms;
  opacity: 0.95;
  padding: 5px 15px 15px 10px;
  margin: 0px auto 0; /* Überlappung mit Header */
  max-width: 95%; /* Schmäler als der Header */
  border-radius: 8px 8px 0 0; /* Nur obere Ecken */
}

@keyframes infiniteMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -128px 512px; /* Passe das dynamisch in JS an */
  }
}

.section-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--textcol);
}
/* Footer */
footer {
  background-color: var(--seccol);
  color: var(--white);
  padding: 20px;
  text-align: center;
  box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.2);
}

.foot-menu {
  background-color: var(--accent);
  padding: 15px;
  text-align: center;
}

.foot-menu nav {
  max-width: 100%;
}

.user-info {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--white);
}

/* Menü-Links */
.foot-menu nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap; /* Automatisches Umbrechen der Links */
  justify-content: center; /* Zentriert die Links */
  gap: 10px 20px; /* Abstand zwischen den Links */
  margin: 0;
  padding: 0;
}

.foot-menu nav ul li {
  flex: 1 1 auto; /* Links teilen sich den verfügbaren Platz */
  max-width: calc(33% - 20px); /* Maximale Breite für jeden Link */
}

.foot-menu nav ul li a {
  color: var(--white);
  text-decoration: none;
  padding: 8px 12px;
  transition: color 0.3s ease;
  display: inline-block;
  text-align: center;
}

.foot-menu nav ul li a:hover {
  color: var(--primcol);
}

/* Responsives Design */
@media (max-width: 768px) {
  .foot-menu nav ul li {
    max-width: calc(50% - 10px); /* Zwei Links pro Zeile auf kleineren Bildschirmen */
  }
}

@media (max-width: 480px) {
  .foot-menu nav ul li {
    max-width: 100%; /* Ein Link pro Zeile auf sehr kleinen Bildschirmen */
  }
}

/*********************************************************************************************
/* Allgemein Table Style
*********************************************************************************************/
table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden; /* Damit die abgerundeten Ecken auch für den Inhalt wirken */
}
/*alle möglichen table im verwaltungsbereich werden zarter dargestellt*/

teilnehmer-container table  {
  font-size: 0.8rem;
}

th {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.8);
  padding: 3px;
  font-size: 0.8em;
}


th a{
  color: var(--primcol);
  text-decoration: none;
  
}
td {
  padding: 3px;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.8);
  font-size: 0.8em;
}
td.cent{
  text-align: center;
}

tr:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.3);
}


tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.5);
}

tr:hover {
  background-color: rgba(0, 0, 0, 0.7);

}

/*Login
/*********************************************************************************************
/* allgemeines form  Styling 
*********************************************************************************************/
input, textarea, select  {
  
  padding: 2px;
  margin: 1px 0;
  border: 1px solid var(--bgcolmid);
  border-radius: 4px;
  font-size: 0.85rem;
  
}

p.formularinfo {
  width:100%;
}
 
/*********************************************************************************************
/* Popup Styling 
*********************************************************************************************/

#popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background: var(--bgcol);
  padding: 17px 17px;
  border-radius: 10px;
  box-shadow: inset 0 0 10px 3px var(--accent);
  /*width: 400px;*/
  min-width: 400px;
  max-width: 95%;
  max-height: 90vh; /* Maximale Höhe 90% der Viewport-Höhe */
  color: var(--textcol);
  overflow-y: auto; /* Scrollbar bei Bedarf */
  overflow-x: hidden; /* Kein horizontales Scrollen */
  /* Scrollbar-Styling für bessere Sichtbarkeit */
  scrollbar-width: thin;
  scrollbar-color: var(--primcol) var(--bgcolmid);
}

/* Webkit-basierte Browser Scrollbar */
#popup::-webkit-scrollbar {
  width: 8px;
}

#popup::-webkit-scrollbar-track {
  background: var(--bgcolmid);
  border-radius: 4px;
}

#popup::-webkit-scrollbar-thumb {
  background: var(--primcol);
  border-radius: 4px;
}

#popup::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

#popup h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: var(--textcol);
}

#popup label {
  font-size: 0.8rem;
  color: var(--textcol);
}

#popup input, #popup textarea  {
  width: calc(100% - 20px);
  
  
}

#popup .popupnav{
  width: 100%;
  display: flex;
  justify-content: space-between; /* Elemente gleichmäßig verteilen */
  align-items: center; /
}

#popup .popupnav button{
  height: 2em;
  
}


input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 2px solid var(--primcol);
  width: 13px!important;
  height: 13px!important;
  border-radius: 4px;
  position: relative;
cursor: pointer;
}

input[type="checkbox"]:checked::after {
  content: "✔";
  color: #33d733;
  font-size: 19px;
  font-weight: bold;
  position: absolute;
  top: -14px;
  left: -2px;
}

/*********************************************************************************************
/*  Popup-Meldung Styling 
*********************************************************************************************/

#popupmeldung {
  display: none;
  position: fixed;
  top: 5px;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 1002;
  background: var(--bgcol);
  padding: 17px 30px;
  border-radius: 10px;
  box-shadow: inset 0 0 10px 3px var(--seccol);
  width: 400px;
  min-width: 400px;
  max-width: 95%;
  color: var(--textcol);
  transition: opacity 0.3s ease;
}

#popupmeldung h1 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--primcol);
  margin:0;
  text-align: center;
  width: 100%;
  
}

#popupmeldung label {
  font-size: 1rem;
  color: var(--textcol);
}

#popupmeldung input, #popupmeldung textarea  {
  width: calc(100% - 20px);
  
  
}

/* Neue Styles für das Meldung-System - Hinzufügen am Ende der styles.css */

/* Meldung-Styling */
#popupmeldung  .meldung-content {
  /*padding: 15px;#wird nicht benötigt. 
  border-radius: 8px;
  margin-bottom: 10px;*/
}

/* Icon in der Überschrift */
#popupmeldung  .meldung-icon {
  margin-right: 10px;
  font-size: 1.2em;
}


/* Header mit Icon und Überschrift */
#popupmeldung .meldung-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

#popupmeldung .meldung-header h2 {
  margin: 0;
  font-size: 1.3rem;
}

/* Meldungstext */
#popupmeldung .meldung-text {
  margin-bottom: 15px;
  line-height: 1.4;
}

/* Button-Container */
#popupmeldung .meldung-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

/* Meldungs-Buttons */
#popupmeldung .meldung-button {
  background-color: var(--primcol);
  color: var(--bgcolmid);
  border: none;
  padding: 7px 15px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#popupmeldung .meldung-button:hover {
  background-color: var(--accent);
}

#popupmeldung .meldung-cancel-button {
  background-color: var(--bgcolmid);
  color: var(--white);
}

#popupmeldung .meldung-cancel-button:hover {
  background-color: var(--bgcoldark);
}

/* Farben für verschiedene Meldungstypen */
#popupmeldung .meldung-info {
  /*background-color: rgba(0, 0, 0, 0.5);
  border-left: 5px solid var(--accent);*/
}
/*
#popupmeldung .meldung-fehler {
  background-color: rgba(0, 0, 0, 0.5);
  border-left: 5px solid var(--thirdcol);
}*/

/*#popupmeldung .meldung-bestaetigung {
  background-color: rgba(0, 0, 0, 0.5);
  border-left: 5px solid var(--seccol);
}*/



/*********************************************************************************************
Form filter
*********************************************************************************************/

form.formfilter{
  background-color: var(--bgcol);
  background-image: url(/images/hintergrund_pattern2_007.png);
  animation: infiniteMove linear infinite 1600000ms;
  opacity: 0.95;
  padding: 5px;
  margin: 5px;
  /* margin: 0px auto 0; */
  max-width: 100%;
  box-shadow: inset 0 0 10px 3px var(--whitetrans);
  border-radius: 8px;
}
form.formfilter label,form.formfilter select, form.formfilter input, form.formfilter button{
  margin: 0 5px ;
}

/*********************************************************************************************
Popup styling allgemein
*********************************************************************************************/
/*formular divs um die einzelne formulare abzuheben*/
#popup div.form{
  background-color: var(--bgcol);
  background-image: url(/images/hintergrund_pattern2_007.png);
  animation: infiniteMove linear infinite 1600000ms;
  opacity: 0.95;
  padding: 5px;
  margin: 5px;
  /* margin: 0px auto 0; */
  max-width: 100%;
  box-shadow: inset 0 0 10px 3px var(--whitetrans);
  border-radius: 8px;
}



#popup .close {
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: var(--textcol);
  opacity: 0.7;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1001; /* Sicherstellen, dass Close-Button über Scrollinhalt liegt */
}

#popup .close:hover {
  color: var(--accent);
  opacity: 1;
}

/* Modal-Header für standardisierte Popups */
#popup .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  background-color: var(--bgcolmid);
  border-bottom: 1px solid var(--whitetrans);
  margin: -12px -12px 0 -12px;
  border-radius: 6px 6px 0 0;
}

#popup .modal-header h3 {
  margin: 0;
  color: var(--textcol);
  font-size: 1.2rem;
}

#popup .modal-body {
  padding: 5px 0px;
}

/* Responsive Anpassungen für Popup */
@media (max-width: 768px) {
  #popup {
    width: 90%;
    min-width: 90%;
    max-height: 85vh; /* Etwas weniger Höhe auf mobilen Geräten */
    padding: 15px 20px;
    top: 50%;
  }
}

@media (max-width: 480px) {
  #popup {
    width: 95%;
    min-width: 95%;
    max-height: 80vh; /* Noch weniger Höhe auf sehr kleinen Bildschirmen */
    padding: 10px 15px;
  }
}

#messageBox{

  display:none; background-color: #d4edda; color: #155724; padding: 10px; margin-bottom: 10px;
}


/*Standartwerte für Buttons Inputs usw */
button {
  background-color: var(--primcol);
  color: var(--bgcolmid);
  border: none;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button.active{
  background-color: var(--accent) ;
}

button:hover {
  background-color: var(--accent);
}

/* Styling für einen deaktivierten Button */
button:disabled {
  background-color: #ccc; /* Grauer Hintergrund */
  color: #666;           /* Graue Schrift */
  cursor: not-allowed;   /* Mauszeiger zeigt "nicht erlaubt" */
  opacity: 0.7;          /* Leicht transparent */
}

buttonwirdglaubeichnichtgebarucht[type="button"] {
  
  color: var(--bgcoldark);
  margin-left: 10px;
}

button[type="button"]:hover {
 
  color: var(--bgcol);
}

textarea{
 
  color: var(--bgcol);
}

div.button-toggle{
  display: flex;
      flex-wrap: nowrap;
      align-content: center;
      justify-content: center;
      flex-direction: row;
      gap: 5px;
      padding: 5px;
      

}

/**********************************************************************************************************************
Verwaltung Tabellen div flexbox vorläufig für bewerbe
***********************************************************************************************************************/

.turnierinfo{
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  height: 2em;
  overflow: hidden;
  transition: height 1.3s ease, background-color 0.5s ease; /* Übergangseffekte */
}
.turnierinfo:hover{
 
  background-color: rgba(255, 255, 255, 0.2);
}

/*Turnierinfofeld für wird in Abrechung verwendet*/
.turnierinfo h2{
  margin:0;
  font-size: 1rem;
}
.turnierinfo p{
  margin:0;
  font-size: 0.8rem;
}

/* Gesamtübersicht */
.verwaltungbewerbsuebersicht {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Abstand zwischen den Bewerben */
}

/* Einzelner Bewerb */
.verwaltungbewerb {
  border: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: 3px;
  padding: 2px;
  margin-bottom: 1px;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

/* Hover-Effekt */
.verwaltungbewerb:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Zeilen im Bewerb */
.verwaltungbewerb-zeile {
  display: flex;
  justify-content: space-between;
  gap: 10px; /* Abstand zwischen den Spalten */
  margin-bottom: 5px;
}

/* Einträge in einer Zeile */
.verwaltungbewerb-zeile span {
  flex: 1;
  white-space: nowrap;
  font-size:  clamp(0.5rem, 1.5vw, 0.9rem); /* automatisch Schriftgröße anpassen */


}

/* Spezifische Klassen */
.verwaltungbewerb-zeile .nummer {
  font-weight: bold;
  width: 30px;
  flex:none;
}

.verwaltungbewerb-zeile .name {
  font-weight: bold;
 
}

.verwaltungbewerb-zeile .klasse {
  text-align: center;
  color: #666;
}

.verwaltungbewerb-zeile .zeit {
  color: var(--seccol);
  font-size: 0.7rem;
}

.verwaltungbewerb-zeile .freigabeja {
  color: #28a745;
  cursor: pointer;
}
.verwaltungbewerb-zeile .freigabenein {
  color: #dc3545;
  cursor: pointer;
}


.verwaltungbewerb-zeile .ergebnisse a {
  text-decoration: none;
  color: #dc3545;
}
.verwaltungbewerb-zeile .abteilungen {
  display: flex;
  border: 1px rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  font-size: 0.7rem;
  width:100%;
  white-space: nowrap;
  align-items: center; /* NEU: vertikal ausrichten innerhalb der Abteilungen */
  gap: 1px; /* optional für Abstand zwischen Elementen */
}
.verwaltungbewerb-zeile .abteilungen span{
  
  font-size: 0.6rem;
    text-align: right;
    display: inline-block; /* inline-block beibehalten */
    vertical-align: middle;
 
}
.verwaltungbewerb-zeile .abteilungeinzeln {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  padding: 3px 4px;
  margin: 0 1px;
  font-size: 0.8em;
  display: flex; /* neu hinzugefügt */
    align-items: center; /* vertikale Zentrierung */
    gap: 4px; /* optional für bessere Lesbarkeit */
}
.verwaltungbewerb-zeile .abteilungeinzeln span {
  font-size: 0.8em;
}


.verwaltungbewerb-zeile .ergebnisse a:hover {
  text-decoration: underline;
}

/* Aktionen */
.verwaltungbewerb-zeile .aktionen {
  flex: none; /* Keine automatische Anpassung */
  display: flex;
  gap: 5px;
}

.verwaltungbewerb-zeile .aktionen a {
  text-decoration: none;
  color: var(--accent);
}

.verwaltungbewerb-zeile .aktionen a:hover {
  color: var(--primcol);
}



/*********************************************************************************************************
 Übersicht für Smartphones (Turniere und Bewerbe)
 *********************************************************************************************************/
 .turnier-uebersicht, .bewerbs-uebersicht {
  display: flex;
  flex-direction: column;
  gap: 5px; /* Abstand zwischen den Elementen */
}


/* Einzelnes Item (Turnier oder Bewerb) */
.turnier-item, .bewerb-item {
  border: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: 5px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
  text-decoration: none;
  color: inherit;
}

/* Hover-Effekt */
.turnier-item:hover, .bewerb-item:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Zeilen im Item */
.turnier-item-zeile, .bewerb-item-zeile {
  display: flex;
  flex-direction: row; /* Horizontale Ausrichtung */
  justify-content: space-between;
}

/* Einträge in einer Zeile */
.turnier-item-zeile span, .bewerb-item-zeile span {
  font-size: 14px;
  word-wrap: break-word;
}

/* Spezifische Klassen für Namen, Dauer, Typ */
.turnier-item .name, .bewerb-item .name {
  font-size: 16px;
  font-weight: bold;
}

.turnier-item .dauer, .bewerb-item .dauer {
  color: var(--accent);
  font-style: italic;
}

.turnier-item .typ, .bewerb-item .typ {
  color: #28a745;
  font-weight: bold;
}

/* Responsive Design */
@media (min-width: 768px) {
  .turnier-item-zeile, .bewerb-item-zeile {
    flex-direction: row; /* Horizontale Ausrichtung */
    justify-content: space-between;
  }

  .turnier-item-zeile span, .bewerb-item-zeile span {
    flex: 1;
  }
}

/* Links für Items */
a.turnier-item, a.bewerb-item {
  text-decoration: none;
  color: inherit;
}

/* Nicht freigegebene Bewerbe - deaktiviertes Styling */
.bewerb-nicht-freigegeben {
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 5px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.1);
  color: #999;
  cursor: not-allowed;
  opacity: 0.6;
  position: relative;
}

.bewerb-nicht-freigegeben::after {
  content: "🔒 Noch nicht freigegeben";
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 12px;
  color: #666;
  font-style: italic;
}

/* Hover-Effekt für nicht freigegebene Bewerbe deaktivieren */
.bewerb-nicht-freigegeben:hover {
  background-color: rgba(0, 0, 0, 0.1);
  cursor: not-allowed;
}

/* Tabellen-Zeilen für nicht freigegebene Bewerbe */
tr.bewerb-nicht-freigegeben {
  background-color: rgba(0, 0, 0, 0.1) !important;
  color: #999 !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

tr.bewerb-nicht-freigegeben:hover {
  background-color: rgba(0, 0, 0, 0.1) !important;
  cursor: not-allowed !important;
}

tr.bewerb-nicht-freigegeben td {
  color: #999 !important;
}

.bewerbs-uebersicht h3{
  margin-top: 10px;
  margin-bottom: 0;
}












/* Style für die Pferde-Ergebnisliste mit Scrollbalken */
#results div.liste {
  max-height: 420px; /* Maximale Höhe der Liste */
  overflow-y: auto; /* Vertikaler Scrollbalken erscheint bei Bedarf */
 
}

/* Style für Scrollbalken (optional, für besseres Aussehen) */
#results div.liste::-webkit-scrollbar {
  width: 8px;
}


#results div.liste::-webkit-scrollbar-thumb {
  background-color: var(--accent, #5FC6BF);
  border-radius: 4px;
}


/* Buttons und Icons innerhalb der Liste besser positionieren */
#results div.liste button {
  margin-top: 10px;
}

/* Info-Text unter der Liste besser hervorheben */
#results div.liste i {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}


























/*********************************************************************************************************
Verwalungsform1 ist für Breite Popupformulare
 *********************************************************************************************************/

 .verwaltungsform1 {
  display: grid;
  grid-template-columns: 150px 1fr; /* Erste Spalte für Label, zweite für Input */
  gap: 10px 20px; /* Abstand zwischen Spalten und Zeilen */
  align-items: center; /* Vertikale Zentrierung von Label und Input */
  margin: 0 auto; /* Zentrierung des Formulars */
}

.verwaltungsform1 label {
  text-align: right; /* Labels rechtsbündig ausrichten */
}

.verwaltungsform1 input:not([type="checkbox"]),
.verwaltungsform1 select,
.verwaltungsform1 button {
  width: 100%!important;  /* Inputs und Selects füllen die zweite Spalte aus */
  box-sizing: border-box; /* Padding und Border in die Breite einrechnen */
}

.verwaltungsform1 div.buttons {
  grid-column: span 2; /* Der Button nimmt die gesamte Zeilenbreite ein */
  justify-self: end; /* Button linksbündig ausrichten */
  padding: 10px 20px; /* Button-Padding */
}


.verwaltungsform1 div.buttons button{
  width: auto!important;
}


/*********************************************************************************************************
melden Container für die meldungen
 *********************************************************************************************************/

 .melden-container .form-section{
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  margin: 2px 0px;
  padding: 2px;
 }

 .melden-container h3{
    margin: 0.1rem 0;
    font-size:1rem;
 
  }

  .melden-container #results .form-section{
    width: 50%;
   }

   .melden-container #results {
    display: flex;
    justify-content: space-between;
    gap: 6px;
}
.melden-container #results button {
  float: right;
  padding: 3px;
}
.melden-container #results button {
  float: right;
  padding: 3px;
}
.melden-container #results i {
  size: 0.6rem;
  color: var(--seccol);
}

.melden-container form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.melden-container form label {
  flex: 1;
  text-align: right;
  padding-right: 8px;
  font-weight:normal;
}

.melden-container form input {
  flex: 2;
  width: 100%;
  
  
}

.melden-container form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.2);
}
.melden-container #bewerbSelection {
  justify-content: left; /* Zentriert den Inhalt horizontal */
    align-items: center; /* Zentriert den Inhalt vertikal */
    gap: 10px; /* Abstand zwischen den Elementen */
    padding: 0.3rem;
}


.melden-container #bewerbSelection button{
  margin: 3px;
}


.melden-container .liste div.item{
  font-size: 0.85rem;
    padding: 0.1rem;
    
}
.melden-container .liste div.item:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

.melden-container .liste div.item:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.06); 
}
.melden-container table {
  border-radius: 0;
  font-size: 0.85rem;
    padding: 0.1rem;
  overflow: auto;
}
.melden-container td {
  padding: 3px;
  border:none;
}

.melden-container .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.melden-container a {
  color: var(--textcol);
  
}

.melden-container  div label {
  flex-grow: 1;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.melden-container .text {
  margin-left: 10px;
}


.melden-container .info-cell {
  text-align: center;
  width: 40px;
  position: relative; /* Wichtig, damit die Info-Box sich relativ zu diesem Element positioniert */
}

.melden-container .info-box {
  position: absolute;
  top: 100%; /* Direkt unter dem "ℹ️" */
  right: 0%; /* Zentriert unter dem Icon */
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px;
  font-size: 12px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  white-space: nowrap;
  display: none;
  z-index: 1000;
  border-radius: 5px;
  min-width: 150px;
  text-align: left;
}
.melden-container .delete-icon{
  cursor: pointer;
}


/**************************************
 todo liste
***************************************/
    /* Basis CSS – nur für den Todo-Bereich */
    th.checkbox-col, td.checkbox-col {
      width: 30px;
      text-align: center;
  }
  .toggle-link {
      margin-top: 10px;
      display: inline-block;
  }
  /* Deine bestehenden Styles */
  .todoeintrag, .todostapel {
      margin: 20px 0;
      padding: 10px;
      background-color: rgba(0, 0, 0, 0.25);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 5px;
  }
  .todoeintrag textarea {
      width: 100%;
      height: 40px;
      padding: 8px;
      border-radius: 4px;
      font-size: 14px;
      box-sizing: border-box;
  }
  .todoeintrag button, .todostapel button, .todostapel select {
      margin-top: 4px;
      padding: 5px;
      cursor: pointer;
  }
  .todotable {
      width: 100%;
      border-collapse: collapse;
  }
  .todotable th, .todotable td {
      
      padding: 8px;
      text-align: left;
  }
  .admin-comment-container {
      display: flex;
      align-items: center;
      gap: 5px;
  }
  .admin-comment-container textarea {
      flex: 1;
      resize: none;
      overflow: hidden;
  }

  .filter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.filter-form {
  /* Optional: Falls du noch weitere Anpassungen für das Formular möchtest */
}

.cancel-toggle {
  text-align: right;
  background-color: var(--primcol);
  text-decoration: none;
  padding: 6px;
  margin:5px;
  border-radius: 4px;
  font-weight: bold;
  vertical-align: middle;
}
.cancel-toggle:hover {
  text-align: right;
  background-color: var(--primcol);
  text-decoration: none;
  padding: 6px;
  margin:5px;
  border-radius: 4px;
  font-weight: bold;
  vertical-align: middle;
}
.cancel-toggle a {
  
  text-decoration: none;
  color: var(--bgcoldark);
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}


/********************************************************************
/* Dropdown-Menü für Submenü
*********************************************************************/
/* Dropdown-Container */
nav.sub-menu li.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown-Toggle Link */
nav.sub-menu li.dropdown .dropdown-toggle {
  position: relative;
  padding-right: 20px; /* Platz für den Pfeil */
}

/* Pfeil-Symbol für Dropdown */
nav.sub-menu li.dropdown .dropdown-toggle::after {
  content: '▼';
  font-size: 0.7em;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
}

/* Dropdown-Menü (standardmäßig ausgeblendet) */
nav.sub-menu li.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 200px;
  background-color: var(--accent);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  z-index: 1001;
  padding: 5px 0;
  margin: 0;
}

/* Dropdown-Menü anzeigen bei Hover */
nav.sub-menu li.dropdown:hover .dropdown-menu {
  display: block;
}

/* Dropdown-Menü-Elemente */
nav.sub-menu li.dropdown .dropdown-menu li {
  display: block;
  width: 100%;
  padding: 0;
}

nav.sub-menu li.dropdown .dropdown-menu li a {
  display: block;
  padding: 8px 15px;
  color: var(--bgcol);
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

nav.sub-menu li.dropdown .dropdown-menu li a:hover {
  background-color: var(--bgcolmid);
  color: var(--white);
}

/* Mobile Anpassungen für Dropdown */
@media (max-width: 768px) {
  nav.sub-menu li.dropdown .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    margin-top: 5px;
    background-color: rgba(0, 0, 0, 0.1);
  }
  
  nav.sub-menu li.dropdown .dropdown-menu li a {
    padding-left: 30px; /* Einrückung für mobile Ansicht */
  }
}

/************************************************************************************************
Uploadformulare
*************************************************************************************************/
#uploadMessage{
  background-color: var(--bgcol);
}




/************************************************************************************************
Hilfesystem
*************************************************************************************************/
/* Hilfe-Tooltips */
.hilfe-tooltip {
  position: absolute;
  background-color: var(--bgcoldark);
  color: var(--textcol);
  padding: 8px 12px;
  border-radius: 4px;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3);
  z-index: 1010;
  max-width: 300px;
  font-size: 0.9rem;
}

.hilfe-tooltip:after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent var(--bgcoldark) transparent;
}

/* Hilfe-Button */
.hilfe-link {
  color: var(--accent);
  font-size: 1rem;
  margin-left: 8px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.hilfe-link:hover {
  opacity: 1;
  text-decoration: none;
}

/* Hilfe-Artikel */
.hilfe-artikel {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.hilfe-artikel h2 {
  margin-top: 0;
  color: var(--primcol);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

.kategorie-badge {
  display: inline-block;
  background-color: var(--accent);
  color: var(--bgcol);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

.artikel-inhalt {
  line-height: 1.6;
}

.artikel-inhalt img {
  max-width: 100%;
  border-radius: 4px;
  margin: 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.artikel-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 20px;
  text-align: right;
}

/* Verwandte Artikel */
.verwandte-artikel {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 15px;
}

.verwandte-artikel h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--primcol);
}

.verwandte-artikel ul {
  padding-left: 20px;
}

.verwandte-artikel li {
  margin-bottom: 8px;
}

/* Hilfesystem - Hauptcontainer */
.hilfe-container {
  margin: 0 auto;
  max-width: 1100px;
}

/* Hilfe-Suchfeld */
.hilfe-suche {
  margin-bottom: 20px;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 15px;
  border-radius: 8px;
}

.search-container {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
}

.search-container input {
  flex-grow: 1;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px 0 0 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--textcol);
}

.search-container button {
  padding: 10px 15px;
  border: 1px solid var(--primcol);
  border-radius: 0 4px 4px 0;
  background-color: var(--primcol);
  color: var(--bgcoldark);
  cursor: pointer;
}

/* Hilfe-Bereichs-Styling */
.hilfe-section {
  margin-bottom: 40px;
}

.hilfe-section h2 {
  color: var(--primcol);
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

/* Artikel-Grid für Top-Artikel */
.artikel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.artikel-card {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.artikel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.artikel-card h3 {
  margin-top: 0;
  color: var(--primcol);
}

.artikel-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  text-decoration: none;
}

.artikel-link:hover {
  text-decoration: underline;
}

/* Kategorie-Grid */
.kategorie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.kategorie-card {
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: background-color 0.3s;
}

.kategorie-card:hover {
  background-color: rgba(0, 0, 0, 0.25);
}

.kategorie-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  text-decoration: none;
}

/* FAQ-Styling */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 10px;
  border-radius: 4px;
  overflow: hidden;
}

.faq-frage {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 12px 15px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s;
}

.faq-frage:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.faq-frage:after {
  content: '+';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.faq-frage.active:after {
  content: '-';
}

.faq-antwort {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

/* Einzelner Artikel */
.hilfe-artikel {
  max-width: 800px;
  margin: 0 auto 30px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
}

.artikel-header {
  margin-bottom: 20px;
}

.artikel-navigation {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.back-link, .category-link {
  color: var(--accent);
  text-decoration: none;
}

.back-link:hover, .category-link:hover {
  text-decoration: underline;
}

.artikel-inhalt {
  line-height: 1.7;
}

.artikel-inhalt img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 15px 0;
}

.artikel-inhalt ul, .artikel-inhalt ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.artikel-inhalt li {
  margin-bottom: 8px;
}

.artikel-inhalt table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.artikel-inhalt th, .artikel-inhalt td {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 12px;
}

.artikel-inhalt th {
  background-color: rgba(0, 0, 0, 0.2);
}

.verwandte-artikel {
  margin-top: 30px;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.verwandte-artikel h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--primcol);
}

/* Admin-Panel */
.admin-panel {
  max-width: 1100px;
  margin: 0 auto;
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.dashboard-card {
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dashboard-card h3 {
  margin-top: 0;
  color: var(--accent);
}

.card-value {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 15px 0;
  color: var(--primcol);
}

.card-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  text-decoration: none;
}

.admin-actions {
  margin: 30px 0;
}

.button-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Artikel-Formular */
.artikel-form-container {
  max-width: 900px;
  margin: 0 auto;
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.artikel-form {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
}

.artikel-form textarea{
  width: 100%;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Status-Badges */
.status-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.status-active {
  background-color: rgba(40, 167, 69, 0.2);
  color: #40c057;
}

.status-inactive {
  background-color: rgba(220, 53, 69, 0.2);
  color: #e55c6c;
}

/* Kategorie Badges */
.kategorie-badge {
  display: inline-block;
  background-color: var(--accent);
  color: var(--bgcol);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 15px;
}


/* Responsive Design für kleinere Bildschirme */
@media (max-width: 768px) {
  .form-row {
      grid-template-columns: 1fr;
  }
  
  .artikel-navigation {
      flex-direction: column;
      gap: 10px;
  }
  
  .artikel-grid, .kategorie-grid {
      grid-template-columns: 1fr;
  }
  
  .button-group {
      flex-direction: column;
  }
  
  .dashboard-cards {
      grid-template-columns: 1fr;
  }
}