body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    background-color: #f4f7f6;
    margin: 0;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 500px; 
    width: 100%;
    margin: 2rem 1rem; 
    padding: 20px;
    background:  #094841;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
}

h1 { 
    border-bottom: 2px solid #eee; 
    padding-bottom: 0.5rem; 
    margin-top: 0;
}

/* Input & Validation */
.input-section { margin-bottom: 1rem; }
.form-row { display: flex; gap: 8px; }

input[type="text"], select { 
    padding: 8px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    outline: none;
}

input[type="text"] { flex-grow: 1; }
input[type="text"]:focus { border-color: #007bff; }

button { 
    padding: 8px 16px; 
    cursor: pointer; 
    background: #007bff; 
    color: white; 
    border: none; 
    border-radius: 4px; 
    transition: background 0.2s;
}

button:hover { background: #0056b3; }

.error-msg { 
    color: #d9534f; 
    font-size: 0.85rem; 
    margin-top: 4px; 
    height: 1.2rem; 
}

/* Filters */
.filters { 
    display: flex; 
    gap: 10px; 
    align-items: center; 
    margin: 1.5rem 0; 
    background: #f8f9fa; 
    padding: 10px; 
    border-radius: 4px; 
}

.filters select { padding: 4px; font-size: 0.9rem; }

/* Task List */
.task-list { list-style: none; padding: 0; }

.task-item { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 12px 10px; 
    border-bottom: 1px solid #eee; 
}

.task-content { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    cursor: pointer; 
    flex-grow: 1; 
}

.task-item.completed span { 
    text-decoration: line-through; 
    color: #888; 
}

.tag-badge { 
    font-size: 0.7rem; 
    background: #e9ecef; 
    padding: 2px 8px; 
    border-radius: 12px; 
    color: #495057; 
    text-transform: uppercase;
    font-weight: bold;
}

.delete-btn { 
    background: #ff4d4d; 
    padding: 4px 8px; 
    font-size: 0.75rem; 
}

.delete-btn:hover { background: #cc0000; }

.counter { 
    font-weight: 600; 
    font-size: 0.9rem; 
    color: #666; 
    margin-top: 1rem; 
    text-align: right;
}
    