/* ── GeoJSON Field Mapping Modal ─────────────────── */

.geojson-modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  pointer-events: auto;
}

.geojson-modal-box {
  background: var(--bg-confirm-box);
  border: 1px solid var(--border-confirm);
  border-radius: 6px;
  padding: 22px 26px;
  width: min(520px, 92vw);
  box-shadow: var(--shadow-confirm);
}

.geojson-prop-list {
  max-height: 220px;
  overflow-y: auto;
  margin: 0 -4px;
  padding: 0 4px;
}

.geojson-modal-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-bright);
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.geojson-modal-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.geojson-modal-section {
  margin-bottom: 14px;
}

.geojson-modal-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-label);
  margin-bottom: 8px;
}

.geojson-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 10px;
  color: var(--text-faint);
}

.geojson-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.geojson-field-label {
  font-size: 12px;
  color: var(--text-secondary);
  flex: 1;
  min-width: 0;
}

.geojson-field-select {
  flex: 0 0 190px;
  max-width: 190px;
  background: var(--bg-panel);
  border: 1px solid var(--border-btn);
  border-radius: 3px;
  color: var(--text-bright);
  font-size: 12px;
  padding: 4px 6px;
  font-family: inherit;
}

.geojson-field-select:focus {
  outline: none;
  border-color: var(--border-btn-hover);
}

.geojson-modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.geojson-modal-btn {
  padding: 6px 16px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}

.geojson-btn-cancel {
  background: transparent;
  color: var(--text-muted);
  margin-right: auto;
}

.geojson-btn-cancel:hover {
  color: var(--text-secondary);
}

.geojson-btn-skip {
  background: var(--bg-cancel-btn);
  color: var(--text-label);
  border: 1px solid var(--border-btn);
}

.geojson-btn-skip:hover {
  background: var(--bg-cancel-btn-hover);
  color: var(--text-bright);
}

.geojson-btn-load {
  background: var(--accent-green);
  color: #fff;
}

.geojson-btn-load:hover {
  opacity: 0.85;
}
