/* File: app/static/css/overlay-panel.css */

#overlay-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 280px;
  background: #1e1e1e;
  color: #ccc;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.5);
}

#overlay-panel.visible {
  transform: translateX(0);
}

#overlay-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #333;
  border-bottom: 1px solid #555;
  flex-shrink: 0;
}

#overlay-panel-header span {
  font-size: 14px;
  font-weight: bold;
  color: #eee;
}

#overlay-panel-close {
  background: none;
  border: none;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
}
#overlay-panel-close:hover { color: #fff; }

#overlay-body {
  overflow-y: auto;
  flex: 1;
  padding: 10px 12px;
}

/* Reuse the same section-label, overlay-row, overlay-swatch
   classes already defined — nothing extra needed if those are
   in a shared stylesheet. If overlay-panel.css is standalone,
   include these: */

.overlay-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  font-size: 13px;
  color: #ccc;
}

.overlay-row label { cursor: pointer; }

.overlay-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}


/* CSS - only the scale, NO overflow rules anywhere */
.satellite-tiles,
.topo-tiles {
  /* removed transform: scale() — canvas overdraw handles seams */
  /*  transform: scale(1.01); */  
  /*  transform-origin: 0 0; */  /* scale from top-left, not center */
}

