body {
    font-family: Arial, sans-serif;
    background-color: #121212; /* Dark background */
    color: #ffffff; /* Light text color */
    margin: 30;
    padding: 0;
}

.folder {
    margin-bottom: 20px;
}

.folder h2 {
    margin-bottom: 10px;
    cursor: pointer; /* Makes the header look clickable */
    user-select: none; /* Prevents text selection when clicking */
    display: flex;
    align-items: center;
    color: #ffffff; /* Light text color for headers */
}

.folder h2 span {
    margin-right: 10px; /* Adds spacing between the arrow and the text */
    font-size: 16px;
    font-weight: bold;
    color: #ffffff; /* Light text color for the toggle icon */
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Creates a table-like layout */
    gap: 25px;
}

.image-item {
    text-align: center;
    word-wrap: break-word; /* Ensures long names wrap within the grid item */
    overflow-wrap: break-word; /* Alternative for better browser support */
    white-space: pre-wrap; /* Preserves spaces and breaks at slashes */
    color: #ffffff; /* Light text color for file names */
}

.image-grid img {
    max-width: 150px;
    max-height: 150px;
    cursor: pointer;
    border: 1px solid #444444; /* Darker border for images */
    border-radius: 3px;
    background-color: #121212; /* Dark background for images */
}

.image-item p {
    margin-top: 10px;
    font-size: 14px;
    word-break: break-word; /* Breaks long words */
    color: #bbbbbb; /* Slightly lighter text for file names */
}

.hidden {
    display: none; /* Hides the content */
}