body {
  font-family: 'Fredoka', sans-serif;
  margin: 0;
  background-color: #fff8dc;
  background-image: linear-gradient(45deg, #fff8dc 25%, #ffec70 25%, #ffec70 50%, #fff8dc 50%, #fff8dc 75%, #ffec70 75%, #ffec70);
  background-size: 150px 150px;
  cursor: url('https://cur.cursors-4u.net/cursors/cur-11/cur1043.cur'), auto;
}

header {
  text-align: center;
  padding: 20px;
  font-size: 2.5rem;
  color: #ff69b4;
  background-color: #fffbe6;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 700px;
  margin: 30px auto;
  padding: 20px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.task {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.task input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border: 2px solid #ffd700;
  border-radius: 5px;
  width: 24px;
  height: 24px;
  margin-right: 15px;
  position: relative;
  cursor: pointer;
}

.task input[type='checkbox']:checked::after {
  content: '✓';
  color: #f5c400;
  font-size: 20px;
  position: absolute;
  left: 4px;
  top: -2px;
  font-weight: bold;
}

.task input[type='checkbox']:checked + span {
  text-decoration: line-through;
  color: #888;
}

.save-btn {
  background: none;
  border: none;
  cursor: pointer;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.save-btn img {
  width: 70px;
  transition: transform 0.3s ease;
}

.save-btn:hover img {
  transform: scale(1.1);
}

.tooltip {
  display: none;
  position: absolute;
  bottom: 110%;
  right: 0;
  background-color: #ffec70;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 1rem;
  color: #ff1493;
  white-space: nowrap;
}

.save-btn:hover .tooltip {
  display: block;
}

.flower-decor {
  position: absolute;
  top: 0;
  left: -80px;
  width: 150px;
  height: auto;
  z-index: 0;
}

.flower-decor.right {
  left: unset;
  right: -80px;
}

@keyframes confetti {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(600px); opacity: 0; }
}

.confetti-piece {
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: yellow;
  animation: confetti 1s ease forwards;
}
