/* -------------------- Base Styles -------------------- */
body {
  font-family: 'Comic Sans MS', cursive;
  background-color: #ffffff;
  color: #000000;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

h1 {
  margin-bottom: 20px;
}

input, select, button {
  font-size: 16px;
  padding: 8px;
  margin: 5px 0;
}

button {
  cursor: pointer;
}

pre#outputBox {
  white-space: pre-wrap;
  font-family: monospace;
  background-color: #f0f0f0;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  text-align: left;
  overflow-x: auto;
}

/* -------------------- Themes -------------------- */

/* Light Mode (default) */
.light-mode {
  background-color: #ffffff;
  color: #000000;
}

.light-mode pre#outputBox {
  background-color: #f0f0f0;
}

/* Dark Mode */
.dark-mode {
  background-color: #1a1a1a;
  color: #ffffff;
}

.dark-mode pre#outputBox {
  background-color: #222222;
}

/* Candy Mode */
.candy-mode {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fbc2eb);
  color: #333333;
}

.candy-mode pre#outputBox {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Emoji Full Mode */
.emoji-mode {
  background: #fff8e1;
  color: #000000;
}

.emoji-mode pre#outputBox {
  background-color: #fff3e0;
  border: 2px dashed #ff6f61;
}

/* -------------------- Footer -------------------- */
footer {
  margin-top: 30px;
  font-size: 14px;
}

footer a {
  margin-left: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}
