/**
 * Weblazer Infinite Scroll Styles
 */

/* ============================================
   INFINITE SCROLL
   ============================================ */

.weblazer-loading-indicator {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  background-color: var(--wp--preset--color--white);
  border-radius: 1rem;
  box-shadow: var(--wp--preset--shadow--shadow-1);
  z-index: 9999;
}

.weblazer-loading-indicator p {
  margin-top: 1rem;
  color: var(--wp--preset--color--custom-text);
  font-weight: 500;
}

.weblazer-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--wp--preset--color--custom-text);
  border-radius: 50%;
  animation: weblazer-spin 1s linear infinite;
}

@keyframes weblazer-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.weblazer-no-more-posts-message,
.weblazer-error-message {
  text-align: center;
  padding: 2rem;
  margin: 2rem 0;
  background-color: var(--wp--preset--color--white);
  border-radius: 1rem;
  box-shadow: var(--wp--preset--shadow--shadow-1);
  color: var(--wp--preset--color--custom-text);
  font-weight: 500;
}

.weblazer-error-message {
  background-color: #ffe6e6;
  color: #d32f2f;
  border: 1px solid #ffcdd2;
}

.weblazer-no-more-posts {
  text-align: center;
  padding: 1rem;
  color: var(--wp--preset--color--custom-text);
  font-style: italic;
  opacity: 0.7;
}

.wp-block-query-pagination {
  display: none !important;
}