/* styles.css - mobile-first, compartilhado entre index e pair */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

main {
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
  display: block;
  border-radius: 16px;
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

input[type="text"] {
  width: 100%;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.5rem;
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  margin-bottom: 1rem;
  outline: none;
  font-family: inherit;
}

input[type="text"]:focus {
  border-color: #0066cc;
}

button {
  width: 100%;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 1rem;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}

button:active {
  background: #004999;
}

#msg {
  margin-top: 1rem;
  font-size: 0.95rem;
  min-height: 1.2em;
}

body.loader p {
  margin-bottom: 0;
  color: #888;
}
