body {
  font-family: Arial, sans-serif;
  background-color: #f9fafb;
  margin: 0;
  padding: 0;
  color: #333;
}

header {
  background-color: #6b7280;
  color: white;
  padding: 1rem;
  text-align: center;
}

header img {
  max-height: 60px;
  display: block;
  margin: 0 auto 0.5rem auto;
}

header a.admin-btn {
  background-color: #6b7280; /* gray */
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 0.5rem;
}
header a.admin-btn:hover {
  background-color: #4b5563; /* darker gray */
}

main {
  max-width: 900px;
  margin: auto;
  padding: 1.5rem;
}

h2 {
  border-bottom: 2px solid #eee;
  padding-bottom: 0.3rem;
}

.progress-container {
  background-color: #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  height: 25px;
  margin: 1rem 0;
}
.progress-bar {
  background-color: #22c55e;
  height: 100%;
  width: 0%;
  text-align: center;
  color: white;
  font-weight: bold;
  transition: width 0.5s ease;
}

ul { list-style: none; padding-left: 0; }
li {
  background: white;
  margin: 0.5rem 0;
  padding: 0.8rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  background-color: #f3f4f6;
}

.highlight { animation: highlightAnim 2s ease; }
@keyframes highlightAnim {
  from { background-color: #fffae6; }
  to   { background-color: white; }
}

/* Action buttons */
.actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.btn {
  border: 0; border-radius: 6px; padding: 0.35rem 0.55rem; cursor: pointer;
  font-size: 0.85rem;
}
.btn-edit { background: #2563eb; color: white; }
.btn-edit:hover { background: #1e40af; }
.btn-delete { background: #dc2626; color: white; }
.btn-delete:hover { background: #991b1b; }
.btn-done { background: #16a34a; color: white; }
.btn-done:hover { background: #166534; }
.item-row { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.item-text { flex: 1; }
