:root {
  --bg-color: #f0f0f0;
  --container-bg: white;
  --text-color: #333;
  --button-bg: #4CAF50;
  --button-text: white;
}

body.dark-mode {
  --bg-color: #1a1a1a;
  --container-bg: #2d2d2d;
  --text-color: #f0f0f0;
  --button-bg: #45a049;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

.container {
  text-align: center;
  background-color: var(--container-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
}

#generator-btn, #theme-toggle-btn {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: var(--button-bg);
  color: var(--button-text);
  transition: background-color 0.3s;
}

#theme-toggle-btn {
  background-color: #555;
  margin-left: 0.5rem;
}

body.dark-mode #theme-toggle-btn {
  background-color: #ccc;
  color: #333;
}

#lotto-numbers-container {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.lotto-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f0f0f0;
  margin: 0 0.25rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: white; /* Lotto numbers look better with white text on colored circles */
}
