/* === Skeleton Card === */
.skeleton-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 30px 20px;
    border-radius: 8px;
}

.skeleton-card-heading,
.skeleton-card-box {
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.skeleton-card-heading {
    height: 24px;
    width: 60%;
    margin-bottom: 15px;
}

.skeleton-card-row {
    display: flex;
    gap: 10px;
}

.skeleton-card-box {
    height: 20px;
    flex-grow: 1;
}

.skeleton-card-box-small { width: 25%; }
.skeleton-card-box-medium { width: 50%; }
.skeleton-card-box-large { width: 100%; }

.skeleton-card-heading::before,
.skeleton-card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    animation: skeletonCardLoading 1.5s infinite;
}

@keyframes skeletonCardLoading {
    0% { left: -100%; }
    100% { left: 100%; }
}


/* === Skeleton Block === */
.skeleton-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    background-color: #f4f4f4;
    border-radius: 8px;
}

.skeleton-block-heading,
.skeleton-block-box {
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.skeleton-block-heading {
    height: 24px;
    width: 60%;
    margin-bottom: 15px;
}

.skeleton-block-row {
    display: flex;
    gap: 10px;
}

.skeleton-block-box {
    height: 20px;
    flex-grow: 1;
}

.skeleton-block-box-small { width: 25%; }
.skeleton-block-box-medium { width: 50%; }
.skeleton-block-box-large { width: 100%; }

.skeleton-block-heading::before,
.skeleton-block-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    animation: skeletonBlockLoading 1.5s infinite;
}

@keyframes skeletonBlockLoading {
    0% { left: -100%; }
    100% { left: 100%; }
}


/* === Skeleton Line === */
.skeleton-line-box-large {
    height: 18px;
    width: 100%;
    background-color: #f2f2f2;
    background: linear-gradient(90deg, #f2f2f2 0%, #e8e8e8 80%, #f2f2f2 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.skeleton-line-box-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 80%, rgba(255,255,255,0) 100%);
    animation: skeletonLineLoading 1.5s infinite;
}

@keyframes skeletonLineLoading {
    0% { left: -100%; }
    100% { left: 100%; }
}
