.task-list {
    margin-bottom: 8px;
    width: 100%;
}

.task-category {
    margin-bottom: 16px;
}

.category-header {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
    padding: 4px 0;
    border-bottom: 1px solid #ecf0f1;
}

.category-overdue .category-header {
    color: #e74c3c;
}

.category-today .category-header {
    color: #f57c00;
}

.category-tomorrow .category-header {
    color: #388e3c;
}

.category-week .category-header {
    color: #1976d2;
}

.category-no-date .category-header {
    color: #7f8c8d;
}

.category-tasks {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.task-item {
    display: flex;
    align-items: flex-start;
    padding: 8px;
    background: white;
    border-radius: 6px;
    margin-bottom: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    width: 100%;
}

.task-checkbox {
    margin-right: 8px;
    margin-top: 2px;
}

.task-content {
    flex: 1;
    width: 100%;
}

.task-text {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 2px;
}

.task-text.completed {
    text-decoration: line-through;
    color: #7f8c8d;
}

.task-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}

.task-project, .task-tag, .task-due-date {
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 2px;
    border: 1px solid;
}

.task-project {
    background: #e8f4fd;
    color: #2980b9;
    border-color: #3498db;
    cursor: pointer;
}

.task-tag {
    background: #f9ebea;
    color: #c0392b;
    border-color: #e74c3c;
    cursor: pointer;
}

.task-due-date {
    background: #eafaf1;
    color: #27ae60;
    border-color: #27ae60;
}

.remove-tag {
    display: none;
    font-size: 10px;
    padding: 0;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
}

.task-project:hover .remove-tag,
.task-tag:hover .remove-tag {
    display: block;
}

.task-actions {
    display: flex;
    gap: 2px;
}

.delete-btn {
    padding: 2px 4px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 10px;
    transition: background 0.3s;
}

.delete-btn:hover {
    background: #c0392b;
}
