.bootcn-skeleton {
  --bootcn-skeleton-bg: var(--bootcn-muted);
  --bootcn-skeleton-duration: 1.6s;

  display: block;
  min-height: 1em;
  border-radius: var(--bootcn-radius);
  background-color: var(--bootcn-skeleton-bg);
  opacity: 1;
  cursor: progress;
  animation: bootcn-skeleton-pulse var(--bootcn-skeleton-duration) ease-in-out infinite;
}

.bootcn-skeleton--text {
  height: 0.875rem;
  min-height: 0;
  margin-bottom: 0.5rem;
}

.bootcn-skeleton--text:last-child {
  margin-bottom: 0;
}

.bootcn-skeleton--circle {
  --bootcn-skeleton-size: 2.5rem;

  width: var(--bootcn-skeleton-size);
  height: var(--bootcn-skeleton-size);
  flex-shrink: 0;
  border-radius: 50%;
}

.bootcn-skeleton--block {
  width: 100%;
  height: 8rem;
  border-radius: var(--bootcn-radius);
}

@keyframes bootcn-skeleton-pulse {
  50% {
    opacity: 0.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bootcn-skeleton {
    animation: none;
  }
}
