* {
  box-sizing: border-box;
  transition: all 0.2s ease;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #1b5883, #29c3d7);
  margin: 0;
  padding: 30px;
}

.container {
  max-width: 700px;
  margin: auto;
  background-color: rgb(36, 164, 207);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  font-weight: 700;
}

form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

form input, form button {
  padding: 12px 15px;
  font-size: 16px;
  border-radius: 10px;
  border: 2px solid #ddd;
}

form input:focus {
  outline: none;
  border-color: #f39c12;
}

form button {
  background-color: #f39c12;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

form button:hover {
  background-color: #d35400;
}

.task-list {
  margin-top: 20px;
  background-color: #fefefe;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.task-list h3 {
  margin-bottom: 10px;
  color: #2c3e50;
  border-left: 5px solid #f39c12;
  padding-left: 10px;
}

.task {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.task:last-child {
  border-bottom: none;
}

.task.completed .title {
  text-decoration: line-through;
  color: #999;
}

.task .details {
  flex-grow: 1;
  margin-left: 10px;
}

.task .details small {
  display: block;
  color: #666;
}

.actions button {
  margin-left: 8px;
  background-color: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #2980b9;
}

.actions button:hover {
  color: #d35400;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
}
