/* Global Skeleton Loader Styles */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

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

/* Card Skeleton Styles */
.skeleton-card {
    width: 100%;
    height: 280px;
    background-color: #f5f5f5;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.skeleton-card-img {
    width: 100%;
    height: 180px;
    border-radius: 12px 12px 0 0;
}

.skeleton-card-body {
    padding: 15px;
}

.skeleton-card-title {
    height: 20px;
    width: 70%;
    margin-bottom: 10px;
}

.skeleton-card-text {
    height: 14px;
    width: 90%;
    margin-bottom: 8px;
}

.skeleton-card-text-short {
    height: 14px;
    width: 50%;
}

/* Carousel Skeleton Styles */
.skeleton-carousel-cell {
    width: 100%;
    height: 280px;
    background-color: #f5f5f5;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 0 10px;
}

.skeleton-carousel-img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.skeleton-carousel-text-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0.2) 100%);
    padding: 20px;
    min-height: 90px;
    display: flex;
    align-items: center;
}

.skeleton-carousel-title {
    height: 20px;
    width: 70%;
    border-radius: 4px;
}

/* Table Skeleton Styles */
.skeleton-table-row td {
    padding: 15px 8px;
}

.skeleton-table-icon {
    width: 25px;
    height: 25px;
    border-radius: 4px;
}

.skeleton-table-img {
    width: 100px;
    height: 56px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.skeleton-table-img-small {
    width: 80px;
    height: 60px;
    border-radius: 4px;
}

.skeleton-table-img-wide {
    width: 100%;
    height: 70px;
    border-radius: 4px;
}

.skeleton-table-title {
    height: 16px;
    width: 60%;
    margin-bottom: 8px;
}

.skeleton-table-text {
    height: 14px;
    width: 40%;
}

.skeleton-profile-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin: 0 auto;
}

/* Category Title Skeleton */
.skeleton-category-title {
    height: 32px;
    width: 250px;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* Dashboard Specific Styles */
.skeleton-dashboard-row td {
    padding: 15px 8px;
}

.skeleton-dashboard-img {
    width: 80px;
    height: 60px;
    border-radius: 4px;
}

.skeleton-dashboard-img-wide {
    width: 100%;
    height: 70px;
    border-radius: 4px;
}

.skeleton-dashboard-title {
    height: 20px;
    width: 70%;
    margin-bottom: 8px;
}

.skeleton-dashboard-text {
    height: 14px;
    width: 50%;
}

.skeleton-dashboard-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

/* Software Page Specific Styles */
.skeleton-software-row td {
    padding: 15px 8px;
}

.skeleton-software-img {
    width: 80px;
    height: 60px;
    border-radius: 4px;
}

.skeleton-software-title {
    height: 20px;
    width: 70%;
    margin-bottom: 8px;
}

.skeleton-software-text {
    height: 14px;
    width: 50%;
}

.skeleton-software-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}
