/* Allgemeine Einstellungen */
html, body {
    width: 100%;
   overflow-x: hidden;
    margin: 0;
    padding: 0;
	
    background-color: #0a0a0a; /* Falls der Hintergrund nicht richtig durchzieht */
}
body {
    font-family: 'Arial', sans-serif;

    padding: 0;
    background-color: #1e293b; /* Dunkles Feuerwehr-Blau */
    color: #fff;
	 min-height: 100vh;	
    flex-direction: column;
}
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* Globale Lösung für das überlappende mobile Menü */
@media (max-width: 768px) {
    body {
        padding-bottom: 120px; /* Passt den Abstand an das Menü an */
    }
}

@media (max-width: 600px) { /* Passe die Breite an deine mobile Breakpoint-Größe an */
    .main-wrapper {
        padding-bottom: 50px; /* Fügt 50px Abstand unten hinzu */
    }
}
.info-box {
    background-color: #2a3b3c; /* Etwas helleres Dunkelgrau für Kontrast zum Hintergrund */
    border-left: 4px solid #ffc107; /* Gelber Akzent für Auffälligkeit */
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    color: #ffffff; /* Weiß für gute Lesbarkeit */
    font-size: 16px;
    line-height: 1.5;
}

.info-box i {
    color: #ffc107; /* Gelbes Icon für Konsistenz */
    margin-right: 10px;
}

.info-box p {
    margin: 0;
}

.info-box strong {
    color: #ffeb3b; /* Hellgelb für Hervorhebung von "externe Mitglieder" */
}

/* Mobilfreundliches Design */
@media (max-width: 768px) {
    .info-box {
        font-size: 14px;
        padding: 10px;
    }
}
a {
    color: #be1522; /* Leuchtendes Feuerwehr-Rot */
    text-decoration: none;
}
@media (max-width: 1024px) {
  .admin-footer {
    display: none !important;
  }
}

@media screen and (orientation: landscape) {
    body {
        transform: rotate(0deg);
    }
}
a:hover {
        text-decoration: none;
}


.file-upload-label {
    display: inline-block;
    padding: 10px 15px;
    background-color: #1967b7;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.element.style {
    color: white;

}
.big-container {
    display: flex; /* Aktiviert Flexbox */

    flex-direction: column; /* Stellt sicher, dass Inhalte vertikal bleiben */
    align-items: center; /* Zentriert den Inhalt horizontal */

    max-width: 900px; /* Maximale Breite für bessere Lesbarkeit */
    width: 90%; /* Verhindert, dass es zu klein wird auf mobilen Geräten */
    min-height: calc(100vh - 120px); /* Passt die Höhe an, um Header und Footer zu berücksichtigen */

    margin: 20px auto; /* Zentriert den Container */
    padding: 20px; /* Abstand innen */
    padding-bottom: 100px;

    background-color: #2d384e; 
    background-image: url('../images/wasserzeichen.png');
                    
    background-repeat: no-repeat;
    background-position: center;
    background-size: 400px, cover;
    background-blend-mode: overlay; /* Mischt das Bild mit dem Verlauf */
    border-radius: 15px; /* Abgerundete Ecken */
 box-shadow: 0px 0px 20px rgba(30, 41, 59, 0.7), /* Äußeres Leuchten */
                0px 0px 25px rgba(30, 41, 59, 0.5) inset; /* Inneres Leuchten */
    box-sizing: border-box; /* Inklusive Padding für die Höhe */
}


.file-upload-label:hover {
    background-color: #2988e9;
}

.file-upload-label i {
    margin-right: 5px;
}
/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px; /* Feste Breite für alle Ansichten */
  height: 34px; /* Feste Höhe für alle Ansichten */
  margin-right: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px; /* Abgerundete Ecken passend zur Höhe */
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px; /* Feste Größe des Punktes */
  width: 26px;
  left: 4px; /* Symmetrischer Abstand links */
  bottom: 4px; /* Symmetrischer Abstand unten */
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4caf50;
}

input:checked + .slider:before {
  transform: translateX(30px); /* 60px (Breite) - 26px (Punkt) - 4px (linker Abstand) - 4px (rechter Abstand) */
}

/* Sicherstellen, dass Maße nicht verfälscht werden */
.switch, .slider, .slider:before {
  box-sizing: border-box;
}


/* Flexibles Grid-System */
.grid-container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(var(--columns, 3), 1fr); /* Standardmäßig 3 Spalten */
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Einzelne Grid-Elemente */
.grid-item {
    background-color: #1e293b;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Anpassung für mobile Geräte */
@media (max-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(var(--columns-mobile, 2), 1fr); /* Standardmäßig 2 Spalten auf Tablets */
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(var(--columns-mobile, 1), 1fr); /* Eine Spalte auf Handys */
    }
}

.select-level {
    width: 25%;
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f4f4f4;
    color: #333;
}

.mitglieder_column-level {
    text-align: center;
    padding: 10px;
}
.fasta-activity-bar {
    background-color: #ffa500; /* Orange */
    height: 10px;
    max-width: 100%; /* Begrenze die Breite */
}


/* Stil für Bearbeiten-Button */
.ueb-edit-button {
    background-color: #28a745; /* Grün */
    color: #fff; /* Weiße Schrift */
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    display: inline-flex;
    align-items: center;

    gap: 5px; /* Abstand zwischen Icon und Text */
    transition: background-color 0.3s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Leichter Schatten */
}

.ueb-edit-button i {
    font-size: 1.2em; /* Konsistente Icon-Größe */
}

.ueb-edit-button:hover {
    background-color: #218838; /* Dunkleres Grün beim Hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Stärkerer Schatten beim Hover */
}

/* Stil für Löschen-Button */
.ueb-delete-button {
    background-color: #dc3545; /* Rot */
    color: #fff; /* Weiße Schrift */
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px; /* Abstand zwischen Icon und Text */
    transition: background-color 0.3s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Leichter Schatten */
}

.ueb-delete-button i {
    font-size: 1.2em; /* Konsistente Icon-Größe */
}

.ueb-delete-button:hover {
    background-color: #c82333; /* Dunkleres Rot beim Hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Stärkerer Schatten beim Hover */
}

/* Boxen und Karten */
.card {
    background: linear-gradient(145deg, #1b2b3a, #243548);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.card h2 {
    color: #ff4d4d;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.card p {
    font-size: 1.1em;
    margin: 10px 0;
}

.card i {
    font-size: 2em;
    color: #ff4d4d;
    margin-right: 10px;
}

/* Statistiken */

.stat-box {
    background: linear-gradient(to bottom right, #ff4d4d, #cc0000);
    border-radius: 15px;
    padding: 20px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    flex: 1 1 300px;
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.stat-box i {
    font-size: 3em;
    margin-bottom: 10px;
    display: block;
}

.stat-box h3 {
    font-size: 1.2em;
    margin: 5px 0;
}

.stat-box p {
    font-size: 1em;
    margin: 0;
}
/* Geräte DESIGN */

.custom-beschreibung {
    width: 100%;
    height: 30px;
    padding: 5px;
}



/* Footer */
.admin-footer {
    background-color: #1e293b;
    padding: 10px;
    text-align: center;
    border-top: 3px solid #ff4d4d;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* Mitglieder-Boxen */
/* Mitgliederverwaltung - Tabelle */
.member-box-header,
.member-box {
   display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
    background-color: #1c1c1c; /* Beispiel für den Hintergrund */
    border-radius: 5px;
    align-items: center;
	
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #1e293b;
    color: #fff;
}

.member-box-header {
    color: #fff; /* Weiße Schrift */
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase; /* Alle Buchstaben groß */
    padding: 15px 20px; /* Abstand innerhalb des Headers */
    background-color: #1e293b; /* Dunkler Hintergrund passend zum Container */
    border-radius: 10px; /* Abgerundete Ecken für Konsistenz */
    text-align: center; /* Zentriert den Text horizontal */
   
    margin: 0 auto; /* Zentriert den Header horizontal */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Schatten */
}


.member-box-header div {
    text-align: center;
}

.member-box div {
    text-align: center;
    padding: 10px 0;
}

.member-box-header div:last-child {
    text-align: right; /* Aktionen-Überschrift rechtsbündig */
}

.actions {
    display: flex;
    gap: 10px;
    justify-content: center;
	text-align: right; /* Elemente in der Spalte rechts ausrichten */
}

.actions a {
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.actions .btn-edit {
    background-color: #28a745;
    color: #fff;
}

.actions .btn-edit:hover {
    background-color: #218838;
}

.actions .btn-delete {
    background-color: #dc3545;
    color: #fff;
}

.actions .btn-delete:hover {
    background-color: #c82333;
}
.uebungen-actions {
    justify-content: flex-end; /* Rechts ausrichten */
}
.actions.uebungen-actions {
    justify-content: flex-end; /* Buttons nach rechts ausrichten */
    display: flex;
    align-items: center;
}

/* Anpassung für die Übungen-Ansicht */
.uebungen .member-box {
    grid-template-columns: 2fr 1fr; /* Erste Spalte: Datum, zweite Spalte: Aktionen */
}
.member-box-header div:last-child {
    text-align: right; /* Überschrift der letzten Spalte rechts ausrichten */
}



/* Grid für Tabelle */
.member-table {
     display: flex;
    flex-direction: column; /* Tabelleninhalt bleibt vertikal */
    gap: 15px;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Schatten */
    background-color: #1e293b; /* Dunkler Hintergrund */
    color: #fff; /* Weiße Schrift */
    max-width: 801px;
	
    margin: 0 auto; /* Zentriert horizontal */
    height: auto; /* Höhe passt sich dem Inhalt an */
    border-spacing: 0; /* Entfernt Abstände zwischen Tabellenzellen */
}

.member-table .member-box {
    border: 1px solid #333;
}

.search-form button {
    padding: 10px 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
    /* Button-Größe reduzieren */
    .actions a {
        padding: 5px 10px; /* Kleinere Polsterung */
        font-size: 0.9em; /* Kleinere Schriftgröße */
    }

    .btn-add, .search-form button {
        padding: 8px 12px; /* Kleinere Polsterung für Buttons */
        font-size: 0.9em; /* Kleinere Schriftgröße */
    }

    /* Schriftgröße in den Boxen anpassen */
    .member-box div {
        font-size: 0.9em; /* Kleinere Schrift */
    }

    /* Header- und Tabellenkopf-Schrift anpassen */
    .member-box-header div {
        font-size: 0.9em; /* Kleinere Schrift */
    }

    /* Platz für Buttons optimieren */
    .actions {
        gap: 5px; /* Weniger Abstand zwischen Buttons */
    }
}










/* Suchfeld und Button */

.search-form input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 2px solid #cc0000;
    border-radius: 5px;
    font-size: 1em;
}


.search-form button:hover {
    background-color: #218838;
}
/* Bearbeitungsformular in einer Box */
.edit-member-box {
    display: flex;
    flex-direction: column;
    gap: 15px;

    padding: 5px;
    background-color: #1e293b; /* Dunkler Hintergrund */
    color: #fff; /* Weiße Schrift */
    
    width: 95%; /* Breite auf fast die gesamte Bildschirmbreite setzen */
    max-width: 1200px; /* Begrenzung für große Bildschirme */
    

    height: auto; /* Höhe passt sich dem Inhalt an */
}


/* Media Query für kleine Bildschirme */
@media (max-width: 768px) {
    .edit-member-box {
        max-width: 100%; /* Volle Breite für kleine Bildschirme */
    }
}



.edit-member-box .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
	border: none; 
}

.edit-member-box .form-group label {
    font-weight: bold;
    color: #fff; /* Weiße Schrift für die Beschriftung */
	border: none; 
}

.edit-member-box .form-group input,
.edit-member-box .form-group select {
    padding: 10px;
    border: none; /* Kein Rahmen */
    border-radius: 5px;
    font-size: 1em;
    background-color: #2a3b4d; /* Dunkler Eingabefeld-Hintergrund */
    color: #fff; /* Weiße Schrift */
	border: none; 
}
.btn-save {
    background-color: #28a745; /* Grün */
    color: #fff; /* Weiße Schrift */
    border: none; /* Kein Rahmen */
    padding: 10px 15px; /* Polsterung */
    font-size: 1em; /* Schriftgröße */
    border-radius: 5px; /* Abgerundete Ecken */
    cursor: pointer; /* Zeigt den Cursor an */
    transition: background-color 0.3s ease; /* Übergangseffekt */
    display: inline-flex; /* Inline-Layout */
    align-items: center; /* Zentriert Inhalt vertikal */
    gap: 5px; /* Abstand zwischen Icon und Text */
}

.btn-save:hover {
    background-color: #218838; /* Etwas dunkleres Grün beim Hover */
}

.edit-member-box .btn-save {
    padding: 10px 15px;
    background-color: #28a745; /* Grün für den Speichern-Button */
    color: white;
    border: none; /* Kein Rahmen */
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.edit-member-box .btn-save:hover {
    background-color: #218838; /* Etwas dunkleres Grün beim Hover */
}
/* Container für Suchfeld und "Mitglied anlegen"-Button */
/* Textarea in der edit-member-box */
.edit-member-box .form-group textarea {
    width: 100%;
    padding: 8px;
    border: none; /* Entfernt den Standardrahmen */
    border-radius: 5px;
    font-size: 1em;
    background-color: #2a3b4d; /* Dunkle Hintergrundfarbe, passend zu anderen Eingabefeldern */
    color: #fff; /* Weiße Textfarbe für Lesbarkeit */
    box-sizing: border-box; /* Padding wird in die Breite einbezogen */
    height: 250px; /* Erhöhte Höhe für mehr Platz (ca. 8-10 Zeilen) */
    resize: vertical; /* Erlaubt nur vertikales Skalieren, verhindert horizontales Verziehen */
}

/* Media Query für mobile Geräte */
@media (max-width: 768px) {
    .edit-member-box .form-group textarea {
        height: 200px; /* Etwas kleinere Höhe für mobile Geräte */
        font-size: 1.2em; /* Kleinere Schrift für bessere Darstellung */
        padding: 5px; /* Reduziertes Padding */
	
    }
}


.search-and-add {
    display: flex;
    justify-content: center; /* Zentriert die Suchleiste und den Button-Bereich horizontal */
    align-items: center;
    margin-bottom: 20px;
    gap: 15px; /* Abstand zwischen Suchleiste und Button */
    flex-wrap: wrap; /* Ermöglicht Umbruch bei kleinen Bildschirmen */
	width: 90%;
}

.search-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap; /* Umbruch der Suchleiste bei kleinen Bildschirmen */
    margin-bottom: 20px;
}

.search-form input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    min-width: 200px; /* Mindestbreite für das Eingabefeld */
    box-sizing: border-box; /* Padding wird in die Breite einberechnet */
}


.search-form button:hover {
    background-color: #218838;
}

button.add-member {
    padding: 10px 15px;
    background-color: #ff9800;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.add-member:hover {
    background-color: #e68900;
}

/* Media Query für kleinere Bildschirme */
@media (max-width: 768px) {
    .search-and-add {
        flex-direction: column; /* Elemente untereinander anordnen */
        gap: 15px; /* Abstand zwischen den Elementen */
    }

    .search-form {
        flex-direction: column; /* Eingabe und Button untereinander */
        gap: 10px;
        width: 100%; /* Volle Breite für die Suchform */
    }

    .search-form input[type="text"] {
        width: 100%; /* Volle Breite für das Eingabefeld */
    }

    .search-form button,
    button.add-member {
        width: 100%; /* Buttons nehmen die volle Breite ein */
    }
}










.btn-add {
    background-color: #ff9800; /* Orange */
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s ease;
}

.btn-add:hover {
    background-color: #e68900; /* Dunkleres Orange */
}
/* Login Container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #0a122a; /* Feuerwehr-Dunkelblau */
    padding: 20px;
}

.login-box {
    background-color: #1e293b; /* Dunkler Hintergrund */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Schöner Schatten */
    width: 100%;
    max-width: 400px;
    text-align: center;
    color: #fff;
}

.logo img {
    width: 120px;
    margin-bottom: 20px;
}
.logo {
    width: 220px;
    margin-bottom: 20px;
}

h1 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #ff4500; /* Feuerwehr-Rot */
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
	border: none; 
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

input[type="email"], input[type="password"] {
    width: 95%;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.btn-login {
    background-color: #ff4500; /* Feuerwehr-Rot */
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-login:hover {
    background-color: #e63900; /* Dunkleres Feuerwehr-Rot */
}

.error-message {
    background-color: #dc3545; /* Rot für Fehler */
    color: white;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    display: none;
}


/* Burger-Menü */
.burger-menu {
    display: none;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        height: 20px;
        width: 30px;
        cursor: pointer;
        margin-right: 20px;
    }

    .burger-menu div {
        height: 3px;
        background-color: #fff;
        border-radius: 2px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background-color: #1e293b;
        position: absolute;
        top: 60px;
        right: 10px;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding: 10px;
        z-index: 1000; /* Menü immer sichtbar */
    }

    nav ul.show-menu {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }
}
/* Burger-Menü */
./* Burger-Menü */
.burger-menu {
    display: none;
    position: absolute; /* Positionieren wir es rechts außen */
    top: 10px; /* Abstand vom oberen Rand */
    right: 20px; /* Abstand vom rechten Rand */
    cursor: pointer;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        height: 20px;
        width: 30px;
    }

    .burger-menu div {
        height: 3px;
        background-color: #fff;
        border-radius: 2px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background-color: #1e293b;
        position: absolute;
        top: 50px; /* Abstand unter dem Header */
        right: 10px; /* Das Menü öffnet sich rechts */
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding: 10px;
        z-index: 1000; /* Das Menü überlagert andere Elemente */
    }

    nav ul.show-menu {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        text-align: right; /* Text rechtsbündig für Konsistenz */
    }
}
@media (max-width: 768px) {
    .search-and-add {
        flex-direction: column; /* Stapelt die Suche und den Button */
        align-items: stretch;
    }

    .search-form,
    .btn-add {
        width: 100%; /* Volle Breite für Suche und Button */
    }

    .btn-add {
        margin-top: 10px; /* Abstand zwischen Suche und Button */
    }
}
/* Dropdown-Container */
#ausarbeiter-list {
    position: absolute;
    z-index: 1000;
    background-color: #1e293b; /* Dunkler Hintergrund passend zum Design */
    border: 0px;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    margin-top: 0; /* Entfernt den Abstand nach oben */
    padding: 0; /* Entfernt zusätzlichen Innenabstand */
}


/* Einzelne Dropdown-Items */
.dropdown-item {
    padding: 10px 15px; /* Angenehmer Abstand für Touchgeräte */
    font-size: 1.2em; /* Größere Schrift für bessere Lesbarkeit */
    color: #fff; /* Weiße Schrift passend zum Design */
    cursor: pointer;
    border-bottom: 1px solid #2a3b4d; /* Dezente Trennlinie */
}

.dropdown-item:last-child {
    border-bottom: none; /* Keine Linie unter dem letzten Element */
}

/* Hover-Effekt für Dropdown-Items */
.dropdown-item:hover {
    background-color: #1e293b; /* Rotes Highlight beim Hover */
    color: #fff;
}
.dropdown-item, .dropdown-item-ausarbeiter, .dropdown-item-ausarbeiter2 {
    padding: 10px;
    background-color: #0a122a;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dropdown-item:hover, .dropdown-item-ausarbeiter:hover, .dropdown-item-ausarbeiter2:hover {
    background-color: #1e293b;
}

/* Wenn Dropdown leer ist */
#ausarbeiter-list.empty {
    text-align: center;
    padding: 10px;
    color: #ccc;
    font-style: italic;
}


/* Verhindert Fehlerhafte Abstände */
/* 📱 Mobile-Optimierung */
@media (max-width: 480px) {
    .container {
      width: 100%; /* Volle Breite auf mobilen Geräten */
        max-width: 100%; /* Überschreibt das max-width */
        padding: 0; /* Kein seitliches Padding */
        margin: 0; /* Entfernt unnötigen Außenabstand */
        
    }

    .form-group input, button {
        font-size: 14px;
        padding: 10px;
    }
}
@media (max-width: 768px) {
    .container {
        width: 100%; /* Volle Breite auf mobilen Geräten */
        max-width: 100%; /* Überschreibt das max-width */
        padding: 0; /* Kein seitliches Padding */
        margin: 0; /* Entfernt unnötigen Außenabstand */
    }
}
@media (max-width: 768px) {
    .page-footer {
        display: none;
    }
}
.page-footer {
    background-color: #1e293b;
    padding: 10px;
    text-align: center;
    border-top: 3px solid #ff4d4d;
}
.main-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1; /* NEU: füllt den verfügbaren Raum */
    min-height: 100vh; /* NEU: Höhe mindestens so groß wie der Bildschirm */
	max-width: 90%;
}


.container {
    display: flex; /* Aktiviert Flexbox */

    flex-direction: column; /* Stellt sicher, dass Inhalte vertikal bleiben */
    align-items: center; /* Zentriert den Inhalt horizontal */


    width: 100%; /* Verhindert, dass es zu klein wird auf mobilen Geräten */
    min-height: calc(100vh - 120px); /* Passt die Höhe an, um Header und Footer zu berücksichtigen */
    padding-bottom: 100px;

    background-color: #2d384e; 
    background-image: url('../images/wasserzeichen.png');
                    
    background-repeat: no-repeat;
    background-position: center;

    background-blend-mode: overlay; /* Mischt das Bild mit dem Verlauf */
   
}
.btn-zurueck {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #1e90ff;
    color: #fff;
    padding: 10px 16px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-zurueck:hover {
    background-color: #0d6efd;
}

.containermitglied {
    display: flex; /* Aktiviert Flexbox */

    flex-direction: column; /* Stellt sicher, dass Inhalte vertikal bleiben */


    max-width: 900px; /* Maximale Breite für bessere Lesbarkeit */
    width: 90%; /* Verhindert, dass es zu klein wird auf mobilen Geräten */
    min-height: calc(100vh - 120px); /* Passt die Höhe an, um Header und Footer zu berücksichtigen */

    margin: 20px auto; /* Zentriert den Container */
    padding: 20px; /* Abstand innen */
    padding-bottom: 100px;

    background-color: #2d384e; 
    background-image: url('../images/wasserzeichen.png');
                    
    background-repeat: no-repeat;
    background-position: center;
    background-size: 400px, cover;
    background-blend-mode: overlay; /* Mischt das Bild mit dem Verlauf */


}
.container h2 {

    color: #fff; /* Weiße Schrift, passend zum dunklen Hintergrund */
	
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1em;
}

.checkbox-group input[type="checkbox"] {
    transform: scale(1.2); /* Vergrößert die Checkbox */
}
/* EVENTS */
/* EVENTS */

.event-card {
    display: flex;
    flex-direction: column;
    background-color: #1e293b;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    color: #fff;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.event-header h3 {
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-header .status {
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
}

/* Layout der Event-Informationen */
.event-info {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Zwei Spalten */
    gap: 20px;
    padding: 15px 0;
}

.event-info-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-info-left p {
    margin: 0;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-info-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Inhalte rechts ausrichten */
    gap: 10px;
}

.event-info-right p {
    margin: 0;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Werbemaßnahmen */
.event-details {
    padding-top: 10px;
    font-size: 0.9em;
    border-top: 1px solid #333;
}

.event-details ul {
    margin: 5px 0;
    padding-left: 20px;
    list-style-type: none;
}

.event-details ul li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-details ul li i {
    font-size: 0.8em; /* Kleinere Icons */
    color: #28a745; /* Einheitliche Farbe für positive Elemente */
}

/* Aktionen (Buttons) */
.event-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 15px;
}

.event-actions a {
    padding: 8px 10px;
    font-size: 0.9em;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}

.btn-edit {
    background-color: #28a745;
}

.btn-delete {
    background-color: #dc3545;
}

/* Status-Farben */
.status-red {
    color: #fff;
    background-color: #dc3545;
    border-radius: 5px;
}

.status-green {
    color: #fff;
    background-color: #28a745;
    border-radius: 5px;
}
/* Allgemeiner Stil für Status-Buttons */
.status-button {
    display: inline-block;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    min-width: 70px;
}

/* Grüner Button für aktiv */
.status-aktiv {
    background-color: #28a745; /* Grün */
    border: 1px solid #218838;
}

/* Roter Button für inaktiv */
.status-inaktiv {
    background-color: #dc3545; /* Rot */
    border: 1px solid #c82333;
}

/* Popup Styling */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentriert horizontal und vertikal */
    width: 100%;
    height: auto;
    max-width: 500px; /* Begrenzte Breite */
    background: rgba(10, 18, 42, 0.95); /* Transparentes Dunkelblau */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Schatten */
    z-index: 1000;
}


.popup-content {
    background: #0a122a; /* Dunkelblau */
    color: #fff; /* Weißer Text */
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Schatten */
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
}

.popup-actions {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.popup-actions a {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.popup-actions .btn-edit {
    background-color: #28a745; /* Grün */
    color: #fff;
}

.popup-actions .btn-edit:hover {
    background-color: #218838; /* Dunkleres Grün beim Hover */
}

.popup-actions .btn-delete {
    background-color: #dc3545; /* Rot */
    color: #fff;
}

.popup-actions .btn-delete:hover {
    background-color: #c82333; /* Dunkleres Rot beim Hover */
}
.btn-view {
    background-color: #0d6efd; /* Blau */
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Schatten */
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-view i {
    margin-right: 5px;
    font-size: 14px;
}

.btn-view:hover {
    background-color: #084298; /* Dunkleres Blau beim Hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Stärkerer Schatten beim Hover */
}
/* Spezifische Anpassung für die Überschrift Aktionen in Übungen */
.uebungen .member-box-header div:last-child {
    grid-column-start: 6; /* Verschiebt die Überschrift in die letzte Spalte */
    text-align: right; /* Rechtsbündig ausrichten */
}
.uebungen .member-box-header,
.uebungen .member-box {
    grid-template-columns: 2fr 1fr; /* Zwei Spalten: Datum (breiter) und Aktionen */
    text-align: left; /* Standard: Linksbündig */
}

.uebungen .member-box div:last-child,
.uebungen .member-box-header div:last-child {
    text-align: right; /* Letzte Spalte rechtsbündig */
}
/* Spezielle Stile für die Übungsansicht */
.uebungen-box {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Zwei Spalten: Datum und Details */
    gap: 15px;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    background-color: #1e293b; /* Dunkler Hintergrund */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Schatten */
    max-width: 800px; /* Begrenzte Breite */
    margin-left: auto;
    margin-right: auto; /* Zentriert die Boxen */
}

.uebungen-box .uebung-datum {
    font-size: 1em;
    font-weight: bold;
    color: #ff9800; /* Orange */
    text-align: left;
}

.uebungen-box .uebung-datum span {
    display: block;
    font-size: 1.6em;
    color: #fff; /* Roter Hinweis */
    margin-top: 5px;
}

.uebungen-box .uebung-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.uebungen-box .uebung-details .uebung-name {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
}

.uebungen-box .uebung-details .uebung-beschreibung {
    font-size: 1.2em;
    color: #ddd; /* Hellgrau */
}

.uebungen-box .uebung-details .uebung-ausarbeiter {
    margin-top: 10px;
    font-size: 0.9em;
    color: #ff9800; /* Orange für den Ausarbeiter */
    display: flex;
    align-items: center;
}

.uebungen-box .uebung-details .uebung-ausarbeiter i {
    margin-right: 5px;
    font-size: 1em;
}
.uebungen-title {
    text-align: center;
    font-size: 1.4em; /* Größe der Überschrift */
    color: #ffffff; /* Weißer Text */
    margin-bottom: 20px; /* Abstand nach unten */
    font-weight: bold; /* Fettschrift */
}
/* Details für News-Box */
/* Details für News-Box */
.news-author {
    font-size: 0.9em; /* Kleinere Schriftgröße */
    font-weight: normal; /* Normaler Schriftstil */
    color: #0096ff; /* Blau für Autor und Bearbeitet von */
    margin-top: 5px; /* Abstand nach oben */
    display: flex;
    align-items: center;
}

.news-author i {
    margin-right: 5px; /* Abstand zwischen Icon und Text */
    font-size: 1em; /* Konsistentes Icon */
    color: #0096ff; /* Blaues Icon */
}

.news-title {
    font-size: 1.2em; /* Größere Schriftgröße */
    font-weight: bold;
    color: #0096ff; /* Blau für Titel */
    display: flex;
    align-items: center;
    gap: 5px; /* Abstand zwischen Icon und Titel */
}

.news-title i {
    color: #0096ff; /* Blaues Icon für Titel */
}

.uebung-beschreibung {
    font-size: 0.9em;
    color: #b3d9ff; /* Hellblau für die Beschreibung */
}

.uebung-bild img {
    border: 2px solid #0096ff; /* Blauer Rahmen um das Bild */
    padding: 3px;
}
.content-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.uebungen-content, .news-content {
    flex: 1;
    min-width: 45%;
}
.no-margin-container {
    margin: 0; /* Entfernt Außenabstand */
    padding: 0; /* Entfernt Innenabstand */
}
.btn-file {
    background-color: #0096ff;
    border: 0px solid #ccc;
    padding: 0.5em;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}


.stats {
    display: flex; /* Flexbox für die Anordnung der Boxen */
    flex-wrap: wrap; /* Umbrüche erlauben */
    justify-content: space-between; /* Abstand zwischen den Boxen */
    gap: 20px; /* Abstand zwischen den Boxen */
}

.admin-stat-box-link {
    text-decoration: none; /* Entfernt die Standard-Unterstreichung */
    color: inherit; /* Verwendet die Standardfarbe */
    display: inline-block;
    width: calc(33.33% - 20px);
    box-sizing: border-box;
}

.admin-stat-box-link:hover {
    text-decoration: none; /* Entfernt die Unterstreichung bei Hover */
    color: inherit; /* Beibehaltung der ursprünglichen Farbe */
}

.admin-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* Füllt den gesamten Link aus */
    box-sizing: border-box; /* Padding und Border einrechnen */
}

.admin-stat-box:hover {
    transform: scale(1.05); /* Leichtes Vergrößern bei Hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Intensiverer Schatten */
}
.note-btn {
    background-color: white !important; /* Oder eine andere gewünschte Farbe */
    color: black !important;
    border: 1px solid #ccc !important; /* Optional für besseren Look */
}
.note-btn:hover {
    background-color: #f1f1f1 !important;
}

.admin-stat-box i {
    font-size: 36px; /* Icon-Größe */
    margin-bottom: 10px;
}
.note-toolbar i {
    color: black !important; /* Standardfarbe */
    font-size: 1em !important; /* Standardgröße */
}

.admin-stat-box h3 {
    font-size: 18px;
    margin: 0;
}

.admin-stat-box p {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}
/* Allgemeine Container */
.ueb-container {
    padding: 20px;
    background-color: #0a122a;
    color: #fff;
	max-width: 801px;
	min-width: 90%;

margin: 0 auto;

}

/* Überschrift */
.ueb-container h2 {
	padding-top: 20px;
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #fff;
}

/* Such- und Hinzufügen ueb-Container */
.ueb-search-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ueb-search-form {
    flex: 1;
  
    gap: 10px;
}

.ueb-search-form input[type="text"] {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #ccc;
    font-size: 1em;
}

.ueb-search-button {
    padding: 10px 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.ueb-search-button:hover {
    background-color: #218838;
}

.ueb-add-button {
    background-color: #ff9800;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
	height: 100%;
}

.ueb-add-button:hover {
    background-color: #e68900;
}

/* Liste der Übungen */
.ueb-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
       

    max-width: 100%; /* Keine Begrenzung der Breite */
}

.ueb-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Drei Spalten */
    gap: 10px;
    padding: 15px;
    background-color: #1e293b;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    align-items: center; /* Vertikale Zentrierung */
    min-height: 80px; /* Mindesthöhe */
    height: auto; /* Höhe automatisch anpassen */
}


.ueb-item div {
    text-align: left;
}

/* Datum & Name */
.ueb-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ueb-datum {
    font-weight: bold;
    color: #d70e1d;
}


.ueb-name {
    display: block; /* Stellt sicher, dass der Text eine eigene Zeile einnimmt */
    max-width: 100%; /* Verhindert Überlauf */
    word-break: break-word; /* Alternative für flexibles Wortbrechen */
    overflow-wrap: break-word; /* Unterstützung für verschiedene Browser */
    white-space: normal; /* Standardmäßige Umbrüche erlauben */
	    font-size: 1.2em;
    color: white;
}

/* Ausarbeiter */
.ueb-ausarbeiter {
    font-size: 0.9em;
    color: #ccc;
}

.ueb-ausarbeiter small {
    font-size: 0.8em;
    color: #aaa;
}

/* Aktionen */
.ueb-aktionen {
    display: flex; /* Flexbox für die Anordnung der Buttons */
    gap: 10px; /* Abstand zwischen den Buttons */
    justify-content: flex-end; /* Buttons rechtsbündig */
}

.ueb-view-button {
    padding: 8px 15px;
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease-in-out;
}

.ueb-view-button:hover {
    background-color: #990712;
}

/* Leere Liste */
.ueb-empty {
    text-align: center;
    color: #aaa;
    font-style: italic;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .ueb-item {
        grid-template-columns: 1fr; /* Spalten für mobile Ansicht */
        text-align: left;
    }

    .ueb-aktionen {
        justify-content: flex-start;
    }
}
/* Fahrzeugaktivität */
.fasta-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.fasta-card {
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    max-width: 350px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.fasta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.fasta-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #ff4d4d;
}

.fasta-activity-bar {
    background-color: #ff9800;
    height: 15px;
    border-radius: 10px;
    transition: width 0.3s ease;
    margin-bottom: 15px;
}

.fasta-info {
    font-size: 1.1em;
    color: #f1f1f1;
}
.mitglieder_table {

    flex-direction: column; /* Tabelleninhalt bleibt vertikal */
    gap: 15px;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Schatten */
    background-color: #1e293b; /* Dunkler Hintergrund */
    color: #fff; /* Weiße Schrift */
    max-width: 801px;
	width: 100%;
    margin: 0 auto; /* Zentriert horizontal */
    height: auto; /* Höhe passt sich dem Inhalt an */
    border-spacing: 0; /* Entfernt Abstände zwischen Tabellenzellen */
}
@media (max-width: 768px) {
    .mitglieder_table {
        max-width: 100%; /* Volle Breite auf kleineren Bildschirmen */
    }
}


.mitglieder_table-header, .mitglieder_row {
    display: table-row;
    border-bottom: 1px solid #213265;
}

.mitglieder_column-name,
.mitglieder_column-phone,
.mitglieder_column-email,
.mitglieder_column-actions {
    display: table-cell;
    padding: 10px;
    vertical-align: top;
}

.mitglieder_table-header {
    background-color: #2f415f;
    color: #fff;
    font-weight: bold;
    border-radius: 8px; /* Rundung der Ecken */
    padding: 10px; /* Optional, fügt zusätzlichen Innenabstand hinzu */
}


.mitglieder_row:nth-child(even) {
    background-color: #1e293b;
}

.mitglieder_row:hover {
    background-color: #2a4064;
}

.mitglieder_column-name {
    width: 25%;
}

.mitglieder_column-phone {
    width: 30%;
}

.mitglieder_column-email {
    width: 30%;
}

.mitglieder_column-actions {
    width: 15%;
    text-align: center;
}

.btn-pagination {
    display: inline-block;
    margin: 10px 5px;
    padding: 5px 5px;
    background-color: #d70e1d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 20px;
}

.btn-pagination:hover {
    background-color: #ff4d4d;
	text-decoration: none;
}
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.pagination-left{
padding-left: 30px;
    display: flex;

}
.pagination-right {
    display: flex;
	padding-right: 30px;
}
@media (max-width: 600px) {
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .btn-pagination {
        font-size: 16px; /* Kleinere Schriftgröße */
        padding: 8px 10px; /* Weniger Padding für kleinere Buttons */
        margin: 5px 3px; /* Weniger Abstand */
    }

    .pagination-left, .pagination-right {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
    }

    .pagination-right {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .btn-pagination.dots {
        display: none; /* Punkte für mobile Ansicht ausblenden */
    }
}

.info-icon {
    position: relative; /* Für die Positionierung des Tooltips */
    display: inline-block;
    font-size: 1rem; /* Größe des Icons */
    color: #007bff; /* Standardfarbe */
    cursor: pointer;
    margin-left: 10px; /* Abstand zum Titel */
}

.info-icon:hover .info-text {
    display: block; /* Tooltip anzeigen bei Hover */
}

.info-text {
    display: none; /* Standardmäßig verstecken */
    position: absolute; /* Position relativ zum Info-Symbol */
    top: 25px; /* Abstand nach unten */
    left: 50%; /* Zentrierung */
    transform: translateX(-50%); /* Zentrierung ausgleichen */
    background-color: #fff; /* Hintergrundfarbe */
    color: #333; /* Textfarbe */
    border: 1px solid #ccc; /* Rahmen */
    border-radius: 5px; /* Abgerundete Ecken */
    padding: 10px; /* Innenabstand */
    max-width: 300px; /* Maximale Breite anpassen */
    min-width: 200px; /* Mindestbreite für ein gleichmäßiges Layout */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Schatten */
    z-index: 1000; /* Sicherstellen, dass es über anderen Elementen liegt */
    text-align: center; /* Zentrierter Text */
    font-size: 0.9rem; /* Schriftgröße */
    white-space: normal; /* Zeilenumbruch erlauben */
}
/* ADMIN HEADER */
/* ============= Allgemeines Styling ============= */
.adhead_header {
    background-color: #1e293b;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #ff4d4d;
    position: relative;
    overflow: visible;
}

.adhead_logo {
    max-height: 50px;
}

.adhead_greeting {
    color: white;
    font-size: 1rem;
}

/* ============= Desktop-Menü (PC) ============= */
.adhead_menu {
    list-style: none;
    display: flex;
    gap: 12px;
    position: relative;
}

.adhead_menu li {
    position: relative;
}

.adhead_menu li a {
    text-decoration: none;
    color: white;
    padding: 10px;
}

/* Dropdown-Menüs */
.adhead_dropdown .adhead_submenu {
    display: none;
    list-style: none;
    position: absolute;
    background-color: #284068;
    top: 100%;
    left: 0;
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.adhead_dropdown:hover > .adhead_submenu,
.adhead_dropdown.adhead_open > .adhead_submenu {
    display: block;
}

/* ============= Mobile-Menü ============= */
.adhead_burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.adhead_burger-menu div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}

/* 📌 Mobile Header (Zurück-Button + Titel) */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1e293b;
    padding: 10px 15px;
    min-height: 50px;
}

.back-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px; /* Kleinere Schriftgröße */
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto; /* Verhindert das Dehnen */
    margin-left: 10px; /* Hält den Button links */
}

.mobile-header-title {
    color: #fff;
    font-size: 18px;
}

/* 📌 Mobile Navigation Leiste (wie im Admin-Header) */
.mobile-nav {
    display: flex;
    background-color: #1e293b;
	padding-top: 10px;
	padding-bottom: 10px;
   overflow-x: hidden;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0; /* Start exakt bei 0 */
    right: 0; /* Ende exakt bei 0 */
    width: 100%;
    justify-content: space-around;
    border-top: 4px solid #ff4d4d;
	 z-index: 9999; 
}



.mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.mobile-nav a i {
    font-size: 18px;
    margin-bottom: 3px;
}

.mobile-nav a:hover {
    color: #1787ff;
}
/* Admin-Header */
.admin-header {
    background-color: #1e293b;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #ff4d4d;
	  position: relative;
    overflow: visible;
	
}

.admin-header h1 {
    margin: 0;
    font-size: 1.5em;
    font-weight: bold;
}
.admin-header nav ul {
    position: relative; /* Fixiert die Navigation im Layout */
}

.admin-header nav ul li {
    position: relative;
}

#header-image {
    max-height: 50px;
}

.admin-header h5 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
}

/* Burger-Menü */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: #fff;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    display: block;
}

nav ul li a:hover {
    background-color: #1d6bb4;
}



/* Zurück-Pfeil */
.adhead_back-button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Titel in der Mitte */
.adhead_header-title {
    flex-grow: 1;
    text-align: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 0; /* Mehr Platz oben/unten */
}

.adhead_submenu li {
    padding: 5px 0; /* Abstand zwischen den Links */
}
.adhead_submenu li a i {
    margin-right: 8px; /* Abstand zwischen Icon und Text */
}

/* Verbesserung der Link-Darstellung */
.adhead_submenu li a {
    display: flex;
    align-items: center;
    padding: 8px 12px; /* Mehr Platz für bessere Lesbarkeit */
    color: white;
    text-decoration: none;
    font-size: 14px; /* Falls nötig, Schriftgröße anpassen */
}

/* Hover-Effekt für bessere Sichtbarkeit */
.adhead_submenu li a:hover {
    background-color: #3a5678; /* Etwas heller, damit der Hover sichtbar ist */
    border-radius: 3px;
}





/* Stil für Benutzerprofil */
.profil-container {
    max-width: 801px;
	
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    background-color: #2c2f3b;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profil-details {
    background-color: #3a3f4a;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.profil-details p {
    font-size: 16px;
    margin: 10px 0;
}

.profil-details strong {
    color: #9a63e3;
    font-size: 29px;
}

/* Menürechte Abschnitt */
.rechte-container {
    margin-top: 30px;
}

.hauptmenu-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #9a63e3;
    border-bottom: 2px solid #9a63e3;
    padding-bottom: 5px;
}

.rights-columns {
    display: flex;
    flex-direction: column; /* Untermenüs unter Hauptmenüs anzeigen */
    gap: 20px; /* Abstand zwischen den Menügruppen */
    margin-bottom: 20px;
}

.rights-column {
    width: 100%;
    padding: 10px;
    background-color: #3a3f4a;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    box-sizing: border-box;
}

.rights-column label {
    display: block;
    margin: 10px 0;
    font-size: 14px;
}

.rights-column input[type="checkbox"] {
    margin-right: 10px;
}
/* Benutzerdefinierte Checkbox für Mobilgeräte */
input[type="checkbox"] {
    /* Standard-Checkbox ausblenden, aber zugänglich lassen */

    -moz-appearance: none;
    width: 24px; /* Größere Größe für Touch-Bedienung */
    height: 24px;
    border: 2px solid #ff5722; /* Passend zur roten Umrandung der bestehenden UI */
    border-radius: 4px;
   
    cursor: pointer;
    outline: none;
    transition: background-color 0.2s, border-color 0.2s;
}

/* Hover- und Fokus-Effekt für bessere Interaktivität */
input[type="checkbox"]:hover,
input[type="checkbox"]:focus {
    border-color: #007bff; /* Blaue Hervorhebung wie bei anderen fokussierten Elementen */
}

/* Checked-Zustand */
input[type="checkbox"]:checked {
    background-color: #28a745; /* Grün wie bei Erfolg-Buttons */
    border-color: #28a745;
}

/* Häkchen-Symbol im Checked-Zustand */
input[type="checkbox"]:checked::after {
 content: '';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: white;
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Größeres Label für bessere Touch-Bedienung */
label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1em; /* Etwas größere Schrift für Lesbarkeit */
    color: white;
    padding: 2px; 
    touch-action: manipulation; /* Verhindert Doppel-Taps auf Mobilgeräten */
}

/* Medienabfrage für Mobilgeräte */
@media (max-width: 600px) {
    input[type="checkbox"] {
        width: 28px; /* Noch größer auf kleinen Bildschirmen */
        height: 28px;
    }

    input[type="checkbox"]:checked::after {
        font-size: 18px; /* Größeres Häkchen */
    }

    label:has(input[type="checkbox"]) {
        font-size: 1.2em; /* Größere Schrift für bessere Lesbarkeit */
        padding: 10px; /* Mehr Padding für Touch */
    }
}
/* Untermenü Stil: Untermenüs sollen unter dem Hauptmenü angezeigt werden */
.submenu-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
    color: #9a63e3;
    padding-left: 20px;
}

.submenu-column {
    width: 100%;
    padding: 10px;
    background-color: #4a5568;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    box-sizing: border-box;
}

/* Stil für den Speichern-Button */
button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}

/* Container Styling */
/* Ausrichtung nach oben */
.csv-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Nach oben ausrichten */
    padding: 20px;
    max-width: 800px;
    margin: 20px auto; /* Abstand nach oben */
}

/* Upload Bereich */
.csv-upload {
    margin-bottom: 20px;
}

.csv-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.csv-form input[type="file"] {
    margin-bottom: 10px;
}

/* Buttons */
.upload-button {
    background: #4caf50;
    color: white;
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.upload-button:hover {
    background: #45a049;
}

/* Erfolgs- und Fehlermeldungen */
.csv-messages {
    margin-top: 20px;
}

.csv-success {
    color: #4caf50;
}

.csv-errors {
    color: #ff5252;
}

.csv-errors ul {
    list-style: none;
    padding: 0;
}

.csv-errors li {
    margin: 5px 0;
}
.mitglied-details-card {
    background: #1e293b;
    border-radius: 12px;
    padding: 20px;
    color: #fff;
    margin-top: 20px;
}

.mitglied-details-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.mitglied-details-row > div {
    flex: 1;
    min-width: 200px;
}

.mitglied-details-section {
    margin-bottom: 20px;
}

.mitglied-details-section ul {
    padding-left: 20px;
    list-style: disc;
}

.mitglied-details-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-edit {
    background-color: #1e90ff;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.btn-delete {
    background-color: #dc3545;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.btn-edit:hover {
    background-color: #0d6efd;
}

.btn-delete:hover {
    background-color: #c82333;
}
.ger_container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
}

.ger_search-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 20px;
    gap: 10px;
}

.ger_search-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.ger_search-input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.1em;
    background-color: #1e293b;
    color: white;
}

.ger_search-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1.1em;
}

.ger_search-button:hover {
    background-color: #218838;
}

.ger_add-button {
    background-color: #ff8c00;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
    text-align: center;
    font-size: 1.1em;
}

.ger_add-button:hover {
    background-color: #e07b00;
}

.ger_list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ger_item {
    background-color: #1e293b;
    border-radius: 9px;
    padding: 15px;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ger_item.ger_abgemeldet {
    border: 2px solid #ffc107;
}

.ger_item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.ger_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ger_name {
    font-size: 1.3em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ger_actions {
    display: flex;
    gap: 8px;
}

.ger_view-button, .ger_edit-button, .ger_delete-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ger_edit-button {
    background-color: #28a745;
}

.ger_delete-button {
    background-color: #dc3545;
}

.ger_view-button:hover {
    background-color: #0056b3;
}

.ger_edit-button:hover {
    background-color: #218838;
}

.ger_delete-button:hover {
    background-color: #c82333;
}

.ger_empty {
    text-align: center;
    color: #777;
    font-size: 1.1em;
    margin-top: 20px;
}

.ger_image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.success-message, .error-message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}

.success-message {
    background-color: #28a745;
    color: white;
}

.error-message {
    background-color: #dc3545;
    color: white;
}

@media (max-width: 600px) {
    .ger_container {
        padding: 0 10px;
    }
    .ger_item {
        padding: 10px;
    }
    .ger_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .ger_actions {
        width: 100%;
        justify-content: flex-end;
        gap: 10px;
    }
    .ger_view-button, .ger_edit-button, .ger_delete-button {
        padding: 10px 15px;
    }
    .ger_image {
        width: 40px;
        height: 40px;
    }
    .ger_search-container {
        gap: 8px;
    }
    .ger_search-input {
        padding: 10px;
        font-size: 1em;
    }
    .ger_search-button, .ger_add-button {
        padding: 10px;
        font-size: 1em;
    }
}
.back2-button {
  position: absolute;
  right: 0;
  top: 50%;
  font-size: 16px;
  transform: translateY(-50%);
  background-color: #6c3eb4;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.back2-button:hover {
  background-color: #5a3295;
}
@media screen and (max-width: 768px) {
  h2 .back2-button {
    display: none !important;
  }
}

.ats-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
}
.ats-search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.ats-search-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.ats-search-input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.1em;
    background-color: #1e293b;
    color: white;
}
.ats-search-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1.1em;
}
.ats-search-button:hover {
    background-color: #218838;
}
.ats-add-button, .ats-email-button, .ats-print-button {
    background-color: #ff8c00;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
    text-align: center;
    font-size: 1.1em;
}
.ats-email-button {
    background-color: #ffc107;
}
.ats-add-button:hover {
    background-color: #e07b00;
}
.ats-email-button:hover {
    background-color: #e0a800;
}
.ats-print-button {
    background-color: #6c757d;
}
.ats-print-button:hover {
    background-color: #5a6268;
}
.ats-name {
    font-size: 1.3em;
    font-weight: bold;
    display: flex;
    align-items: center;
}
.ats-profile-pic {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #dc3545;
    margin-right: 10px;
}
.ats-actions {
    display: flex;
    gap: 8px;
}
.ats-view-button, .ats-edit-button, .ats-delete-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ats-edit-button {
    background-color: #28a745;
}
.ats-delete-button {
    background-color: #dc3545;
}
.ats-view-button:hover {
    background-color: #0056b3;
}
.ats-edit-button:hover {
    background-color: #218838;
}
.ats-delete-button:hover {
    background-color: #c82333;
}
.ats-details .last-visit, .ats-details .last-leistungstest {
    display: inline-block;
}
.ats-details .next-visit, .ats-details .next-leistungstest {
    display: none;
}
.ats-tage {
    background-color: #dc3545;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1em;
}
.ats-status {
    display: flex;
    justify-content: center;
}
.status-badge {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    font-size: 1.1em;
}
.status-aktiv {
    background-color: #28a745;
    color: white;
}
.status-achtung {
    background-color: #ffc107;
    color: black;
}
.status-inaktiv {
    background-color: #dc3545;
    color: white;
}
.ats-empty {
    text-align: center;
    color: #777;
    font-size: 1.1em;
    margin-top: 20px;
}
.print-logo-container {
    display: none;
}
/* Modal Styles */
.modal {
    display: none; /* Standardmäßig ausgeblendet */
    position: fixed; /* Bleibt an Ort und Stelle, auch beim Scrollen */
    z-index: 2000; /* Stellt sicher, dass es über allem anderen liegt */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6); /* Dunkler, halbtransparenter Hintergrund */
    display: flex; /* Nutzt Flexbox zur einfachen Zentrierung */
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 300px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.modal-content h3 {
    margin: 0 0 15px;
    font-size: 1.3em;
    color: #dc3545;
}
.modal-content p {
    margin: 0 0 20px;
    font-size: 1em;
}
.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.modal-confirm, .modal-cancel {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}
.modal-confirm {
    background-color: #dc3545;
    color: white;
}
.modal-confirm:hover {
    background-color: #c82333;
}
.modal-cancel {
    background-color: #6c757d;
    color: white;
}
.modal-cancel:hover {
    background-color: #5a6268;
}

#uploadModal.modal {
    display: none;
}



/* Filter Styles */
.ats-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.ats-filter-container select, .ats-filter-container input[type="checkbox"] {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #1e293b;
    color: white;
}
.ats-filter-container select {
    flex: 1;
    min-width: 150px;
    max-width: 250px;
    height: 36px;
    font-size: 1.1em;
}
.ats-filter-container select:hover {
    border-color: #7e97c2;
    background-color: #334155;
}
.ats-filter-container select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
.ats-filter-container label {
    color: #fff;
    margin-right: 10px;
    margin-left: 5px;
}
/* Blink Animation for Warnings */
.ats-item.blink-warning {
    animation: blink 1s infinite;
}
@keyframes blink {
    0% { border-color: #dc3545; }
    50% { border-color: transparent; }
    100% { border-color: #dc3545; }
}
/* Druckfreundliches Layout */
@media print {
    body {
        background: white;
        margin: 0;
        padding: 0;
        font-family: Arial, sans-serif;
    }
    .ats-container {
        max-width: 100%;
        margin: 0;
        padding: 15mm;
        background: white;
        color: black;
    }
    .ats-search-container, .ats-search-form, .ats-add-button, .ats-email-button, .ats-print-button, .info-icon, .admin-header, .admin-footer,
    .header-menu, .nav-menu, .nav, .menu, .mobile-nav, .mobile-menu, .mobile-header, .modal, .ats-delete-button,
    .ats-profile-pic, .ats-filter-container {
        display: none !important;
    }
    h2 {
        font-size: 18pt;
        text-align: left;
        margin-bottom: 10mm;
        color: #d32f2f;
        border-bottom: 2px solid #d32f2f;
        padding-bottom: 5mm;
        position: relative;
    }
    .print-logo-container {
        display: block;
    }
    .print-logo {
        position: absolute;
        top: -18px;
        right: 15mm;
        width: 150px;
        height: auto;
    }
    .ats-list {
        display: block;
    }
    .ats-item {
        display: table-row;
        background: none;
        border: none;
        padding: 0;
        margin: 0;
    }
    .ats-item:hover {
        transform: none;
        box-shadow: none;
    }
    .ats-details {
        display: table-cell;
        vertical-align: top;
        width: 50%;
        padding: 5mm 0;
        margin: 0;
        border-bottom: 1px solid #d32f2f;
        font-size: 12pt;
        color: black;
    }
    .ats-details .last-visit, .ats-details .last-leistungstest {
        display: none;
    }
    .ats-details .next-visit, .ats-details .next-leistungstest {
        display: inline-block;
    }
    .ats-details div:nth-child(2) {
        display: none;
    }
    .ats-actions {
        display: none;
    }
    .status-badge {
        display: none;
    }
}
@media (max-width: 600px) {
    .ats-container {
        padding: 0 10px;
    }
    .ats-item {
        padding: 10px;
    }
    .ats-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .ats-actions {
        width: 100%;
        justify-content: flex-end;
        gap: 10px;
    }
    .ats-view-button, .ats-edit-button, .ats-delete-button {
        padding: 10px 15px;
    }
    .ats-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        font-size: 0.95em;
    }
    .ats-tage {
        padding: 4px 10px;
        font-size: 1em;
    }
    .status-badge {
        padding: 6px 10px;
        font-size: 1em;
    }
    .ats-search-container {
        gap: 8px;
    }
    .ats-search-input, .ats-filter-container select {
        padding: 10px;
        font-size: 1em;
    }
    .ats-search-button, .ats-add-button, .ats-email-button, .ats-print-button {
        padding: 10px;
        font-size: 1em;
    }
    .modal-content {
        width: 95%;
        padding: 15px;
    }
    .modal-content h3 {
        font-size: 1.2em;
    }
    .modal-content p {
        font-size: 0.95em;
    }
    .modal-confirm, .modal-cancel {
        padding: 8px 15px;
        font-size: 0.95em;
    }
    .ats-profile-pic {
        width: 30px;
        height: 30px;
    }
    .ats-filter-container select {
        max-width: 100%;
        min-width: 120px;
        font-size: 1em;
        height: 32px;
    }
}
 .ger_container {
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
        }

        .ger_search-container {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .ger_search-container label {
            font-weight: bold;
            margin-bottom: 5px;
            display: block;
        }

        .ger_search-input,
        .ger_search-button,
        .ger_delete-button {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 16px;
            box-sizing: border-box;
        }

        textarea.ger_search-input {
            resize: vertical;
            min-height: 100px;
        }

        .ger_search-button {
            background-color: #28a745;
            color: white;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .ger_search-button:hover {
            background-color: #218838;
        }

        .ger_delete-button {
            background-color: #dc3545;
            color: white;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .ger_delete-button:hover {
            background-color: #c82333;
        }

        .error-message {
            color: #dc3545;
            background-color: #f8d7da;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 15px;
        }

        #image-preview {
            margin-top: 10px;
        }

        #image-preview img {
            max-width: 100%;
            max-height: 200px;
            border-radius: 5px;
        }

        #crop-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 1002;
            overflow-y: auto;
        }

        #crop-modal > div {
            margin: 5% auto;
            width: 90%;
            max-width: 500px;
            background: #fff;
            padding: 20px;
            border-radius: 5px;
            position: relative;
        }

        #crop-modal h3 {
            margin-top: 0;
        }

        #crop-modal .ger_search-button,
        #crop-modal .ger_delete-button {
            margin-top: 10px;
        }

        /* Neuer Stil für den Datei auswählen Button */
        input[type="file"] {
            width: 100%;
            padding: 12px;
            font-size: 16px;
    
            border: 2px solid #6c757d;
            border-radius: 5px;
            cursor: pointer;
            text-align: center;
            box-sizing: border-box;
            margin-bottom: 15px;
            display: inline-block;
        }

        input[type="file"]::-webkit-file-upload-button {
            padding: 10px 20px;
            background-color: #6c757d;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
        }

        input[type="file"]::-webkit-file-upload-button:hover {
            background-color: #5a6268;
        }

        /* Abstand zwischen Foto-Bereich und Speichern-Button */
        .photo-section {
            margin-bottom: 20px;
        }

        @media (max-width: 768px) {
            .ger_container {
                padding: 10px;
            }

            .ger_search-input,
            .ger_search-button,
            .ger_delete-button {
                font-size: 14px;
                padding: 8px;
            }

            input[type="file"] {
                font-size: 14px;
                padding: 10px;
            }

            input[type="file"]::-webkit-file-upload-button {
                font-size: 14px;
                padding: 8px 16px;
            }

            #crop-modal > div {
                margin: 10% auto;
                width: 95%;
            }
        }
		
		
		   .ats-container {
            max-width: 800px;
            margin: 20px auto;
            padding: 0 15px;
        }
        .form-group {
            margin-bottom: 20px;
			max-width: 95%;
        }
        .form-group label {
            display: block;
            color: white;
            font-weight: bold;
            margin-bottom: 5px;
        }
        .form-group input[type="text"],
        .form-group input[type="date"],
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            background-color: #1e293b;
            color: white;
            font-size: 1em;
        }
        .form-group textarea {
            height: 100px;
            resize: vertical;
        }
        button[type="submit"] {
            background-color: #28a745;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        button[type="submit"]:hover {
            background-color: #218838;
        }
        .btn-back {
            display: inline-block;
            background-color: #007bff;
            color: white;
            padding: 10px 20px;
            border-radius: 4px;
            text-decoration: none;
            transition: background-color 0.3s;
            margin-left: 10px;
        }
        .btn-back:hover {
            background-color: #0056b3;
        }
        #image-preview img {
            border: 1px solid #ccc;
            border-radius: 3px;
            max-width: 100%;
            max-height: 200px;
        }
        #crop-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 1002;
        }
        #crop-modal button {
            padding: 10px;
            margin: 10px 5px;
            background-color: #28a745;
            color: #fff;
            border: none;
            border-radius: 3px;
            cursor: pointer;
        }
        #crop-modal button:hover {
            background-color: #218838;
        }
        .section {
            margin-top: 30px;
            border-top: 1px solid #ccc;
            padding-top: 20px;
        }
        .section h3 {
            font-size: 1.5em;
            margin-bottom: 15px;
            color: #fff;
        }
        .item {
            background-color: #2a3b3c;
            padding: 15px;
            border-radius: 4px;
            margin-bottom: 10px;
        }
        .item div {
            margin-bottom: 5px;
        }
        .delete-button {
            background-color: #dc3545;
            color: white;
            border: none;
            padding: 5px 10px;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        .delete-button:hover {
            background-color: #c82333;
        }
        .empty {
            color: #ccc;
            font-style: italic;
        }
        @media (max-width: 600px) {
            .ats-container {
                padding: 0 10px;
            }
            .form-group input[type="text"],
            .form-group input[type="date"],
            .form-group textarea,
            .form-group select {
                font-size: 0.9em;
            }
            button[type="submit"],
            .btn-back {
                width: 100%;
                margin: 5px 0;
                text-align: center;
            }
            #image-preview img {
                max-width: 150px;
                max-height: 150px;
            }
        }
		
		
		      /* Zusätzliche Regel, um die Größe der Bilder in der Liste zu beschränken */
        .anzeigen_profile-pic {
            max-width: 80px;
            max-height: 80px;
            object-fit: cover;
            border-radius: 5px;
            margin-right: 15px;
            border: 2px solid var(--primary-color);
        }
        /* Stil für den Status-Badge */
      
        .status-aktiv {
            background-color: #28a745; /* Grün */
        }
        .status-abgelaufen {
            background-color: #dc3545; /* Rot */
        }
        .status-achtung-lauft-ab {
            background-color: #ffc107; /* Gelb */
            color: #212529; /* Dunkle Schrift für Kontrast */
        }
        .status-abgemeldet-in-reparatur {
            background-color: #ffc107; /* Grau */
        }
        .blink-warning {
            animation: blinker 1s linear infinite;
        }
        @keyframes blinker {
            50% {
                border-left-color: #ffc107;
            }
        }
		.status-abgemeldet-in-reparatur {
    background-color: #ffc107; /* Gelb */
    color: #212529; /* Dunkle Schrift für Kontrast */
}
/* ####################################################### */
/* #         Optimierte Styles für Funkgeräte-Seite      # */
/* ####################################################### */

/* Allgemeine Container und Layout */
.fg-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.fg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: white;
}

.fg-header h2 {
    font-size: 1.5rem;
}

/* Info-Icon und Text */
.fg-info-icon {
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
}

.fg-info-text {
    visibility: hidden;
    width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1000;
    bottom: 150%;
    left: 50%;
    margin-left: -125px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
}

.fg-info-icon:hover .fg-info-text {
    visibility: visible;
    opacity: 1;
}

/* Such-, Filter- und Button-Bereich */
.fg-search-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.fg-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    flex-grow: 1;
}

.fg-input-wrapper {
    position: relative;
    flex-grow: 1;
}

.fg-search-form input,
.fg-search-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #333;
    color: white;
}

.fg-search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
}

.fg-checkbox-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.fg-checkbox-filters label {
    display: flex;
    align-items: center;
    color: white;
    white-space: nowrap; /* Verhindert Zeilenumbruch */
    font-size: 0.9rem;
}

.fg-checkbox-filters input[type="checkbox"] {
    margin-right: 5px;
    width: auto;
}

.fg-button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Add- und Print-Buttons */
.fg-add-button,
.fg-print-button {
    text-align: center;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: block;
    white-space: nowrap;
}

.fg-add-button {
    background-color: #28a745;
    color: white;
}

.fg-print-button {
    background-color: #dc3545;
    color: white;
    border: none;
}

/* --- Stil für die Geräteliste --- */
.fg-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fg-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #212529;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.fg-item-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.fg-profile-pic {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.fg-item-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fg-item-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
}

.fg-item-detail {
    font-size: 1rem;
    color: #ccc;
}

.fg-item-detail i {
    margin-right: 5px;
}

.fg-item-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.fg-view-button,
.fg-delete-button {
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.fg-view-button {
    background-color: #007bff;
    color: white;
}

.fg-delete-button {
    background-color: #dc3545;
    color: white;
    border: none;
    cursor: pointer;
}

.fg-status-badge {
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.fg-empty {
    text-align: center;
    color: #ccc;
    font-size: 1.2rem;
    padding: 20px;
}


/* ####################################################### */
/* #                 Mobile Optimierungen                # */
/* ####################################################### */

@media (max-width: 768px) {
    .fg-container {
        padding: 10px;
    }

    .fg-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .fg-header h2 {
        font-size: 1.3rem;
    }
    
    .fg-search-container {
        flex-direction: column;
        align-items: stretch;
    }

    .fg-search-form {
        flex-direction: column;
    }
    
    .fg-checkbox-filters {
        flex-direction: column;
        gap: 5px;
    }
    
    /* Buttons "Funkgerät anlegen" und "Drucken" anpassen */
    .fg-button-group {
        flex-direction: column;
        align-items: stretch;
    }

    /* Layout des einzelnen Geräteeintrags */
    .fg-item {
        flex-direction: column;
        text-align: center;
    }
    
    .fg-item-info {
        flex-direction: column;
        gap: 10px;
    }

    .fg-item-details {
        align-items: center;
        text-align: center;
    }

    .fg-profile-pic {
        width: 80px;
        height: 80px;
    }

    .fg-item-name {
        font-size: 1.2rem;
    }

    .fg-item-detail {
        font-size: 0.9rem;
    }
    
    /* Buttons "Ansehen" und "Löschen" anpassen */
    .fg-item-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 15px;
    }
    
    .fg-view-button,
    .fg-delete-button {
        width: 100%;
        font-size: 0.9rem;
    }
}
/* ####################################################### */
/* #     Optimierte Styles für Geräte- und Funkgeräte-Seite     # */
/* ####################################################### */

/* Allgemeine Container und Layout */
.anzeigen_container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.anzeigen_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: white;
}

.anzeigen_header h2 {
    font-size: 1.5rem;
}

/* Info-Icon und Text */
.anzeigen_info-icon {
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
}

.anzeigen_info-text {
    visibility: hidden;
    width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1000;
    bottom: 150%;
    left: 50%;
    margin-left: -125px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
}

.anzeigen_info-icon:hover .anzeigen_info-text {
    visibility: visible;
    opacity: 1;
}

/* Such-, Filter- und Button-Bereich (Desktop-Layout) */
.anzeigen_search-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.anzeigen_search-form {
    display: flex;
    flex-wrap: wrap; /* Erlaubt Umbruch auf kleineren Bildschirmen */
    gap: 10px;
    align-items: center;
    flex-grow: 1;
}

.search-input-wrapper {
    position: relative;
    flex-grow: 1;
}

.anzeigen_search-form input,
.anzeigen_search-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #333;
    color: white;
}

.anzeigen_search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
}

.checkbox-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-filters label {
    display: flex;
    align-items: center;
    color: white;
    white-space: nowrap; 
    font-size: 0.9rem;
}

.checkbox-filters input[type="checkbox"] {
    margin-right: 5px;
    width: auto;
}

.button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Add- und Print-Buttons */
.anzeigen_add-button,
.anzeigen_print-button {
    text-align: center;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: block;
    white-space: nowrap;
}

.anzeigen_add-button {
    background-color: #28a745;
    color: white;
}

.anzeigen_print-button {
    background-color: #dc3545;
    color: white;
    border: none;
}

/* --- Stil für die Geräteliste --- */
.anzeigen_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.anzeigen_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #212529;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.anzeigen_info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.anzeigen_profile-pic {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.anzeigen_name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
}

.anzeigen_datum,
.anzeigen_beschreibung {
    font-size: 1rem;
    color: #ccc;
}

.anzeigen_datum i,
.anzeigen_beschreibung i {
    margin-right: 5px;
}

.anzeigen_aktionen {
    display: flex;
    gap: 10px;
    align-items: center;
}

.anzeigen_view-button,
.anzeigen_delete-button {
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.anzeigen_view-button {
    background-color: #007bff;
    color: white;
}

.anzeigen_delete-button {
    background-color: #dc3545;
    color: white;
    border: none;
    cursor: pointer;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.status-aktiv { background-color: #28a745; }
.status-abgemeldet-in-reparatur { background-color: #ffc107; }
.status-abgelaufen { background-color: #dc3545; }
.status-achtung-lauft-ab { background-color: #ff8c00; }

.anzeigen_empty {
    text-align: center;
    color: #ccc;
    font-size: 1.2rem;
    padding: 20px;
}


/* ####################################################### */
/* #                 Mobile Optimierungen                # */
/* ####################################################### */

@media (max-width: 768px) {
    .anzeigen_container {
        padding: 10px;
    }

    .anzeigen_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .anzeigen_header h2 {
        font-size: 1.3rem;
    }

    .anzeigen_search-container {
        flex-direction: column;
        align-items: stretch;
    }

    .anzeigen_search-form {
        flex-direction: column;
    }

    .checkbox-filters {
        flex-direction: column;
        gap: 5px;
    }
    
    .button-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .anzeigen_add-button,
    .anzeigen_print-button {
        width: 100%;
        font-size: 1rem;
    }

    .anzeigen_item {
        flex-direction: column;
        text-align: center;
    }

    .anzeigen_info {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }

    .anzeigen_profile-pic {
        width: 80px;
        height: 80px;
    }

    .anzeigen_name {
        font-size: 1.2rem;
    }
    
    .anzeigen_datum,
    .anzeigen_beschreibung {
        font-size: 0.9rem;
    }
    
    .anzeigen_aktionen {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .anzeigen_view-button,
    .anzeigen_delete-button {
        width: 100%;
        font-size: 1rem;
    }
}

/* Hauptcontainer und allgemeine Stile */
.gvw-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.gvw-container h2 {
    color: #e2e8f0;
    font-size: 1.5em;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Such- und Filter-Container */
.gvw-search-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.gvw-search-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gvw-search-input, .gvw-select-filter {
    padding: 12px;
    border: 1px solid #4a5568;
    border-radius: 6px;
    font-size: 1em;
    background-color: #1e293b;
    color: white;
    width: 100%;
}

.gvw-select-filter {
    cursor: pointer;
}

.gvw-search-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1.1em;
    font-weight: bold;
}
.gvw-search-button:hover {
    background-color: #218838;
}

/* Filter-Buttons */
.gvw-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gvw-filter-button {
    flex-grow: 1;
    background-color: #4a5568;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gvw-filter-button:hover {
    background-color: #2d3748;
}

.gvw-filter-button.active {
    background-color: #dc3545;
    font-weight: bold;
}

/* Aktions-Buttons (Anlegen, Drucken) */
.gvw-actions-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gvw-add-button, .gvw-print-button {
    color: white;
    padding: 12px 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gvw-add-button {
    background-color: #ff8c00;
}
.gvw-add-button:hover {
    background-color: #e07b00;
}

.gvw-print-button {
    background-color: #6c757d;
}
.gvw-print-button:hover {
    background-color: #5a6268;
}


/* Liste und Listenelemente */
.gvw-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gvw-item {
    background-color: #1e293b;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #2d3748;
    transition: transform 0.2s, box-shadow 0.2s;
}
.gvw-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Item Header */
.gvw-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.gvw-name {
    font-size: 1.25em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e2e8f0;
}

.gvw-profile-pic {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #dc3545;
}

.gvw-actions {
    display: flex;
    gap: 8px;
}

.gvw-view-button, .gvw-edit-button, .gvw-delete-button {
    color: white;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
}

.gvw-view-button { background-color: #007bff; }
.gvw-view-button:hover { background-color: #0056b3; }

.gvw-edit-button { background-color: #28a745; }
.gvw-edit-button:hover { background-color: #218838; }

.gvw-delete-button { background-color: #dc3545; }
.gvw-delete-button:hover { background-color: #c82333; }

/* Item Details */
.gvw-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    color: #a0aec0;
}

.gvw-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gvw-detail-row i {
    margin-right: 8px;
    color: #6c757d;
}

.gvw-days-badge {
    background-color: #4a5568;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.9em;
    color: white;
}
.gvw-days-badge.red {
    background-color: #dc3545;
}


/* Item Status Bar */
.gvw-status-bar {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    font-size: 1em;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.status-aktiv { background-color: #28a745; color: white; }
.status-achtung { background-color: #ffc107; color: black; }
.status-inaktiv { background-color: #dc3545; color: white; }
.status-reparatur { background-color: #6c757d; color: white; }

/* Item Footer */
.gvw-footer-info {
    font-size: 0.9em;
    color: #a0aec0;
    text-align: center;
}
.gvw-footer-info i {
    margin-right: 5px;
}

/* Leere Liste Nachricht */
.gvw-empty {
    text-align: center;
    color: #a0aec0;
    font-size: 1.1em;
    margin-top: 20px;
    padding: 20px;
    background-color: #1e293b;
    border-radius: 8px;
}

/* Modal Stile (aus atemschutz.php übernommen und angepasst) */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.7); justify-content: center; align-items: center; }
.modal-content { background-color: #1e293b; margin: auto; padding: 20px; border: 1px solid #dc3545; border-radius: 6px; width: 90%; max-width: 400px; text-align: center; color: white; }
.modal-content h3 { color: #dc3545; margin-top: 0; }
.modal-buttons { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.modal-confirm, .modal-cancel { padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; font-size: 1em; }
.modal-confirm { background-color: #dc3545; color: white; }
.modal-confirm:hover { background-color: #c82333; }
.modal-cancel { background-color: #6c757d; color: white; }
.modal-cancel:hover { background-color: #5a6268; }

/* Responsive Design */
@media (max-width: 600px) {
    .gvw-container {
        padding: 0 10px;
    }
    .gvw-filter-container {
        flex-direction: column;
    }
}

/* Druckansicht */
@media print {
    body {
        background-color: #fff;
        color: #000;
    }
    .gvw-container {
        max-width: 100%;
        margin: 0;
        padding: 15mm;
    }
    .gvw-search-container, .gvw-actions, .admin-header, .admin-footer, .mobile-nav {
        display: none !important;
    }
    .gvw-container h2 {
        color: #000;
        border-bottom: 2px solid #000;
        padding-bottom: 5mm;
    }
    .print-logo-container {
        display: block;
    }
    .print-logo {
        position: absolute;
        top: 10mm;
        right: 15mm;
        width: 150px;
        height: auto;
    }
    .gvw-item {
        background-color: #fff;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
    .gvw-name, .gvw-details, .gvw-footer-info {
        color: #000;
    }
    .gvw-profile-pic { display: none; }
    .gvw-days-badge, .gvw-status-bar {
        border: 1px solid #000;
        color: #000;
        background-color: #eee !important;
    }
}
