/* GPX QR Tracker — 3D карта (MapLibre GL) модал */

.gpxqr-3d-modal {
  display: none;
  position: fixed; inset: 0;
  z-index: 99998;
  background: #000;
}
.gpxqr-3d-canvas {
  width: 100%; height: 100%;
}
.gpxqr-3d-close {
  position: absolute; top: 14px; left: 14px;
  z-index: 5;
  background: rgba(20,20,25,0.85);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.gpxqr-3d-close:hover { background: rgba(40,40,45,0.95); }

.gpxqr-3d-vrbtn {
  position: absolute; top: 14px; right: 14px;
  z-index: 5;
  background: rgba(124,131,255,0.85);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.gpxqr-3d-vrbtn:hover { background: rgba(124,131,255,1); }

.gpxqr-3d-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 15px;
  background: #111;
  z-index: 3;
}

.gpxqr-3d-marker {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Бутон "3D" — споделен стил за трите места, откъдето се отваря */
.gpxqr-3d-btn {
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-weight: 700;
  user-select: none;
}

/* ── VR (Cardboard) split-screen режим ── */
.gpxqr-3d-vrwrap {
  display: none;
  position: absolute; inset: 0;
  z-index: 4;
}
.gpxqr-3d-vrwrap.active { display: flex; }
.gpxqr-3d-vr-eye {
  width: 50%; height: 100%;
  overflow: hidden;
}
.gpxqr-3d-vr-divider {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px;
  background: rgba(0,0,0,0.6);
  z-index: 5;
}
.gpxqr-3d-vr-hint {
  display: none;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  background: rgba(0,0,0,0.55);
  padding: 16px 22px;
  border-radius: 12px;
  pointer-events: none;
  line-height: 1.5;
}
