
body {
  font-family: 'Noto Sans TC', sans-serif;
  background-color: #f2f2f7;
  color: #333;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 700px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.5s ease;
}

h1, h2 {
  text-align: center;
  color: #2c3e50;
}

.download-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}

.download-form input[type="text"] {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
}

.download-form button {
  background-color: #1da1f2;
  border: none;
  color: white;
  padding: 10px 18px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.download-form button:hover {
  background-color: #0d8ddb;
}

.task-list { 
  /*max-height: 1080px;*/
  max-height: calc(80vh); /* Adjust to 50% of the viewport height */
  overflow-y: auto; 
}

.task-list ul {
  list-style: none;
  padding-left: 0;
}

.task-list li {
  padding: 10px;
  border-bottom: 1px solid #eee;
  animation: fadeIn 0.3s ease-in;
}

.task-list li strong {
  display: inline-block;
  min-width: 80px;
  font-weight: bold;
}

.delete-btn {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 5px 10px;
  margin-left: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.delete-btn:hover {
  background-color: #c0392b;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
