/* ── Skeleton Loading Animation ── */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
    display: inline-block;
}

/* Dark mode support */
body.dark-mode .skeleton {
    background: linear-gradient(90deg, #2d2d2d 25%, #3d3d3d 50%, #2d2d2d 75%);
}

/* ── Skeleton Components ── */
.skeleton-text {
    height: 14px;
    width: 100%;
    margin-bottom: 8px;
}

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

.skeleton-card {
    background: var(--white);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid var(--border-grey);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skeleton-card .skeleton-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skeleton-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.skeleton-section-title {
    height: 32px;
    width: 40%;
    margin: 32px 0 24px;
}
