body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to right, #83a4d4, #b6fbff);
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 1rem;
  transition: background 0.3s, color 0.3s;
}

.container {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  transition: background 0.3s;
}

input, button {
  padding: 0.8rem;
  margin: 0.3rem 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

button {
  background-color: #3b82f6;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #2563eb;
}

#result {
  margin-top: 1.5rem;
}

.hidden {
  display: none;
}

img {
  width: 64px;
  height: 64px;
  margin: 0.5rem 0;
}

/* Dark Mode */
body.dark {
  background: #111;
  color: #eee;
}

body.dark .container {
  background: #222;
}

body.dark button {
  background-color: #555;
}

body.dark button:hover {
  background-color: #777;
}
