@font-face {
  font-family: 'UKNumberPlate';
  src: url('/static/fonts/UKNumberPlate.ttf') format('truetype');
  font-display: swap;
}

#welcome {
  font-size: 2.5em;
  background: rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: 20px 40px;
  border-radius: 20px;
  margin-top: 10vh;
}

#vrm {
  display: block;
  margin: 40px auto;
  font-size: 2.4em;
  text-align: center;
  border-radius: 6px;
  padding: 15px;
  border: 3px solid #000;
  width: 80%;
  max-width: 400px;
  background-color: #ffeb3b;
  color: #000;
  text-transform: uppercase;
  font-family: 'UKNumberPlate', 'Courier New', monospace;
  letter-spacing: 2px;
}

button {
  display: inline-block;
  font-size: 1.4em;
  padding: 15px 40px;
  margin: 15px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  color: white;
  background: linear-gradient(to bottom, #2a6fff, #1a4fcc);
}

button#cancel {
  background: linear-gradient(to bottom, #ff4d4d, #b30000);
}

button:hover {
  opacity: 0.85;
}

#status {
  font-size: 1.2em;
  margin-top: 20px;
  height: 40px;
}

#admin-section {
  margin-top: 30px;
}

.hidden {
  display: none;
}

#admin-access {
  position: fixed;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-content {
  background: #222;
  padding: 20px 30px;
  border-radius: 15px;
  text-align: center;
}

.modal-content h3 {
  margin-bottom: 15px;
}

.modal-content select {
  font-size: 1.2em;
  padding: 10px;
  border-radius: 8px;
  width: 80%;
  margin-bottom: 15px;
}

.modal-buttons button {
  font-size: 1.1em;
  padding: 10px 20px;
  margin: 5px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: white;
  background: linear-gradient(to bottom, #2a6fff, #1a4fcc);
}

.modal-buttons button#cancel-loc {
  background: linear-gradient(to bottom, #ff4d4d, #b30000);
}

/* Always hide anything with .hidden */
.hidden {
  display: none !important;
}

html, body {
  margin: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
  text-align: center;
  color: white;
  font-family: 'Arial', sans-serif;
  background: #000;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;     /* or "contain" */
  background-attachment: fixed;
}


#container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;           /* content can still scroll */
  -webkit-overflow-scrolling: touch;
}
