body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(0deg, #1e272e, #485460);
  color: #fff;
  text-align: center;
  margin: 0;
  padding: 0;
  transition: background 0.1s linear;
}

.header-h1 {
  font-size: 22px;
  margin-bottom: 30px;
}

.container {
  width: 100%;
  max-width: 80%;
  margin: 50px auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.task-list,
.subtask-list {
  list-style-type: none;
  padding: 0;
}

.task-list li,
.subtask-list li {
  background: rgba(255, 255, 255, 0.2);
  margin: 10px 0;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  transition: all 0.3s ease;
  word-wrap: break-word;
}

.task-info {
  text-align: left;
  flex-grow: 1;
  padding-right: 10px;
}

.task-title,
.subtask-title {
  display: block;
  word-wrap: break-word;
  transition: opacity 0.3s ease, text-decoration 0.3s ease;
  text-align: left;
  line-height: 150%;
  font-size: 14px;
}

.task-title {
  margin-bottom: 15px;
}

.subtask-list li input[type="checkbox"]:checked + .subtask-title {
  opacity: 0.5;
  text-decoration: line-through;
}

.task-dates {
  font-size: 12px;
  opacity: 0.5;
}

.progress-container {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

label,
span {
  font-size: 12px;
}

progress {
  width: 100%;
  height: 15px;
  background: #ddd;
  display: block;
  max-width: 60%;
}

progress::-webkit-progress-value {
  background: #ff9f66;
  border-radius: 0 5px 5px 0;
}

button {
  background-color: #ff8c4d;
  color: white;
  border: none;
  padding: 2px 5px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
}

button:hover {
  background-color: #ff5c1a;
}
.add-btn {
  background-color: #ff9f66;
  padding: 12px;
  font-size: 14px;
  border-radius: 8px;
  width: 120px;
}

.add-btn:hover {
  background-color: #ff7733;
}

.button-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-top: 15px;
}

.task-content,
.subtask-content {
  display: flex;
  align-items: center;
  flex-grow: 1;
  margin-bottom: 10px;
}
.subtask-content input[type="checkbox"] {
  margin-right: 10px;
  accent-color: #ff8c4d;
  width: 16px;
  height: 16px;
}
.view-btn,
.edit-btn,
.delete-btn {
  font-size: 14px;
  padding: 5px;
  width: 80px;
}

.design-pexor {
  font-size: 12px;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.design-pexor a {
  color: #ff7733;
}

.design-pexor a:hover {
  color: #ff5c1a;
}


