* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fdf6f0;
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 160vh;
  padding-top: 50px;
}

.container {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  width: 100%;
  max-width: 420px;
}

h1 {
  text-align: center;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 25px;
}

.input-section {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

input {
  flex: 1;
  padding: 12px 16px;
  font-size: 16px;
  border-radius: 12px;
  border: 2px solid #fab1a0;
  outline: none;
  transition: 0.2s ease;
}

input:focus {
  border-color: #ff6b6b;
  box-shadow: 0 0 6px #fab1a088;
}

button {
  padding: 12px 16px;
  font-size: 20px;
  background: #ff6b6b;
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s ease;
}

button:hover {
  background: #e05656;
}

ul {
  list-style: none;
  max-height: 700px;
  overflow-y: auto;
}

li {
  background: #fceef0;
  border-left: 6px solid #6c5ce7;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.2s ease;
}

li.completed {
  text-decoration: line-through;
  color: #636e72;
  background-color: #f1f2f6;
  border-left-color: #b2bec3;
}

li:hover {
  background-color: #f8d4d8;
}

li button {
  background: #ff7675;
  border: none;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease;
}

li button:hover {
  background: #d63031;
}

ul::-webkit-scrollbar {
  width: 8px;
}
ul::-webkit-scrollbar-thumb {
  background-color: #dcdde1;
  border-radius: 5px;
}


