* { box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #0f1115;
  color: #e8e8ea;
  margin: 0;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
}

.card {
  background: #1a1d24;
  border-radius: 12px;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
}

.card.wide { max-width: 900px; }

h1 { margin-top: 0; }

.btn {
  display: inline-block;
  background: #4f7cff;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

#code-boxes {
  display: flex;
  gap: 0.4rem;
  margin: 1rem 0;
}

#code-boxes input {
  width: 2.5rem;
  height: 3rem;
  text-align: center;
  font-size: 1.5rem;
  border-radius: 8px;
  border: 1px solid #33363f;
  background: #0f1115;
  color: #e8e8ea;
}

.error { color: #ff6b6b; }
.hidden { display: none; }

form { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1rem; }
label { display: flex; flex-direction: column; gap: 0.3rem; }
input[type="text"], input[type="number"], input[type="datetime-local"] {
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid #33363f;
  background: #0f1115;
  color: #e8e8ea;
}

table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
th, td { text-align: left; padding: 0.5rem; border-bottom: 1px solid #33363f; }
