/* Mobiltauglich: grosse Touch-Ziele, da am Bierwagen auf Handy/Tablet bedient. */
body {
  font-size: 1.05rem;
}

.form-check-input {
  width: 1.6em;
  height: 1.6em;
  margin-top: 0.1em;
}

.form-check-label {
  padding-left: 0.4em;
  line-height: 1.6em;
}

.btn {
  min-height: 44px;
}

.signature-pad {
  width: 100%;
  height: 160px;
  background: #fff;
  cursor: pointer;
}

.privacy-notice {
  font-size: 0.85rem;
  color: #6b7280;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  padding: 0.75rem;
}

/* Vollbild-Unterschriftsflaeche: der Canvas wird per CSS gedreht, nicht das
   Geraet -- iOS Safari kann die Bildschirmrotation ohnehin nicht sperren. */
.signature-fullscreen-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signature-fullscreen-canvas {
  transform: rotate(90deg);
  touch-action: none;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
}

.signature-fullscreen-hint {
  position: fixed;
  top: env(safe-area-inset-top, 10px);
  left: 0;
  right: 0;
  text-align: center;
  color: #f9fafb;
  font-size: 0.8rem;
  z-index: 2001;
}

.signature-fullscreen-toolbar {
  position: fixed;
  bottom: env(safe-area-inset-bottom, 12px);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  z-index: 2001;
}

/* Foto-Picker: Aufnehmen/Mediathek-Buttons + Vorschau bereits ausgewaehlter,
   noch nicht abgeschickter Fotos. */
.photo-picker-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.photo-picker-item {
  position: relative;
  width: 84px;
  height: 84px;
}

.photo-picker-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
}

.photo-picker-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  min-height: 24px;
  border-radius: 50%;
  border: none;
  background: #b91c1c;
  color: #fff;
  line-height: 1;
  font-size: 1rem;
}
