/* Modal-Container */
.modal {
    display: none; /* Standardmäßig ausgeblendet */
    position: fixed;
    z-index: 1000; /* Über allem */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Scrollbar, wenn der Inhalt zu groß ist */
    background-color: rgba(0, 0, 0, 0.8); /* Halbtransparent schwarzer Hintergrund */
}

/* Modal-Inhalt (das Bild) */
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

/* Close-Button */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Miniaturansichten der Bilder */
.thumbnail {
    cursor: pointer;
    max-width: 100px;
    max-height: 100px;
    transition: transform 0.2s;
}

.thumbnail:hover {
    transform: scale(1.1);
}

/* Tabelle und Formular Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 18px;
    text-align: left;
}

table th, table td {
    padding: 12px;
    border: 1px solid #ddd;
}

table th {
    background-color: #f2f2f2;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    word-wrap: break-word; /* Damit lange Texte in Zellen umgebrochen werden */
}
th {
    background-color: #f4f4f4;
}
tr:nth-child(even) {
    background-color: #f9f9f9;
}
.checkbox {
    margin: 0;
}