body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #e5e5e5;
    margin: 0;
    padding: 20px;
}

/* Heading */
#main-heading {
    text-align: center;
    color: #ffffff;
    margin-bottom: 20px;
}

/* Grid structure (same as your code) */
.grid-container {
    display: grid;
    grid-template-columns: 200px 150px 100px;
    column-gap: 10px;
    row-gap: 10px;
    margin: 10px auto;
    max-width: 600px;
}

/* Inputs */
#todo-input,
#todo-date {
    padding: 10px;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 4px;
    color: #e5e5e5;
}

#todo-input::placeholder {
    color: #999;
}

/* Buttons */
button {
    background-color: #3b82f6;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #2563eb;
}

/* Todo list container */
.todo-container {
    margin-top: 20px;
    max-width: 600px;
}

/* Todo items */
.todo-container span {
    padding: 10px;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Delete button inside list */
.todo-container button {
    background-color: #ef4444;
}

.todo-container button:hover {
    background-color: #dc2626;
}

/* For small screens */
@media (max-width: 500px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .todo-container {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 10px;
    }

    .todo-container button {
        width: 100%;
    }
}
