/* Simple style for the cookie consent banner */
#cookieConsent {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 1000;
}

.file-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}
.file-tile {
    width: 150px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}
.file-icon {
    font-size: 40px;
    color: #2d7ac0;
}
.file-icon-wrong {
    font-size: 40px;
    color: red;
}
.file-name {
    margin-top: 10px;
    font-size: 12px;
    word-wrap: break-word;
    color: #000000;
}
.delete-link i {
    color: #646464;
    font-size: 12px;
    position: absolute;
    top: 5px;
    right: 5px;
    text-decoration: none;
}
.delete-link:hover i {
    text-decoration: underline;
    color: #888888;
}

/* Modal Hintergrund */
.modal {
    display: none; /* Anfangszustand ist ausgeblendet */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Abgedunkelter Hintergrund */
}

/* Modal-Inhalt */
.modal-content {
    position: relative;
    margin: 3% auto; /* Zentriert das Modal und sorgt für 10% Abstand oben und unten */
    width: 94%; /* Maximale Breite des Modals */
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 5px; /* Optional: abgerundete Ecken */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Schatten für besseren Kontrast */
    overflow-y: auto; /* Ermöglicht Scrollen, wenn der Inhalt zu groß ist */
}

/* Schließen-Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

th {
    text-align: center;
}

