body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to right, #74ebd5, #ACB6E5);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.container {
  width: 90%;
  max-width: 700px;
  background: #fff;
  margin: 30px auto;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
}

h1 {
  margin-bottom: 15px;
}

.task-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.task-form input,
.task-form select,
.task-form button,
.task-form textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.task-form textarea {
  resize: vertical;
  min-height: 60px;
}

.task-form button {
  background: #2196f3;
  color: #fff;
  border: none;
  cursor: pointer;
}

.task-form button:hover {
  background: #1976d2;
}

.progress-container {
  background: #eee;
  border-radius: 10px;
  height: 20px;
  position: relative;
  margin: 15px 0;
}

#progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 10px;
  background: red;
  transition: width 0.3s, background 0.3s;
}

#progress-text {
  margin-top: 5px;
  font-size: 14px;
}

.task-card {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 12px;
  margin: 10px 0;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-left: 6px solid;
}

.task-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.task-header label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.task-meta {
  font-size: 14px;
  margin-top: 5px;
  display: flex;
  justify-content: space-between;
  color: #555;
}

.task-notes {
  margin-top: 8px;
  font-size: 14px;
  color: #333;
  background: #f1f1f1;
  padding: 8px;
  border-radius: 8px;
}

.task-actions {
  margin-top: 10px;
  text-align: right;
}

.task-actions button {
  background: #e53935;
  color: #fff;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.task-actions button:hover {
  background: #b71c1c;
}

.completed-task {
  text-decoration: line-through;
  opacity: 0.6;
}

footer {
  margin-top: 20px;
  font-size: 14px;
  color: #444;
}
