
        body {
            font-family: 'Microsoft YaHei', sans-serif;
            max-width: 800px;
            margin: 20px auto;
            background-color: #f0f8ff;
            padding: 20px;
        }
        a{
    text-decoration: none;
    /*去掉下划线*/
    color: inherit;
    /* 去除字体颜色 */
}
        .container {
            background-color: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        h1 {
            color: #2c3e50;
            text-align: center;
            margin-bottom: 25px;
        }

        .input-section {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 25px;
        }

        .input-group {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .input-group label {
            color: #34495e;
            font-weight: 500;
        }

        .input-field {
            padding: 12px;
            border: 2px solid #3498db;
            border-radius: 6px;
            font-size: 15px;
            transition: border-color 0.3s;
        }

        .input-field:focus {
            outline: none;
            border-color: #2980b9;
        }

        #addButton {
            background-color: #27ae60;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s;
            align-self: flex-start;
        }

        #addButton:hover {
            background-color: #219a52;
        }

        .task-item {
            display: flex;
            flex-direction: column;
            padding: 15px;
            margin: 10px 0;
            background-color: #f8f9fa;
            border-radius: 8px;
            transition: all 0.3s;
            border-left: 4px solid #3498db;
        }

        .task-item:hover {
            transform: translateX(5px);
            box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
        }

        .task-item.completed {
            background-color: #e9ecef;
            opacity: 0.8;
            border-left-color: #95a5a6;
        }

        .task-header {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
        }

        .task-title {
            font-size: 18px;
            font-weight: 600;
            color: #2c3e50;
            margin-right: 10px;
        }

        .task-content {
            color: #34495e;
            margin-bottom: 8px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .task-note {
            color: #7f8c8d;
            font-size: 14px;
            font-style: italic;
        }

        .task-item.completed .task-title,
        .task-item.completed .task-content {
            text-decoration: line-through;
            color: #95a5a6;
        }

        .task-actions {
            display: flex;
            gap: 10px;
            margin-top: 12px;
        }

        .delete-btn,
        .edit-btn {
            padding: 6px 12px;
            border-radius: 4px;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
        }

        .delete-btn {
            background-color: #e74c3c;
            color: white;
        }

        .delete-btn:hover {
            background-color: #c0392b;
        }

        .edit-btn {
            background-color: #f1c40f;
            color: white;
        }

        .edit-btn:hover {
            background-color: #d4ac0d;
        }

        .checkbox {
            margin-right: 12px;
            width: 20px;
            height: 20px;
            cursor: pointer;
        }

        .empty-tip {
            text-align: center;
            color: #95a5a6;
            padding: 25px;
            font-size: 16px;
        }

        .stats {
            margin-top: 20px;
            display: flex;
            justify-content: space-between;
            color: #7f8c8d;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }

        .filters {
            margin: 15px 0;
            display: flex;
            gap: 12px;
        }

        .filters button {
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            background-color: #ecf0f1;
            border: 1px solid #bdc3c7;
        }

        /* 编辑模态框样式 */
        .edit-modal {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            width: 400px;
        }

        .modal-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
        }
  