/**
 * View Transitions CSS
 * Smooth transitions for SPA view changes
 * Requirement 8.3
 */

/* View container - no transitions, instant swap */
#app {
  opacity: 1;
}

/* Skeleton loader styles */
.skeleton {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 0.5rem;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
}

.skeleton-title {
  height: 2rem;
  width: 60%;
  margin-bottom: 1rem;
}

.skeleton-card {
  height: 200px;
  width: 100%;
}

.skeleton-circle {
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
    background: #1a1a1a;
  }
}

