* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0;
  height: 100%;
  background: #f4f1ea;
  color: #23262e;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.hidden { display: none !important; }
.screen {
  display: none;
  min-height: 100vh;
}
.screen.center {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.screen:not(.hidden) { display: flex; }

h1 { font-size: 1.6rem; margin: 0 0 12px; }
.hint-text { font-size: 1.05rem; color: #5c5a53; max-width: 340px; margin: 0 0 20px; }
.error-text { color: #c0392b; margin-top: 12px; }

input {
  width: 100%;
  max-width: 320px;
  padding: 16px;
  font-size: 1.3rem;
  text-align: center;
  border-radius: 12px;
  border: 2px solid #e3ded2;
  margin-bottom: 16px;
}
input:focus { outline: none; border-color: #29a8e0; }

.btn {
  width: 100%;
  max-width: 320px;
  border: none;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 16px;
  cursor: pointer;
  margin-bottom: 10px;
}
.btn-primary { background: #d9481f; color: white; }
.btn-primary:disabled { background: #d1cfc9; color: #8a8880; cursor: not-allowed; }
.btn-secondary { background: none; color: #5c5a53; text-decoration: underline; }

.check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #2f8a4e;
  color: white;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
