/* Base styles */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f4f7f6;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #333;
}

h1 {
  color: #aa2b2b;
  font-size: 2rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 5px rgb(0, 0, 0);
}

.container {
  border: 10px solid transparent;
  padding: 15px;
}

h2 {
  color: #db402b;
  margin-top: 30px;
  font-size: 1.4rem;
  text-shadow: 2px 2px 5px rgb(0, 0, 0);
}

/* Input fields */
input[type="text"],
input[type="date"],
select {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background-color: #f8f8f8;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="date"]:focus,
select:focus {
  border-color: #3498db;
  outline: none;
}

/* Button styling */
button {
  padding: 10px 15px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 15px;
}

.add-btn {
  background-color: #3498db;
  color: white;
}

.add-btn:hover {
  background-color: #2980b9;
}

.done-btn {
  background-color: #2ecc71;
  color: white;
  margin-right: 10px;
}

.done-btn:hover {
  background-color: #27ae60;
}

.delete-btn {
  background-color: #e74c3c;
  color: white;
}

.delete-btn:hover {
  background-color: #c0392b;
}

/* Task container */
.tasks,
.completed {
  margin-top: 20px;
}

/* Task box */
.task-box {
  padding: 15px;
  border-radius: 8px;
  background-color: #f9f9f9;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.task-box p {
  margin: 5px 0;
}

.completed .task-box {
  background-color: #e6ffec;
  border-left: 5px solid #2ecc71;
}

button {
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 6px;
  margin-top: 5px;
}

button:hover {
  opacity: 0.8;
}

