/* style.css */
body {
    background-color: #1e1e1e;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
}

h1, h2, h3 {
    color: #76c893; /* Green for headers */
}

a {
    color: #76c893; /* Green for links */
}

input[type="text"], input[type="submit"] {
    background-color: #333;
    color: #e0e0e0;
    border: 1px solid #76c893;
    padding: 10px;
}

input[type="submit"] {
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #76c893;
    color: #1e1e1e;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    background-color: #2e2e2e;
    border-radius: 10px;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    background-color: #333;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    color: #e0e0e0;
}

a:hover {
    text-decoration: underline;
}
/* Limit the height of table rows */
table {
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
}

table tr {
    height: auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
    border: 1px solid #ddd;
}

table td, table th {
    padding: 10px;
    border: 1px solid #ddd;
    max-width: 200px; /* Adjust max-width to control the cell's width in closed state */
    overflow: hidden;
    text-overflow: ellipsis;
}

table tr.collapsed td {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

table tr.expanded td {
    white-space: normal;
    max-width: none; /* Allows full expansion */
}

.container {
    max-width: 100%;
    overflow-x: auto;
}
