* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: #f3f4f6;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 420px;
  text-align: center;
}

h2 {
  margin-top: 0;
  color: #111827;
  font-size: 1.5rem;
}

.input-group {
  margin-bottom: 20px;
  text-align: left;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

input,
select {
  width: 100%;
  padding: 10px 14px;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}

input:focus,
select:focus {
  border-color: #2563eb;
}

#qrcode {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  padding: 15px;
  background: #fafafa;
  border-radius: 12px;
  border: 1px dashed #e5e7eb;
}

.qr-string {
  font-family: monospace;
  font-size: 1.1rem;
  background: #eef2ff;
  color: #3730a3;
  padding: 10px;
  border-radius: 6px;
  word-break: break-all;
  margin: 15px 0;
  font-weight: bold;
}

.timer {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  background: #dcfce7;
  color: #166534;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 15px;
}
