*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
  font-family: system-ui, -apple-system, sans-serif;
  color: #1a1a2e;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.5px;
}

.label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.display-section {
  text-align: center;
}

.name {
  font-size: 2rem;
  font-weight: 700;
  color: #2563eb;
  min-height: 2.5rem;
}

.timestamp {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

.verify-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1.5rem;
  text-align: center;
  letter-spacing: 0.3em;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s;
}

input:focus {
  border-color: #2563eb;
}

button {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}

button:hover {
  background: #1d4ed8;
}

button:disabled {
  background: #93c5fd;
  cursor: not-allowed;
}

.result {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  min-height: 1.5rem;
}

.result.success { color: #16a34a; }
.result.failure { color: #dc2626; }
.result.error   { color: #d97706; }
