/**
 * Skeleton Screens CSS – „Greitas Liūtas“
 * Naudojami krovimo būsenoms: shimmer / pulse animacijos
 */

.skeleton {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.04) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 6px;
    min-height: 1em;
}

.skeleton--pulse {
    background: rgba(255, 255, 255, 0.06);
    animation: skeleton-pulse 1.2s ease-in-out infinite;
}

.skeleton--circle {
    border-radius: 50%;
}

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

.skeleton--text:last-child {
    margin-bottom: 0;
    width: 70%;
}

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

@keyframes skeleton-pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Redukuoti animaciją naudotojams, pageidaujantiems mažiau judesio */
@media (prefers-reduced-motion: reduce) {
    .skeleton,
    .skeleton--pulse {
        animation: none;
        background: rgba(255, 255, 255, 0.06);
    }
}
