body{
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

/* Style for the input and buttons */
input[type="text"], input[type="date"], button {
  padding: 10px;
  font-size: 16px;
  margin: 5px;
  border: 2px solid #1f77d0;
  border-radius: 5px;
  outline: none;
}

input[type="text"]:focus, input[type="date"]:focus {
  border-color: #0b61b5;
  box-shadow: 0 0 8px #0b61b5;
}

/* Buttons */
button {
  background-color: #1f77d0;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
}

button:hover {
  background-color: #0b61b5;
  box-shadow: 0 0 10px #0b61b5;
}

button:active {
  background-color: #0a558d;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Style for the to-do items */
.todo-container {
  margin-top: 20px;
}

.todo-container div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for the to-do item */
.todo-container div:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* To-do item text */
.todo-container div span {
  font-size: 16px;
  color: #333;
}

/* Delete button */
.btn-delete {
  background-color: red;
  color: white;
  border: none;
  padding: 7px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-delete:hover {
  background-color: darkred;
  transform: scale(1.1);
}

/* Reset button */
button.reset-btn {
  background-color: #ff6b6b;
  color: white;
}

button.reset-btn:hover {
  background-color: #e84141;
}

/* Mobile responsive */
@media (max-width: 600px) {
  .todo-container div {
    flex-direction: column;
    align-items: flex-start;
  }

  .todo-container div span {
    margin-bottom: 5px;
  }

  button {
    width: 100%;
  }
}
