/* File-Lens -- deliberately vintage, 90s file-explorer styling. */

body {
    background-color: #F5F5F5;
    color: #000;
    font-family: "Times New Roman", serif;
    margin: 20px;
}

h1 {
    text-align: center;
    color: #0000EE;
    text-decoration: underline;
    margin-bottom: 10px;
}

.tagline {
    text-align: center;
    font-size: 14px;
    color: #333;
    margin: 0 auto 15px;
    max-width: 600px;
}

.picker {
    text-align: center;
    margin: 15px 0;
}

button {
    background-color: #E0E0E0;
    border: 1px solid #000;
    padding: 6px 16px;
    cursor: pointer;
    font-family: "Times New Roman", serif;
    font-size: 15px;
}

button:hover {
    background-color: #CCC;
}

button:disabled {
    color: #777;
    cursor: wait;
}

.status {
    font-family: monospace;
    font-size: 13px;
    color: #333;
    margin-top: 8px;
    min-height: 18px;
}

hr {
    border: none;
    border-top: 1px solid #000;
    margin: 10px 0;
}

.error {
    color: #C00;
    font-weight: bold;
    text-align: center;
    margin: 15px 0;
}

.notice {
    background: #FFF8DC;
    border: 1px solid #000;
    padding: 8px 12px;
    margin-top: 20px;
    font-size: 13px;
}

.summary {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 50px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.stats {
    flex: 1;
    min-width: 260px;
}

.stats p {
    margin: 5px 0;
    font-size: 15px;
    overflow-wrap: anywhere;
}

#chart-container {
    width: 400px;
    max-width: 100%;
    background: #FFF;
    border: 1px solid #000;
    padding: 10px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
}

.section-heading {
    margin-top: 40px;
    text-align: left;
}

.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.category-block {
    background: #FFF;
    border: 1px solid #000;
    padding: 10px;
}

.category-block h3 {
    margin-top: 0;
    text-align: center;
    color: #0000EE;
}

.category-block .meta {
    text-align: center;
    font-size: 12px;
    color: #555;
    margin: 0 0 6px;
}

.category-block ul {
    list-style-type: disc;
    margin: 5px 0 0 20px;
    padding: 0;
    font-family: monospace;
    font-size: 13px;
    color: #222;
}

.category-block ul li {
    margin: 2px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Wide file paths must scroll inside the table, not stretch the page. */
.table-scroll {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 15px;
}

th,
td {
    border: 1px solid #000;
    padding: 3px 6px;
    text-align: left;
    vertical-align: top;
    font-family: monospace;
}

th {
    background-color: #DDD;
}

.footer {
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    color: #555;
}
