/* Modern Map Pan & Zoom Viewer Styles */
.map-viewer-container {
  position: relative;
  background: #0f172a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  user-select: none;
}

.map-viewer-viewport {
  width: 100%;
  height: 580px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 20px 20px;
}



.map-viewer-image {
  transform-origin: center center;
  transition: transform 0.05s ease-out;
  max-width: 100%;
  max-height: 100%;
  display: block;
  pointer-events: auto;
}

/* Controls Toolbar */
.map-viewer-toolbar {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.map-ctrl-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.map-ctrl-btn:hover {
  background: var(--brand-saffron);
  transform: scale(1.1);
}

.map-download-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-saffron);
  color: #ffffff;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
  transition: all var(--transition-fast);
}

.download-btn:hover {
  background: var(--brand-saffron-dark);
  transform: translateY(-2px);
}
