body {
    color: #eee;
    background-color: #121212;
    font-family: Arial, sans-serif;
}

td, tr, th {
    border: 1px solid #eee;
    padding: 3px;
}

#content {
    overflow-x: auto;
    white-space: nowrap;
}

table {
    border-collapse: collapse;
    margin-bottom: 20px;
}

button, select, input {
    margin: 5px;
    padding: 10px;
    font-size: 16px;
}

textarea {
    max-width: 500px;
}

@media (max-width: 768px) {
    button, select, input {
        font-size: 18px;
        padding: 12px;
    }
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.header-container table {
    margin: 0;
}

#resetButton {
    margin-left: 20px;
}

#dynamic-content, #grandTotals, button[onclick="copyResult()"] {
    display: none;
}

.visible {
    display: block !important;
}

table.visible {
    display: table !important;
}

.small-link {
    font-size: 0.8em;
}

a {
    color: white;
    text-decoration: underline;
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.nav-button {
    padding: 15px 30px;
    font-size: 18px;
    background-color: #1e1e1e;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #333;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: #2a2a2a;
    text-decoration: none;
}

#grandTotals {
    width: auto;
} 

.date-selector {
    margin: 20px 0;
}

.date-selector select {
    padding: 8px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-left: 10px;
}

.date-selector label {
    font-size: 16px;
    font-weight: bold;
}

.data-table {
    width: auto;
    margin: 20px auto;
    border-collapse: collapse;
}

.data-table th, .data-table td {
    padding: 8px 12px;
    text-align: center;
    border: 1px solid #333;
}

.data-table td:first-child {
    text-align: left;
    white-space: nowrap;
    font-weight: normal;
}

.data-table th:first-child {
    text-align: center;
}

.data-table tr:nth-child(even) {
    background-color: #1a1a1a;
}

.total-row {
    background-color: #2a2a2a !important;
    font-weight: bold;
}

.save-button {
    padding: 6px 12px;
    white-space: nowrap;
}