* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #1e1f26;
  color: #f1f1f1;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  flex-direction: column;
}

.box {
  background: #2b2d36;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 420px;
  text-align: center;
  transition: 0.3s;
}

.box h2 {
  font-size: 24px;
  margin-bottom: 24px;
  color: #f1f1f1;
}

input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: none;
  margin-bottom: 20px;
  background: #25262e;
  color: #f1f1f1;
  font-size: 16px;
  box-shadow: inset 2px 2px 4px rgba(0,0,0,0.4),
              inset -2px -2px 4px rgba(255,255,255,0.05);
}

input[type="text"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px #e4b35a55;
}

input::placeholder {
  color: #aaa;
}

button {
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  background: #e4b35a;
  color: #1e1f26;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s ease;
}

button:hover {
  background: #f5c76e;
}

button:active {
  transform: scale(0.98);
}

#qrBox {
  margin-top: 28px;
  transition: 0.4s ease;
  opacity: 0;
  transform: scale(0.95);
  display: flex;
  justify-content: center;
}

#qrBox.show {
  opacity: 1;
  transform: scale(1);
}

#qrBox img {
  border-radius: 10px;
  box-shadow: 4px 4px 12px rgba(0,0,0,0.5);
  animation: popIn 0.4s ease;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Centered footer styles */
footer {
  width: 100%;
  margin-top: 20px;
  text-align: center;
}

footer h3 {
  color: #888;
  font-size: 14px;
  letter-spacing: 1px;
}
