
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    /* Dark background for the whole page */
    background-color: #1e1e1e;
    /* Light text color for readability */
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    padding-top: 40px;
}

.container {
    max-width: 700px;
    width: 90%;
    /* Slightly lighter dark background for the main content area */
    background-color: #2d2d2d;
    padding: 30px 40px;
    border-radius: 8px;
    /* Adjusted shadow for dark mode - can be subtle dark or even a faint light glow */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    /* Alternative: light glow shadow */
    /* box-shadow: 0 0 15px rgba(255, 255, 255, 0.05); */
}

h1 {
    text-align: center;
    /* Light heading color */
    color: #ffffff;
    margin-bottom: 30px;
    /* Darker border, slightly lighter than container background */
    border-bottom: 1px solid #444;
    padding-bottom: 15px;
}

#file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#file-list li {
    margin-bottom: 12px;
    /* Darker border for list items */
    border: 1px solid #444;
    border-radius: 5px;
    transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

#file-list li:hover {
     /* Slightly more prominent shadow on hover */
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
     /* Optional: slightly lighten border on hover */
     border-color: #555;
}

#file-list a {
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    /* Brighter link color for contrast on dark background */
    color: #5dade2; /* Lighter blue */
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 5px; /* Match parent li for better hover */
}

#file-list a:hover {
    /* Darker, subtle background on hover */
    background-color: #3a3a3a;
    /* Slightly lighter/different link color on hover */
    color: #85c1e9;
}

/* Style for the 'no files found' message */
#file-list li:only-child {
    border: none; /* Keep borderless */
    text-align: center;
    /* Lighter gray for placeholder text */
    color: #888;
    font-style: italic;
    padding: 20px 0;
}

/* Optional: Style scrollbars for a more complete dark mode look (Webkit browsers) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #2d2d2d; /* Track color matching container */
}

::-webkit-scrollbar-thumb {
    background-color: #555; /* Scrollbar handle color */
    border-radius: 4px;
    border: 2px solid #2d2d2d; /* Creates padding around thumb */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #777; /* Handle color on hover */
}
