
body { margin: 0; font-family: sans-serif; }

html, body {
  touch-action: manipulation; /* Engedélyezi az érintéses műveleteket, beleértve a zoomot */
}

#image-container {
  touch-action: manipulation; /* Mobilon engedélyezi a kétujjas zoomot */
}
#container { display: flex; flex-direction: row; height: 100vh; }

#image-container {
  flex: 2;
  position: relative;
  overflow: hidden;
  background: #eee;
  touch-action: manipulation; /* Mobilon engedélyezi a kétujjas zoomot */
}
#zoom-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  height: auto;
  transform-origin: top left;
  cursor: default;
}
#floorplan {
  display: block;
  width: 100%;
  height: auto;
  user-drag: none;
  user-select: none;
  -webkit-user-drag: none;
}
#marker-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform-origin: top left;
}
.marker {
  width: 14px;
  height: 14px;
  background-color: red;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.marker.active {
  background-color: blue;
  animation: pulse 1.5s infinite;
}
.preview {
  background-color: orange;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,0,255, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(0,0,255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,255, 0); }
}
#form-panel {
  flex: 1;
  background: #f7f7f7;
  padding: 10px;
  overflow-y: auto;
}
textarea { width: 100%; }
@media (max-width: 768px) {
  #container { flex-direction: column; }
}
