.pdvs-map-wrap {
  margin: 1rem 0;
}

.pdvs-map-form {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.pdvs-map-form input[type="text"] {
  flex: 1 1 auto;
  min-width: 220px;
  padding: 10px 12px;
}

.pdvs-map-form button {
  padding: 10px 14px;
  cursor: pointer;
}

.pdvs-map-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 12px;
}

.pdvs-map-canvas-wrap {
  position: relative;
}

.pdvs-map-canvas {
  width: 100%;
  min-height: 220px;
  border: 1px solid #ddd;
}

.pdvs-map-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
}

.pdvs-map-loading.is-active {
  opacity: 1;
  visibility: visible;
}

.pdvs-map-spinner {
  width: 36px;
  height: 36px;
  border: 4px solid #ccc;
  border-top-color: #d62828;
  border-radius: 50%;
  animation: pdvs-map-spin 0.8s linear infinite;
}

@keyframes pdvs-map-spin {
  to {
    transform: rotate(360deg);
  }
}

.pdvs-map-list {
  border: 1px solid #ddd;
  background: #fff;
  max-height: 520px;
  overflow: auto;
  padding: 10px;
}

.pdvs-map-list-item {
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}

.pdvs-map-list-item h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.pdvs-map-list-item p {
  margin: 0 0 3px;
  font-size: 13px;
}

.pdvs-map-empty {
  font-size: 13px;
  color: #666;
}

.pdvs-map-popup {
  line-height: 1.4;
}

@media (max-width: 900px) {
  .pdvs-map-layout {
    grid-template-columns: 1fr;
  }

  .pdvs-map-list {
    max-height: none;
  }
}

