﻿:root {
  --bg: #f6f7f8;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --accent: #111827;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app {
  width: min(720px, 90vw);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.title {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
}

.code {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 18px 16px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  margin-bottom: 20px;
  word-break: break-all;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scan-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.scan-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}
