body {
  font-family: "Comic Sans MS", cursive;

  background: linear-gradient(
    135deg,
    #ffd6e8,
    #ffe6f2,
    #e6f7ff,
    #f3e8ff
  );

  background-size: 400% 400%;
  animation: dreamyGradient 15s ease infinite;

  min-height: 100vh;
  margin: 0;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: flex-start;

  @keyframes dreamyGradient {
    0% {
      background-position: 0% 50%;
    }

    50% {
      background-position: 100% 50%;
    }

    100% {
      background-position: 0% 50%;
    }
  }
}

.container {
  width: 90%;
  max-width: 1200px;
  min-height: 80vh;

  background: white;
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  color: #ff69b4;
}

.input-section {
  display: flex;
  gap: 10px;
}

input {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 2px solid #ffb6d9;
}

button {
  background: #ff69b4;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
}

li {
  list-style: none;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 1.1rem;

  border: 3px solid #ffd1e8;

  border-radius: 20px;

  padding: 16px;

  margin-top: 12px;

  transition: all 0.3s ease;
}

li:hover {
  transform: translateY(-4px);

  box-shadow:
    0 8px 20px rgba(255,105,180,0.2);
}

button {
  transition: all 0.3s ease;
}

button:hover {
  transform: scale(1.08);
}

.completed {
  text-decoration: line-through;
  opacity: 0.6;
}

.edit-input {
  flex: 1;
  padding: 10px;
  border: 2px solid #ffb6d9;
  border-radius: 12px;
  outline: none;
}

.task-buttons {
  display: flex;
  gap: 6px;
}

.task-buttons button {
  padding: 6px 10px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

#taskList {
  scrollbar-width: thin;
  scrollbar-color: hotpink pink;
}

html,
body {
  scrollbar-color: #ff69b4 #ffd6e8;
}

.progress-bar {
  width: 100%;
  height: 18px;

  background: #ffe4f2;

  border-radius: 20px;

  overflow: hidden;

  margin-top: 10px;
}

#progressFill {
  height: 100%;

  width: 0%;

  background: linear-gradient(
    90deg,
    #ff8ac2,
    #ffc6e5
  );

  transition: 0.4s;
}

.undo-container {
  position: fixed;

  bottom: 25px;
  right: 25px;

  background: linear-gradient(
    135deg,
    #fff0f8,
    #ffe4f2
  );

  border: 3px solid #ffb6d9;
  border-radius: 25px;

  padding: 18px;

  display: none;
  align-items: center;
  gap: 15px;

  box-shadow: 0 8px 25px rgba(255,105,180,.25);

  animation: popIn .3s ease;
}

@keyframes popIn {
  from {
    transform: scale(.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.undo-container button {
  background: #ff8ac2;
  color: white;
}

.undo-character {
  width: 60px;
  height: 60px;
}

.star-btn {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;

  background: hotpink !important;
  color: white !important;

  width: 40px;
  height: 40px;

  font-size: 24px;
  border: 2px solid red;
}

.star-btn:hover {
  transform: scale(1.2) rotate(10deg);
}

.starred-task {
  border: 3px solid #ffd700;

  background: linear-gradient(
    90deg,
    #fff9d6,
    #fff5fa
  );
}

.edit-container {
  display: flex;
  flex-direction: column;
  gap: 10px;

  background: #fff8fc;
  padding: 12px;
  border-radius: 18px;
}

.sanrio-input {
  border: 2px solid #ffb6d9;

  border-radius: 15px;

  padding: 10px;

  background: white;

  font-size: 1rem;
}

.sanrio-date {
  border: 2px solid #ffc7e7;

  border-radius: 15px;

  padding: 10px;

  background: #fff;
}

.edit-buttons {
  display: flex;
  gap: 10px;
}

.save-btn {
  background: linear-gradient(
    45deg,
    #ffb7d5,
    #ffd7ec
  );

  border: none;

  border-radius: 15px;

  padding: 8px 15px;

  cursor: pointer;
}

.cancel-btn {
  background: #f4e6ff;

  border: none;

  border-radius: 15px;

  padding: 8px 15px;

  cursor: pointer;
}

.task-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.deadline {
  font-size: 0.8rem;

  color: #d86ca4;

  background: #fff0f7;

  padding: 3px 8px;

  border-radius: 999px;

  width: fit-content;
}

.lock-screen {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(255, 192, 203, 0.6);

  display: flex;
  justify-content: center;
  align-items: center;

  backdrop-filter: blur(6px);
  z-index: 9999;
}

.lock-box {
  background: white;
  padding: 30px;
  border-radius: 20px;

  text-align: center;

  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.lock-box input {
  font-size: 24px;
  text-align: center;

  width: 120px;
  padding: 10px;

  border-radius: 10px;
  border: 2px solid pink;
}

.lock-box button {
  margin-top: 10px;
  padding: 10px 15px;

  border: none;
  border-radius: 12px;

  background: hotpink;
  color: white;

  cursor: pointer;
}