/* 간단한 리스트 스타일 */
h2 { color: #444; font-weight: 600; margin: 8px 0; }
#abc { color: #1a73e8; }
.content1 { background: #8a2121; border: 1px solid #e5e5e5 }
.content1 ol, .content1 ul { padding-left: 20px; margin: 6px 0; }
.h1_02 { color: #1a73e8; }

/* Todo 앱 기본 스타일 */
body { background: #f7f7f8; font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
.todo-app { max-width: 640px; margin: 40px auto; padding: 16px; background: #fff; border: 1px solid #eee; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }

.todo-input { display: flex; gap: 8px; margin-bottom: 12px; }
.todo-input input { flex: 1; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; }
.todo-input button { padding: 10px 14px; border: none; background: #1a73e8; color: #fff; border-radius: 8px; cursor: pointer; }
.todo-input button:hover { background: #155bb5; }

.todo-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; }
.filters .filter { padding: 6px 10px; border: 1px solid #ddd; background: #fff; border-radius: 999px; margin-right: 6px; cursor: pointer; }
.filters .filter.active { background: #1a73e8; color: #fff; border-color: #1a73e8; }
.actions { display: flex; align-items: center; gap: 8px; }

.todo-list { list-style: none; padding: 0; margin: 0; }
.todo-item { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-bottom: 1px solid #f0f0f0; }
.todo-item .title { flex: 1; outline: none; }
.todo-item.completed .title { color: #888; text-decoration: line-through; }
.delete { background: transparent; border: none; font-size: 18px; line-height: 1; cursor: pointer; color: #999; }
.delete:hover { color: #c33; }

.checkbox input { display: none; }
.checkbox .checkmark { width: 18px; height: 18px; border: 2px solid #bbb; border-radius: 4px; display: inline-block; position: relative; }
.checkbox input:checked + .checkmark { background: #1a73e8; border-color: #1a73e8; }
.checkbox input:checked + .checkmark::after { content: ''; position: absolute; left: 4px; top: 0px; width: 5px; height: 10px; border: 2px solid #fff; border-top: none; border-left: none; transform: rotate(45deg); }

.secondary { background: #f5f5f5; border: 1px solid #e5e5e5; color: #333; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.secondary:hover { background: #ebebeb; }
