html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.map-wrapper {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  background: linear-gradient(145deg, #f9fafb 0%, #eef2ff 100%);
}

.fair-map {
  width: 100%;
  height: auto;
  display: block;
  cursor: grab;
}

.fair-map.dragging {
  cursor: grabbing;
}

.hall-bg {
  fill: #ffffff;
  stroke: #cbd5e1;
  stroke-width: 2;
}

.stand-rect {
  fill: #dbeafe;
  stroke: #1d4ed8;
  stroke-width: 1.5;
  rx: 6;
  transition: all 0.2s ease;
}

.stand-node.is-selected .stand-rect,
.stand-node:hover .stand-rect {
  fill: #2563eb;
  stroke: #1e3a8a;
}

.stand-label {
  font-size: 12px;
  font-weight: 700;
  fill: #0f172a;
  pointer-events: none;
}

.stand-node.is-selected .stand-label,
.stand-node:hover .stand-label {
  fill: #ffffff;
}

.route-line {
  fill: none;
  stroke: #f97316;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

.heatmap-layer circle {
  fill: #ef4444;
  opacity: 0.35;
  filter: url(#heatBlur);
}

.google-fair-map {
  width: 100%;
  height: min(68vh, 680px);
  border: 1px solid #dbe7f5;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.demo-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 992px) {
  .google-fair-map {
    height: 56vh;
  }

  .demo-logo {
    height: 36px;
  }
}