body {
    font-family: Arial, sans-serif;
    background-color: #e0f7fa; /* Light cyan background */
    margin: 0;
    padding: 0;
    font-size: 12px; /* Reduced font size */
    transition: background-color 0.33s;
}
header {
    background-color: #00796b; /* Teal */
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 20px;
    position: relative;
    animation: slide-in 1s forwards;
}
@keyframes slide-in {
    from {
        top: -50px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}
.container {
    padding: 10px;
}
.input-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}
.scrollable {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: auto;
    border: 1px solid #ddd;
    padding: 10px;
    background-color: white;
}
.file-table {
    width: 100%;
    border-collapse: collapse;
}
.file-table th, .file-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
.file-table th {
    background-color: #00796b; /* Teal */
    color: white;
    cursor: pointer;
    position: sticky;
    top: 0;
    z-index: 1;
}
.file-table th:hover {
    background-color: #004d40; /* Darker teal */
}
.file-table tbody tr:hover {
    background-color: #b2dfdb; /* Light teal */
}
.file-content {
    white-space: pre-wrap;
    background-color: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    max-height: 300px;
    overflow-y: auto;
}
.error {
    color: red;
    margin-top: 10px;
}
.breadcrumb {
    margin-bottom: 10px;
}
.breadcrumb a {
    text-decoration: none;
    color: #00796b;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 5px; /* Added separation */
}
button {
    padding: 5px;
    background-color: #00796b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}
button:hover {
    background-color: #004d40;
    transform: scale(1.05);
}
.theme-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #fff;
    color: #00796b;
    border: 1px solid #00796b;
    padding: 5px;
    cursor: pointer;
    border-radius: 5px;
}
.dark-theme {
    background-color: #333;
    color: #f4f4f4;
}
.dark-theme header {
    background-color: #222;
}
.dark-theme .scrollable, .dark-theme .file-content {
    background-color: #444;
    border-color: #555;
}
.dark-theme .breadcrumb a {
    color: #f4f4f4;
}
.dark-theme button {
    background-color: #555;
    color: #f4f4f4;
}
.dark-theme button:hover {
    background-color: #777;
}