body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #d0c0bd;
  color: #682c25;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 40px 20px;
}

.container {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  animation: slideIn 0.8s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #9a534d;
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input[type="text"],
input[type="date"] {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

button {
  padding: 12px;
  background: #682c25;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #9a534d;
}

.task-list {
  margin-top: 20px;
  list-style: none;
  padding: 0;
}

.task {
  background: #f8f5f4;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 0.6s ease;
}

.task.completed {
  text-decoration: line-through;
  background: #cde8cd;
  color: #4a774a;
}

@keyframes fadeIn {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.task .buttons {
  display: flex;
  gap: 10px;
}

.task .deadline {
  font-size: 12px;
  color: #888;
  margin-left: 10px;
}


