/* markers-panel.css — styles for markers.js */

/* Ring highlight for a selected special marker */
.special-marker-selected {
  border-radius: 50%;
  box-shadow: 0 0 0 3px #ff3b3b, 0 0 8px rgba(255, 59, 59, 0.85);
  transition: box-shadow 0.15s ease-in-out;
}

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

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

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

#markers-panel-header span { font-weight: bold; font-size: 13px; }

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

#markers-body {
  overflow-y: auto;
  padding: 10px 12px;
}

#markers-body .meta-row { margin-bottom: 6px; }

.marker-toggle-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.marker-toggle-buttons .btn {
  flex: 1;
  text-align: center;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

#selectAllMarkersBtn {
  background-color: #4CAF50; /* Green */
  color: white;
  border: none;
}
#selectAllMarkersBtn:hover {
  background-color: #45a049;
}

#deselectAllMarkersBtn {
  background-color: #f44336; /* Red */
  color: white;
  border: none;
}
#deselectAllMarkersBtn:hover {
  background-color: #da190b;
}

/* Make checkbox rows easier to tap on mobile */
.checkbox-row {
  display: flex;
  align-items: center;
  padding: 6px 0;
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2); /* Slightly larger checkboxes */
}
