/* Skeleton Post Styles */
.skeleton-post-container {
    background-color: var(--uw-white-1);
    border: 1px solid var(--uw-border-1);
    border-radius: 12px;
    margin-bottom: 16px;
    padding: 16px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-post-layout {
    display: flex;
    gap: 12px;
}

.skeleton-post-profile-column {
    flex-shrink: 0;
}

.skeleton-post-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--uw-border-1) 25%, var(--uw-border-2) 50%, var(--uw-border-1) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-post-content-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-post-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.skeleton-post-username {
    width: 120px;
    height: 16px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--uw-border-1) 25%, var(--uw-border-2) 50%, var(--uw-border-1) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-post-timestamp {
    width: 60px;
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--uw-border-1) 25%, var(--uw-border-2) 50%, var(--uw-border-1) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-post-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 0;
}

.skeleton-post-text-line {
    height: 16px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--uw-border-1) 25%, var(--uw-border-2) 50%, var(--uw-border-1) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-post-text-line-1 {
    width: 100%;
}

.skeleton-post-text-line-2 {
    width: 85%;
}

.skeleton-post-text-line-3 {
    width: 60%;
}

.skeleton-post-actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.skeleton-post-action {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--uw-border-1) 25%, var(--uw-border-2) 50%, var(--uw-border-1) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

/* Shimmer animation */
@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Pulse animation for the container */
@keyframes skeleton-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skeleton-post-container {
        margin-bottom: 12px;
        padding: 12px;
    }
    
    .skeleton-post-layout {
        gap: 8px;
    }
    
    .skeleton-post-profile-pic {
        width: 32px;
        height: 32px;
    }
    
    .skeleton-post-username {
        width: 100px;
        height: 14px;
    }
    
    .skeleton-post-timestamp {
        width: 50px;
        height: 12px;
    }
    
    .skeleton-post-text-line {
        height: 14px;
    }
}
