html,
body {
  height: 100%;
  margin: 0;
  background: #fff; /* white background */
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

#ui {
  position: fixed;
  inset: 0 auto auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.85);
  border-bottom-right-radius: 0.75rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
  z-index: 10;
  backdrop-filter: blur(3px);
}

#ui button {
  cursor: pointer;
  border: 1px solid #ddd;
  background: #fff;
  padding: 0.4rem 0.7rem;
  border-radius: 0.5rem;
}

#ui button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#counter {
  font-weight: 600;
  margin-left: 0.25rem;
}

canvas {
  display: block;
  width: 100%;
  height: 100%; /* fills the screen */
  touch-action: none;
  cursor: crosshair;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

#toast.show {
  opacity: 1;
}

.sr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.sr-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  max-width: 520px;
  width: calc(100% - 2rem);
  padding: 1.25rem;
}

.sr-modal h2 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.15rem;
}

.sr-modal p {
  margin: 0.25rem 0 0.75rem;
  color: #333;
}

.sr-modal .sr-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0.75rem 0;
}

.sr-modal .sr-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.sr-modal button {
  border: 1px solid #ddd;
  background: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

.sr-modal button.sr-primary {
  background: #111;
  color: #fff;
  border-color: #111;
}

.sr-modal button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sr-error {
  color: #b00020;
  font-size: 0.9rem;
  display: none;
}

.thankyou {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 10px;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: calc(100vh - 50px);
}

.thankyou h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.thankyou .error {
  background: #fff3f3;
  border: 1px solid #ffcccc;
  color: #900;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

.thankyou p {
  color: #333;
  margin: 0.25rem 0;
}

.thankyou .submission-id {
  font-size: 1.15rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 1.25rem;
}

.thankyou .btn-download {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease;
}

.thankyou .btn-download:hover {
  background: #333;
}

.thankyou h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.thankyou .images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.thankyou figure {
  border: 1px solid #eee;
  border-radius: 0.5rem;
  overflow: hidden;
  margin: 0;
  background: #fff;
}

.thankyou img {
  display: block;
  width: 100%;
  height: auto;
}

.thankyou figcaption {
  font-size: 0.9rem;
  color: #555;
  padding: 0.5rem 0.6rem;
}

.thankyou .no-images {
  color: #555;
  margin-top: 1.25rem;
}

.info {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 10px;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  line-height: 1.6;
  padding: 0 1rem;
  min-height: calc(100vh - 50px);
}

.info h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.info h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.25rem;
}

.info p {
  margin: 0.75rem 0;
}

.info ul {
  margin: 0.5rem 0 1rem 1.5rem;
}

.info li {
  margin: 0.4rem 0;
}

.info .highlight {
  background: #f5f5f5;
  border-left: 4px solid #111;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  font-style: italic;
}

.info .cta {
  margin-top: 3rem;
  text-align: center;
}

.info .btn {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 0.8rem 1.3rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease;
}

.info .btn:hover {
  background: #333;
}

.footer {
  background-color: black;
  color: #dddddd;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  margin-top: 10px;
}
.footer p {
  margin: 0;
}

.qr-title {
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.qr-help {
  text-align: center;
  color: #555;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  max-width: 320px;
  margin: 0 auto 2rem;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.qr-box:hover {
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.qr-box img {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
}

.qr-url {
  text-align: center;
  font-size: 0.9rem;
  word-break: break-all;
}

.qr-url a {
  color: #0077cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.qr-url a:hover {
  color: #005999;
  text-decoration: underline;
}

.mobile-info {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 10px;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  line-height: 1.6;
  text-align: center;
  min-height: calc(100vh - 50px);
}

.mobile-info h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.mobile-info p {
  margin: 0.75rem 0;
}

.mobile-info .url-box {
  margin-top: 2rem;
  background: #fafafa;
  border: 2px solid #eee;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.mobile-info .url {
  font-size: 1.6rem;
  font-weight: 600;
  color: #111;
  word-break: break-all;
  letter-spacing: -1.5px;
}

/*# sourceMappingURL=styles.css.map */
