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

body {
  font-family: Arial, sans-serif;
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 16px;
  gap: 32px;
}

h1 {
  font-size: 1.5rem;
  color: #333;
}

/* ── Buttons ── */
.buttons {
  display: flex;
  gap: 12px;
}

button {
  padding: 10px 16px;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid #999;
  border-radius: 6px;
  background: #fff;
}

button:hover:not(:disabled) {
  background: #e8e8e8;
}

button:disabled {
  color: #aaa;
  border-color: #ddd;
  cursor: not-allowed;
}

/* ── Results ── */
#results {
  width: 100%;
  max-width: 700px;
}

#results-summary {
  font-weight: bold;
  margin-bottom: 8px;
}

#results-list,
#results-list-rest {
  column-count: 4;
  column-gap: 1rem;
  max-height: 400px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px;
  font-size: 0.9rem;
}

#results-list-rest {
  margin-top: 44px;
}

/* ── License Plate ── */
.plate {
  position: relative;
  width: 340px;
  height: 170px;
  background: #fff;
  border-radius: 12px;
  border: 4px solid #999;
  box-shadow:
    inset 0 0 0 6px #ddd,
    2px 4px 10px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  user-select: none;
}

.plate-state {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 5px;
  color: #1a3a7a;
  text-transform: uppercase;
}

.plate-number {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #1a3a7a;
  line-height: 1;
  font-family: 'Arial Black', Arial, sans-serif;
}

/* bolt holes */
.plate::before,
.plate::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #bbb;
  border-radius: 50%;
  border: 2px solid #999;
}
.plate::before { left: 12px; }
.plate::after  { right: 12px; }
