/* Critical Loading Styles - Loaded early to prevent FOUC */
/* These styles ensure background matches dark theme to prevent white flash */

body {
  margin: 0;
  padding: 0;
  background: #111827; 
  font-family: sans-serif;
}

#initial-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #111827;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease-out;
}

.spinner {
  width: 64px;
  height: 64px;
  border: 4px solid #374151;
  border-top-color: #EC4899;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.loading-text {
  color: #ffffff;
  font-size: 1rem;
  font-family: system-ui, -apple-system, sans-serif;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link {
  z-index: 10000;
  color: white;
  background: black;
  padding: 10px;
  top: 0;
  position: absolute;
}

.no-js-fallback {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #111827;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
  text-align: center;
}

.no-js-fallback h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.no-js-fallback p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}


