* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea, #764ba2);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.container {
    background: #ffffff;
    width: 380px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

h1 {
    text-align: center;
    margin-bottom: 10px;
}

#counter {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

input#taskInput {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

button {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    border: none;
}

.filters {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
}

.filters button {
    flex: 1;
    margin: 0 3px;
    font-size: 13px;
    background-color: #667eea;
    color: white;
}

.filters button:hover {
    background-color: #5563c1;
}

ul {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
    background: #f5f5f5;
    margin-bottom: 8px;
    padding: 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

li span {
    flex: 1;
}

li button:first-of-type {
    background-color: #4caf50;
    color: white;
}

li button:last-of-type {
    background-color: #ff6b6b;
    color: white;
}
