<script setup>
const currentYear = new Date().getFullYear();
const version = __APP_VERSION__;
</script>

<template>
  <footer class="app-footer glass-panel unselectable">
    <div class="footer-content">
      <p>&copy; {{ currentYear }} Tools App. v{{ version }}</p>
    </div>
  </footer>
</template>

<style scoped>
.app-footer {
  width: 100%;
  height: var(--footer-height);
  padding: 0 0.5rem;
  /* Background handled by glass-panel */
  border-left: none;
  border-right: none;
  border-bottom: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  position: fixed;
  bottom: 0;
  left: 0;
}

@media (min-width: 768px) {
  .app-footer {
    position: static;
    margin-top: auto;
  }
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  font-family: monospace;
}
</style>
