body {
  background: #121212;
  color: #e0e0e0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  margin: 0;
}

h1 {
  color: #90caf9;
  text-align: center;
}

.container {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

button {
  background: #1e88e5;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-top: 0.5rem;
}

button:hover {
  background: #1565c0;
}

button:disabled {
  background: #555;
  cursor: not-allowed;
}

input {
  padding: 0.8rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #444;
  background: #222;
  color: #e0e0e0;
  width: 100%;
}

hr {
  width: 100%;
  border: 0;
  height: 1px;
  background: #333;
  margin: 1.5rem 0;
}

#output {
  width: 100%;
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  overflow-wrap: break-word;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  min-height: 50px;
  line-height: 1.6;
}

#badges-section, #actions-section {
    width: 100%;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    margin-top: 1rem;
}

#badges-section p, #actions-section p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

#badges-section button {
    background-color: #8b5cf6;
}

#badges-section button:hover {
    background-color: #7c3aed;
}

b {
  color: #ffb74d;
}

i {
  color: #aaa;
}
a {
  color: #90caf9;
}

#zapButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffb74d;
    color: #121212;
    font-weight: bold;
    border-radius: 50px;
    padding: 0.8rem 1.2rem;
    z-index: 1000;
}

#zapButton:hover {
    background: #ffa726;
}

#qr-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.7);
    text-align: center;
    z-index: 999;
    transform: translateX(120%);
    transition: transform 0.4s ease-in-out;
}

#qr-container.show {
    transform: translateX(0);
}

#qr-container.hidden {
    transform: translateX(120%);
}

#qr-container img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
}

#closeQrBtn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

