/* Global Loading Indicators & Skeleton Screens removed - using button only */

/* ============================================
   SKELETON SCREENS
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, #1e2329 25%, #2a2d3a 50%, #1e2329 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Skeleton Card */
.skeleton-card {
    background: var(--bs-card-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 100%;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.skeleton-text {
    height: 16px;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-text.title {
    height: 24px;
    width: 80%;
    margin-bottom: 1rem;
}

.skeleton-button {
    height: 40px;
    width: 120px;
    border-radius: 0.375rem;
}

/* Skeleton Table Row */
.skeleton-table-row {
    display: table-row;
}

.skeleton-table-cell {
    display: table-cell;
    padding: 1rem;
}

.skeleton-table-cell .skeleton {
    height: 16px;
    border-radius: 4px;
}

/* ============================================
   INLINE LOADER (for buttons)
   ============================================ */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn-loading span {
    opacity: 0;
}