/*
 Theme Name:   Twenty Twenty Child
 Template:     twentytwenty
*/
/* Reset some base styles */
/* Reset some base styles */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
  }
  
  /* Container for the shopping list */
  .entry-content {
    max-width: 600px;
    margin: 40px auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  /* Headings */
  .entry-title {
    text-align: center;
    font-size: 2rem;
    color: #343a40;
    margin-bottom: 1.5rem;
  }
  
  /* Input form styles */
  #shopping-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  
  #shopping-form input[type="text"] {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
  }
  
  #shopping-form input[type="text"]:focus {
    outline: none;
    border-color: #495057;
  }
  
  #shopping-form button {
    background-color: #198754;
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  #shopping-form button:hover {
    background-color: #157347;
  }
  
  /* Shopping list styles */
  #shopping-list {
    list-style: none;
    padding: 0;
  }
  
  #shopping-list li {
    background: #e9ecef;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  #shopping-list li:hover {
    background-color: #dee2e6;
  }
  
  #shopping-list li::after {
    content: "×";
    position: absolute;
    right: 1rem;
    color: #dc3545;
    font-weight: bold;
    font-size: 1.2rem;
  }
  
  /* Responsive tweaks */
  @media (max-width: 600px) {
    .entry-content {
      padding: 1rem;
      margin: 20px 10px;
    }
  
    #shopping-form {
      flex-direction: column;
    }
  
    #shopping-form button {
      width: 100%;
    }
  }
  .item-text.completed {
  text-decoration: line-through;
  color: #6c757d;
  opacity: 0.7;
}

  .delete-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #dc3545;
  transition: transform 0.1s ease;
}

.delete-btn:hover {
  transform: scale(1.2);
}