body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    background-color: #f4f4f9;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.input-section {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}

input, select {
    padding: 8px;
    font-size: 16px;
}

#taskInput {
    flex-grow: 1;
}

button {
    padding: 8px 16px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

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

.delete-btn {
    background-color: #ff4444;
    margin-left: 10px;
}

.delete-btn:hover {
    background-color: #cc0000;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    padding: 15px;
    background-color: #f9f9f9;
    margin: 5px 0;
    border-radius: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

li.completed {
    background-color: #e0e0e0;
    text-decoration: line-through;
    color: #666;
}

.priority-high {
    border-left: 5px solid #ff4444;
}

.priority-medium {
    border-left: 5px solid #ffbb33;
}

.priority-low {
    border-left: 5px solid #00C851;
}

.task-details {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-tag {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    background-color: #e0e0e0;
}