<script>
  import { getSelected, getTotalCount } from './selection.svelte.js';
</script>

<footer class="footer">
  <span>{getSelected().size} / {getTotalCount()} countries visited</span>
</footer>

<style>
  .footer {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 300;
    color: var(--text-sub);
    border-top: 1px solid var(--border);
    background: var(--bg);
    flex-shrink: 0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
</style>
