/* Skeleton loader base styles */
.skeleton {
    background-color: #e0e0e0;
    border-radius: 4px;
    width: 100%;
    height: 1.5rem;
    margin: 0.5rem 0;
    position: relative;
    overflow: hidden;
}

    /* The animated gradient for the shimmer effect */
    .skeleton::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: -150px;
        height: 100%;
        width: 150px;
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
        animation: shimmer 1.5s infinite;
    }

/* Shimmer animation */
@keyframes shimmer {
    0% {
        left: -150px;
    }

    100% {
        left: 100%;
    }
}

.skeleton-text {
    width: 100%;
    height: 1.2rem;
    margin-bottom: 0.5rem;
}

.skeleton-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.skeleton-avatar-sqr {
    width: 100px;
    height: 100px;
    border-radius: 10%;
    margin-bottom: 1rem;
}

.skeleton-line {
    width: 70%;
    height: 1rem;
    margin-bottom: 1rem;
}
