/*
 *  DEPRECATED
 *  until maybe reimplemented later
 *  (needs JS-handled search results)
 */

.tb-search-result-list-load-skeleton {
    display: none;
}

.tb-search-result-list-load-skeleton__item:not(:last-child) {
    border-bottom: 1px solid theme('colors.gray.200');
}

.tb-search-result-list-load-skeleton__line,
.tb-search-result-list-load-skeleton__avatar {
    animation-name: shimmer;
    animation-iteration-count: infinite;
    animation-timing-function: linear;

    // Use a generic color that works with all body background colors.
    background-color: rgba(0, 0, 0, .07);
}

.tb-search-result-list-load-skeleton__line {
    animation-duration: 5s;
}

.tb-search-result-list-load-skeleton__avatar {
    animation-duration: 10s;
}

[data-toubiz-results-loading=true] {
    .tb-search-result-list-load-skeleton,
    .tb-search-result-list-load-skeleton__item {
        display: block;
    }

    .tb-search-result-list__item {
        display: none;
    }
}
