/* Minimal CSS to prevent flash while theme loads */
html, body {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  display: flex;
  flex-direction: column;
  background-color: #fafafa;
  transition: background-color 0.3s ease;
}
main {
  flex: 1 0 auto;
}
footer {
  flex-shrink: 0;
}
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #e5e7eb;
  border-radius: 50%;
  border-top-color: var(--primary-color, #6b7280);
  animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Logo styles */
.home_logo {
  height: 3rem;
  width: auto;
  object-fit: contain;
}
