body {
  font-family: Arial, sans-serif;
  text-align: center;
  background-color: #f2f2f2;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  background-color: #ffffff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.wheel-container {
  position: relative;
  display: inline-block;
  margin: 1rem;
}

.inputs-container {
  display: inline-block;
  vertical-align: top;
  margin: 1rem;
}

#legendCredits {
  margin-top: 5px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

#inputForm {
  text-align: center;
  padding-left: 2rem;
}

#spinBtn, #spinSelfcareBtn {
  background-color: #4CAF50;
  color: white;
  padding: 10px 24px;
  margin-top: 10px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

#output {
  font-size: 18px;
  font-weight: bold;
  margin-top: 1rem;
}

.arrow-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: 0px;
  margin-top: -7px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 40px solid white;
  transform-origin: 20px 20px;
  --rotation: 0deg;
  transform: translate(-50%, -50%) rotate(var(--rotation));
}

#legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  padding: 0.25rem 1rem;
  margin: 0.25rem;
  background-color: #f2f2f2;
  border-radius: 4px;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

nav {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

nav button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 24px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  margin-right: 1rem;
}

nav button:last-child {
  margin-right: 0;
}

.tab-content {
  display: none;
}

#todoForm {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

#todoInput {
  padding: 0.5rem;
  font-size: 1rem;
  flex-grow: 1;
}

#addTodoBtn {
  background-color: #4CAF50;
  color: white;
  padding: 0.5rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  margin-left: 1rem;
}

#todoList {
  list-style-type: none;
  padding: 0;
}

#todoList li {
  background-color: #f2f2f2;
  padding: 0.5rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

#todoList li.completed {
  background-color: #d9ead3;
  text-decoration: line-through;
  color: #747d8c;
}

#todoList li:before {
  content: "";
  width: 16px;
  height: 16px;
  background-color: #2ed573;
  border-radius: 50%;
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

#todoList li.completed:before {
  display: block;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

#fireworksCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}


/* Add this style for selfcareArrow */
#selfcareArrow {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: 0px;
  margin-top: -7px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 40px solid white;
  transform-origin: 20px 20px;
  --rotation: 0deg;
  transform: translate(-50%, -50%) rotate(var(--rotation));
}

/* Add this style for selfcareContainer */
#selfcareContainer {
  display: none;
  background-color: #ffffff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.dark-mode {
  background-color: #333333;
  color: #ffffff;
}

.dark-mode .container {
  background-color: #444444;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

.dark-mode #spinBtn,
.dark-mode #addTodoBtn,
.dark-mode #darkModeToggle {
  background-color: #ffffff;
  color: #333333;
}

.dark-mode #todoList li {
  background-color: #666666;
}

.dark-mode #todoList li.completed {
  background-color: #999999;
  color: #ffffff;
}

.dark-mode #selfcareContainer {
  background-color: #444444;
}

.dark-mode #spinSelfcareBtn {
  background-color: #ffffff;
  color: #333333;
}

.dark-mode .selfcare-option {
  color: #ffffff;
}

.dark-mode #selfcareLegendCredits {
  color: #ffffff;
}

.dark-mode .selfcare-option.completed {
  background-color: #999999;
  color: #ffffff;
}

.dark-mode .legend-item {
  background-color: #666666;
  color: #ffffff;
}

.dark-mode #legendCredits {
  color: #ffffff;
}

.icon {
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 1rem;
}

.icon i {
  vertical-align: middle;
}
