// DOM Helper Functions - Shared across all pages

function safeGetElement(id) {
  const element = document.getElementById(id);
  if (!element) {
  }
  return element;
}

function safeQuerySelector(selector) {
  const element = document.querySelector(selector);
  if (!element) {
  }
  return element;
}

function safeQuerySelectorAll(selector) {
  const elements = document.querySelectorAll(selector);
  if (!elements || elements.length === 0) {
  }
  return elements;
}
