
#inputContainer {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 9999px; /* 跑道形 */
  overflow: hidden; /* 防止圆角外溢 */
  width: 600px;
  background-color: white;

  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
}

#inputBox {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 15px;
  font-size: 16px;
  background: transparent;
}

#submitButton {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white; /* 按钮背景色 */
  border: none;
  padding: 0 16px;
  cursor: pointer;
  color: black; /* 让 SVG 的 currentColor 生效 */
  height: 100%;
}

#submitButton svg {
  width: 20px;
  height: 20px;
}

#inputContainer:focus-within {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
}


#mainList {
    max-width: 500px;
    margin: 20px auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: sans-serif;
  }
  
  .todoItem {
    display: flex;
    align-items: center;
    background-color: #f7f7f7;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .todo-item:hover {
    background-color: #e9f0ff;
  }
  
  .todo-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
  }
  
  .todo-item label {
    font-size: 16px;
    cursor: pointer;
    flex-grow: 1;
    user-select: none;
  }
