.fi-ta-select {
    @apply w-full min-w-48;

    .fi-ta-content-loading > .fi-ta-content &,
    .fi-ta-content-loading > .fi-ta-table > .fi-ta-records > .fi-ta-row & {
        @apply relative w-fit max-w-full text-transparent;

        &::after {
            @apply absolute inset-x-3 inset-y-4;
            animation: var(--loading-skeleton-animation);
            background-color: var(--loading-skeleton-background-color);
            border-radius: var(--loading-skeleton-border-radius);
            content: '';
        }

        &.fi-inline::after {
            @apply inset-0;
        }

        .fi-ta-table-stacked-on-mobile &::after {
            @apply inset-0 sm:inset-x-3 sm:inset-y-4;
        }

        & > * {
            @apply opacity-0;
        }
    }

    &:not(.fi-inline) {
        @apply px-3 py-4;
    }

    .fi-ta-table-stacked-on-mobile & {
        @apply p-0 sm:px-3 sm:py-4;
    }
}
