:root {
  --primary: #0e9384;
  --white: #ffffff;
  --success: #0e9384;
  --danger: #c0392b;
  --bg: #f4fdfc;
}

* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont;
}

body {
  margin: 0;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
  text-align: center;
}

.logo {
  max-width: 140px;
  margin-bottom: 20px;
}

.subtitle {
  color: #555;
  margin-bottom: 20px;
}

.card {
  background: var(--white);
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

label {
  font-size: 14px;
  font-weight: 600;
  display: block;
  text-align: left;
  margin-bottom: 6px;
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.divider {
  margin: 10px 0;
  font-weight: 600;
  color: #888;
}

button {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}

button.secondary {
  background: #e7f6f4;
  color: var(--primary);
}

button:hover {
  opacity: 0.95;
}

.qr-reader {
  margin-top: 15px;
}

.result {
  margin-top: 20px;
  padding: 14px;
  border-radius: 10px;
  font-weight: 600;
}

.result.success {
  background: #e7f6f4;
  color: var(--success);
}

.result.error {
  background: #fdecea;
  color: var(--danger);
}

.hidden {
  display: none;
}


#qr-reader {
  width: 100%;
}
