/* Default to dark mode */
body {
  font-family: Arial, sans-serif;
  background-color: #000000;
  color: rgb(150, 150, 150);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  height: auto;
  overflow-y: auto;
  margin: 0;
  transition: background-color 0.3s, color 0.3s;
}

.container {
  background: #382e60;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  text-align: center;
}

h1 {
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  color: #7768b4;
  font-variant-caps: all-small-caps;
  margin-bottom: 20px;
}

input {
  padding: 10px;
  margin-right: 10px;
}

button {
  padding: 10px 15px;
  border: none;
  background: #604fa4;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  margin: 5px;
}

button:hover {
  background: #194c83;
}

ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

li {
  background: #2d2353;
  padding: 10px;
  margin: 5px 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-radius: 5px;
}

input[type="checkbox"] {
  transform: scale(1.3);
}

/* Light mode styles (applied via JavaScript) */
.light-mode {
  background-color: #f4f4f4;
  color: black;
}

.light-mode .container {
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.light-mode li {
  background: #e0e0e0;
}

/* Styling for clickable H1 without hover effect and preserving color */
a {
  text-decoration: none;
  color: inherit;
}

a:visited {
  color: inherit;
}

a h1 {
  cursor: pointer;
}

/* Styling for multiple columns layout when >10 items */
#checklist-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.checklist-multi {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.checklist-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#custom-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  z-index: 9999;
  text-align: center;
}

#custom-popup.hidden {
  display: none;
}

#timer-display {
  font-size: 3rem;
  font-weight: bold;
  margin: 20px 0;
}
