body {
  margin: 0;
  font-family: sans-serif;
  background-color: #121212;
  color: #fff;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

h1#dayHeader {
  text-align: center;
  font-family: 'Pacifico', cursive;
  margin-bottom: 20px;
  font-size: 2rem;
}

ul#taskList {
  list-style: none;
  padding: 0;
}

.task-item {
  background: #1e1e1e;
  margin-bottom: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background 0.3s;
  cursor: pointer;
}

.task-item.completed {
  background: #2e7d32;
}

.task-item.not-finished {
  background: #c62828;
}

.task-buttons {
  display: none;
  margin-top: 10px;
}

.task-item.expanded .task-buttons {
  display: flex;
  gap: 10px;
}

.task-buttons button {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #fff;
}

.task-buttons button:first-child {
  background-color: #2e7d32;
}

.task-buttons button:last-child {
  background-color: #c62828;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-group {
  position: relative;
}

.dropdown,
.day-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1f1f1f;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 8px;
  z-index: 10;
}

.hidden {
  display: none;
}

.menu-toggle,
.menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.score-box {
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
}

.history-container {
  margin-top: 30px;
  text-align: center;
}

.history-btn {
  padding: 10px 20px;
  background-color: #2962ff;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.history-dropdown {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  background: #2c2c2c;
  border-radius: 6px;
}

.history-item {
  padding: 10px;
  margin: 8px 0;
  border-radius: 4px;
  background: #444;
  display: flex;
  justify-content: space-between;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.load-more {
  margin-top: 10px;
  padding: 8px 16px;
  background: #555;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
