* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  height: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 12px;
  color: black;
  min-height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  background: white;
}
h1 {
  font-size: 2rem;
}
.container {
  padding: 2rem;
  text-align: center;
}
.input-section {
  margin-top: 2rem;
}
input {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 0.5rem;
  width: 100%;
  margin-bottom: 1rem;
}
input:focus {
  outline: none;
  border-color: #007bff;
}
button {
  padding: 1rem 2rem;
  font-size: 1rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  width: 100%;
}
button:hover {
  background: #0056b3;
}
.reset-button {
  margin-top: 2rem;
}
#qr-container {
  display: none;
  flex-direction: column;
  align-items: center;
}
#qr-code {
  margin: 2rem 0;
  width: 100%;
  max-width: 200px;
  height: auto;
}
.timestamp {
  font-family: monospace;
  font-size: 1rem;
}
.qr-string {
  font-family: monospace;
  font-size: 0.75rem;
  margin-top: 0.5rem;
  word-break: break-all;
}
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: white;
  display: none;
}
.progress-bar {
  height: 100%;
  background: black;
  width: 100%;
  animation: countdown 15s linear;
}
@keyframes countdown {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
