#overviewTable tbody td {
    border-color: white !important; /* Ändere die Linienfarbe */
}

/* Vollbild-Hintergrund */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dunkler Hintergrund */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    text-align: center;
}

/* Bild im Vollbild */
.overlay-content {
    max-width: 90%;
    max-height: 80vh; /* Verhindert, dass das Bild zu groß wird */
    object-fit: contain; /* Bildverhältnis beibehalten */
    margin-top: 20px; /* Abstand nach oben */
    border-radius: 10px;
}

/* Schließen-Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.icon {
    color: white;
}

/* Tabelle */

.dataTables_filter input {
    background-color: #333; /* Dunkler Hintergrund */
    color: #fff; /* Weiße Schrift */
    border: 1px solid white; /* Randfarbe */
    padding: 5px;
    border-radius: 5px;
}

.dataTables_filter label {
    color: #fff; /* Weiße Schrift */
}


.dataTables_length select {
    color: white;
}

.dataTables_length select option {
    color: white;
    background-color: rgb(2, 18, 43);
    border-radius: 0%; 
}

.paginate_button a{
    color: white !important;
}

#overviewTable_paginate {
    border-radius: 2px, 2px, 2px, 2px white;
}

/* Standard Pagination-Buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: white !important;
    background-color: transparent !important;
    border: 1px solid white !important;
    border-radius: 6px !important; /* leichte Rundung */
    padding: 6px 12px !important;
    margin: 2px;
    transition: all 0.2s ease-in-out;
}

/* Aktiver oder Hover-Button */
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: transparent !important;
    color: white !important;
    border: 2px solid white !important;
    font-weight: bold;
    transform: scale(1.03);
}

/* Aktiven Button komplett säubern */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    box-shadow: none !important;      /* entfernt den weißen Schimmer */
    text-shadow: none !important;     /* entfernt eventuell leichten Text-Glow */
    background-image: none !important; /* falls Gradient verwendet wird */
}

/* Vor- und Zurück-Buttons anpassen */
.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    color: white !important;
}

/* Auch im deaktivierten Zustand */
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    color: white !important;
    background-color: transparent !important;
    border-color: white !important;
    cursor: default !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: transparent !important;
    background-image: none !important;
}





#image-preview {
    max-width: 100%;
    max-height: 80vh; /* Begrenzt die Höhe des Containers auf 80% der Bildschirmhöhe */
    display: flex;
    justify-content: center; /* Zentriert das Bild horizontal */
    align-items: center; /* Zentriert das Bild vertikal */
    overflow: hidden; /* Falls das Bild größer ist, wird der überstehende Teil abgeschnitten */
}

#imagePreview {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Verhindert Verzerrung und stellt sicher, dass das Bild komplett sichtbar bleibt */
    border-radius: 8px; /* Falls du eine Rundung beibehalten willst */
}