/* Basic reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

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

header {
    text-align: center;
    margin-bottom: 20px;
}

.task-input {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    background: #007BFF;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: #0056b3;
}

button.hidden {
    display: none;
}

.filters {
    text-align: center;
    margin-bottom: 20px;
}

.filter-btn {
    margin: 0 5px;
}

.filter-btn.active {
    background: #28a745;
}

.task-list .task {
    background: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.task .details {
    flex: 1;
}

.task.completed .details h3 {
    text-decoration: line-through;
    color: #999;
}

.task .actions button {
    margin-left: 5px;
}

@media (max-width: 600px) {
    .task {
        flex-direction: column;
        align-items: flex-start;
    }
    .task .actions {
        margin-top: 10px;
    }
}