/* === [📷 Scanner-Seite Style] === */
/* Basis */

body {
  font-family: sans-serif;
  text-align: center;
  
  font-size: 16px;
  background: #f3f3f3;
}

/* === [Formular-Rahmen & Layout] === */
#formular-wrapper {
  max-width: 480px;
  margin: 0 auto;
 padding-top: 3px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;

  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

/* Überschrift */
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

/* Kamera-Vorschau */
video {
  max-width: 100%;
  box-sizing: border-box;
  border: 3px solid #ccc;
  border-radius: 12px;
  margin-bottom: 10px;
  
  display: block;         /* Wichtig für margin auto */
  margin-left: auto;
  margin-right: auto;
}

button {
font-size: 1rem;
  padding: 8px;
  border: none;
  border-radius: 5px;
  background: #28a745;
  color: white;
  cursor: pointer;
  transition: background 0.2s;  
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
}

button:hover {
  background-color: #218838;
}

/* Übersicht-Button separat */
#uebersicht-btn {
  background-color: #6a1b9a;
}

#uebersicht-btn:hover {
  background-color: #4a148c;
}
/* === [Zahleneingabe ohne Spinner] === */
input.nur-zahlen::-webkit-outer-spin-button,
input.nur-zahlen::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* === [Barcode-Eingabefeld größer & lesbar] === */
#barcode-eingabe {
  width: 100%;
  font-size: 1rem;
  padding: 8px;
  border: 1px solid #bbb;
  box-sizing: border-box;
  background-color: #fff;
}
/* === [Titelbereich Styling] === */
.titelbereich {
  text-align: center;
 
}

.titelbereich h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.titelbereich .unterzeile {
  font-size: 1.5rem;
  color: #666;
  font-style: italic;
}
/*
  © 2025 Maik Nohl
  Designed with ❤️ by Maiki
  www.deine-gravur.de
*/
#demo-hinweis {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #f9f9f9;
  color: #222;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 9999;
  max-width: 90%;
  text-align: center;
  pointer-events: none; /* ← verhindert Klick-Blockade */
}

