body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  
  .todo-container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  h1 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .input-section {
    display: flex;
    gap: 10px;
  }
  
  #todo-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
  }
  
  #add-btn {
    padding: 10px 20px;
    border: none;
    background: #28a745;
    color: white;
    border-radius: 6px;
    cursor: pointer;
  }
  
  #add-btn:hover {
    background: #218838;
  }
  
  #todo-list {
    list-style: none;
    margin-top: 20px;
    padding: 0;
  }
  
  .todo-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafafa;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
  }
  
  .todo-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .todo-left input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }
  
  .todo-text.done {
    text-decoration: line-through;
    color: #888;
  }
  
  .todo-actions button {
    margin-left: 5px;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .edit-btn {
    background: #ffc107;
    color: white;
  }
  
  .edit-btn:hover {
    background: #e0a800;
  }
  
  .delete-btn {
    background: #dc3545;
    color: white;
  }
  
  .delete-btn:hover {
    background: #c82333;
  }
  