* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: #eef5ff;
  color: #17324d;
  -webkit-text-size-adjust: 100%;
}

body {
  padding: 18px;
}

.page {
  width: 96%;
  max-width: 1000px;
  margin: 0 auto;
}

.hero,
.auth-box,
.device-box,
.instructions {
  background: #ffffff;
  border: 2px solid #c8dcf1;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 16px;
  -webkit-box-shadow: 0 4px 12px rgba(29, 73, 113, 0.12);
  box-shadow: 0 4px 12px rgba(29, 73, 113, 0.12);
}

.hero {
  background: #1d6fa5;
  color: #ffffff;
  border-color: #165983;
}

.hero h1,
.auth-box h2,
.device-box h2,
.instructions h2 {
  margin-top: 0;
}

.hero h1 {
  font-size: 34px;
  margin-bottom: 8px;
}

.hero p {
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 0;
}

.badge {
  display: inline-block;
  background: #ffd75e;
  color: #4b3900;
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: bold;
}

.results {
  margin-bottom: 16px;
}

.result {
  border-radius: 12px;
  border: 2px solid #b8c9d8;
  padding: 16px 18px;
  margin-bottom: 10px;
  min-height: 56px;
  font-size: 19px;
  font-weight: bold;
}

.result-wait {
  background: #f5f7f9;
  color: #526475;
}

.result-pass {
  background: #dff7e7;
  border-color: #2a8b4b;
  color: #17552e;
}

.result-fail {
  background: #fff0ef;
  border-color: #bd3a35;
  color: #7a201d;
}

label {
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin: 14px 0 7px;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 2px solid #6f8da8;
  border-radius: 8px;
  background: #ffffff;
  color: #17324d;
  padding: 13px;
}

input {
  min-height: 52px;
  font-size: 20px;
}

textarea {
  font-family: monospace;
  font-size: 15px;
  line-height: 1.35;
  resize: vertical;
}

button {
  display: block;
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 10px;
  margin-top: 14px;
  padding: 12px 18px;
  background: #e06b24;
  color: #ffffff;
  font-size: 19px;
  font-weight: bold;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.12);
}

button:active {
  background: #b94d0d;
}

button[disabled] {
  background: #8997a3;
  cursor: default;
}

.secondary-button {
  background: #346d9b;
}

.privacy-note {
  color: #526475;
  font-size: 15px;
}

.instructions li {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.4;
}

@media screen and (max-width: 600px) {
  body {
    padding: 10px;
  }

  .page {
    width: 100%;
  }

  .hero,
  .auth-box,
  .device-box,
  .instructions {
    padding: 16px;
    border-radius: 10px;
  }

  .hero h1 {
    font-size: 28px;
  }
}

