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

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

<style scoped>
.app-footer {
  width: 100%;
  padding: 1rem;
  background-color: #242424;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto; /* Push to bottom in flex container */
}

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

p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-family: monospace;
}
</style>
