@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff7e6;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.container {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
}

h1, h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.input-area {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.input-area input, .input-area button {
  padding: 10px;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.input-area button {
  background-color: #ff6b6b;
  color: white;
  border: none;
  cursor: pointer;
}

.input-area button:hover {
  background-color: #e55a5a;
}

ul {
  list-style: none;
  padding-left: 0;
}

li {
  background-color: #fff3e0;
  margin-bottom: 10px;
  padding: 12px 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

li.completed {
  text-decoration: line-through;
  opacity: 0.6;
}

li input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.3);
}

.now-highlight {
  background-color: #d3f9d8;
  border-left: 4px solid green;
}

footer {
  text-align: center;
  margin-top: 30px;
  color: #888;
}
li {
  background-color: #fff3e0;
  margin-bottom: 10px;
  padding: 12px 15px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.left-side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.right-side {
  display: flex;
  align-items: center;
  gap: 15px;
}

.completed {
  text-decoration: line-through;
  opacity: 0.6;
}

.timestamp {
  font-size: 0.85rem;
  color: #555;
}

.deleteBtn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #ff6b6b;
}

.deleteBtn:hover {
  color: #d63031;
}
.now-highlight {
  background-color: #fef3c7;
  border-left: 4px solid orange;
  padding: 8px;
  margin: 6px 0;
}

.completed {
  text-decoration: line-through;
  color: gray;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  margin-bottom: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.left-side {
  display: flex;
  align-items: center;
  gap: 8px;
}

.right-side {
  display: flex;
  align-items: center;
  gap: 12px;
}
.completed {
  text-decoration: line-through;
  color: gray;
  opacity: 0.6;
}




