* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Baloo Bhaijaan 2', cursive;
}

html {
  font-size: 16px;
}

html, body {
  height: 100%;
}

.container {
  width: 100%;
  min-height: 100%;
  background: linear-gradient(135deg, #f093fb, #f5576c);
  padding: 10px;
}

.to-doApp {
  width: 100%;
  max-width: 540px;
  background: white;
  margin: 100px auto 20px;
  padding: 40px 30px 70px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: #ff1493;
  margin-bottom: 20px;
  text-align: center;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  background: #edeef0;
  border-radius: 30px;
  padding: 10px;
  margin: 20px 0 25px;
}

input {
  flex: 1 1 auto;
  min-width: 180px;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 15px;
  font-size: 1.1rem;
  color: #333;
}

button {
  flex-shrink: 0;
  border: none;
  outline: none;
  padding: 12px 25px;
  background: #ff4da6;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 105, 180, 0.2);
}

button:hover {
  background: #ff2d91;
  box-shadow: 0 6px 14px rgba(255, 105, 180, 0.3);
}

ul li {
  display: flex;
  align-items: center;
  position: relative;
  font-size: 1rem;
  padding: 12px 40px 12px 70px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
  word-break: break-word;

  white-space: normal;
  line-height: 1.4;
}

ul li::before {
  content: '';
  position: absolute;
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background-image: url(images/unchecked.png);
  background-size: cover;
  background-position: center;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}


ul li:hover {
  background-color: #fce6f2;
}

ul li.checked {
  color: #999;
  text-decoration: line-through;
}

ul li.checked::before {
  background-image: url(images/checked.png);
}

ul li span {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 30px;
  height: 30px;
  font-size: 1.4rem;
  color: #555;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  transition: 0.3s;
}

ul li span:hover {
  background: #ffe6f1;
  color: #e60073;
}

/* ✅ Responsive Styles */
@media (max-width: 600px) {
  .container {
    padding: 10px;
  }

  .to-doApp {
    margin: 60px auto 20px;
    padding: 30px 20px 50px;
  }

  h1 {
    font-size: 1.7rem;
  }

  .row {
    flex-direction: column;
    align-items: stretch;
  }

  input {
    width: 100%;
    font-size: 1rem;
  }

  button {
    width: 100%;
    font-size: 1rem;
    padding: 10px;
  }

  ul li {
    font-size: 1rem;
    padding: 10px 45px 10px 50px;
  }

  ul li span {
    font-size: 1.2rem;
    top: 6px;
    right: 6px;
  }
}
