.list-container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.list-container h2 {
    text-align: center;
}

.list-container form {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.list-container form input[type="text"],
.list-container form input[type="date"] {
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.list-container form button {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.list-container form button:hover {
    background-color: #45a049;
}

.list-container table {
    width: 100%;
    border-collapse: collapse;
}

.list-container th,
.list-container td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}

.list-container th {
    background-color: #f2f2f2;
}

.list-container button {
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.list-container button:hover {
    background-color: #45a049;
}

/* Night mode */
body.night-mode .list-container {
    background-color: #333;
    border-color: #555;
}

body.night-mode .list-container th,
body.night-mode .list-container td {
    background-color: #444;
    color: white;
}