.overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--q-bg);
    opacity: 0.5;
    font-size: 2rem;
}

.loader {
    border: 0.5em solid var(--q-theme-light);
    border-top: 0.5em solid var(--q-theme-strong);
    border-radius: 50%;
    width: 3.25em;
    height: 3.25em;
    animation: spin 1.5s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }