body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f0f4f8; /* Light background */
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
}

header {
    width: 100%;
    padding: 20px;
    background: #4CAF50;
    color: white;
    font-size: 24px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.task-input {
    margin: 20px 0;
    text-align: center;
}

.task-input input {
    padding: 10px;
    width: 300px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.task-input button {
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    margin-left: 10px;
    background: #4CAF50;
    color: white;
    cursor: pointer;
}

.task-input button:hover {
    background: #45a049;
}

.task-list {
    width: 90%;
    max-width: 600px;
}

.task {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.task select {
    padding: 5px;
    border-radius: 5px;
    border: none;
    font-weight: normal;
    margin-left: 10px;
}

/* Buttons for Edit/Delete */
.task button {
    margin-left: 5px;
    padding: 5px 8px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.edit-btn { background: #ffcc00; color: #333; }
.delete-btn { background: #ff4d4d; color: white; }

/* Bright task colors */
.in-progress { background: #ff4d4d; }    /* Red */
.completed { background: #4da6ff; }      /* Blue */
.not-completed { background: #00cc44; }  /* Green */
