<script setup>
</script>

<template>
  <div class="pankow-spinner"></div>
</template>

<style>

.pankow-spinner {
  width: 1em;
  height: 1em;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 50%;
  border-top-color: var(--pankow-text-color);
  border-right-color: var(--pankow-text-color);
  animation: spin 0.8s linear infinite;
  display: inline-flex;
  margin: 0;
}

.pankow-button:not([plain]):not([outline]) .pankow-spinner,
.pankow-button[plain]:hover .pankow-spinner,
.pankow-button[outline]:hover .pankow-spinner {
  border-top-color: white;
  border-right-color: white;
}

.pankow-spinner-large {
  font-size: 40px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

</style>
