/* Shown only until React mounts; replaced when #root hydrates */
@keyframes tj-shimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}

@keyframes tj-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes tj-pulse-logo {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

#app-initial-load {
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(180deg, #f8fafb 0%, #eef2f5 100%);
  display: flex;
  flex-direction: column;
  font-family: Montserrat, system-ui, -apple-system, sans-serif;
}

#app-initial-load .tj-load-header {
  height: 64px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

#app-initial-load .tj-load-logo {
  height: 36px;
  width: auto;
  animation: tj-pulse-logo 1.8s ease-in-out infinite;
}

#app-initial-load .tj-load-nav-shimmer {
  flex: 1;
  max-width: 320px;
  height: 12px;
  margin-left: auto;
  border-radius: 6px;
}

#app-initial-load .tj-load-body {
  flex: 1;
  display: flex;
  gap: 24px;
  padding: 24px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

#app-initial-load .tj-load-sidebar {
  width: 220px;
  flex-shrink: 0;
  display: none;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 1024px) {
  #app-initial-load .tj-load-sidebar {
    display: flex;
  }
}

#app-initial-load .tj-load-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

#app-initial-load .tj-load-hero {
  height: 140px;
  border-radius: 12px;
}

#app-initial-load .tj-load-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

#app-initial-load .tj-load-card {
  height: 120px;
  border-radius: 12px;
}

#app-initial-load .tj-shimmer {
  background: #e5e7eb;
  background-image: linear-gradient(
    90deg,
    #e5e7eb 0%,
    #f3f4f6 20%,
    #e5e7eb 40%,
    #e5e7eb 100%
  );
  background-size: 800px 100%;
  animation: tj-shimmer 1.4s ease-in-out infinite;
}

#app-initial-load .tj-load-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 8px 0 32px;
}

#app-initial-load .tj-load-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 169, 145, 0.2);
  border-top-color: #00a991;
  border-radius: 50%;
  animation: tj-spin 0.85s linear infinite;
}

#app-initial-load .tj-load-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}

/* SEO copy stays in DOM for crawlers; hidden from sighted users */
.seo-crawler-content {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
