/* === UkSlacks Print Dialog Styles === */

.pd-root.hidden {
  display: none;
}

.pd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.pd-panel {
  background: #fff;
  width: 420px;
  max-width: 90%;
  padding: 24px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  animation: pd-fadein 0.15s ease-out;
}

@keyframes pd-fadein {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pd-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  opacity: 0.6;
}
.pd-close:hover {
  opacity: 1;
}

.pd-title {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 600;
}

.pd-section {
  margin-bottom: 20px;
}

.pd-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.pd-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.pd-option-block {
  display: none;
  margin-top: 10px;
  padding: 10px;
  background: #f7f7f7;
  border-radius: 6px;
  font-size: 14px;
}

#pdOptionsContainer[data-target="map"]   .pd-option-block[data-for="map"] { display: block; }
#pdOptionsContainer[data-target="map-legend"] .pd-option-block[data-for="map-legend"] { display: block; }
#pdOptionsContainer[data-target="full"]  .pd-option-block[data-for="full"] { display: block; }

.pd-note {
  margin: 0;
  opacity: 0.75;
}

.pd-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.pd-btn {
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.pd-primary {
  background: #0078d4;
  color: white;
}

.pd-secondary {
  background: #e0e0e0;
}

.legend-grid {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}
