/**
 * Co-Authors Plus Loading Animation Styles
 * These styles are loaded in the head to prevent author flash
 */

/*
 * Author Element Visibility Control
 * Hide author elements initially to prevent flash of wrong names
 */

/* Hide author boxes immediately */
/*.tdb-author-name-wrap, .tdb-author-box {
    visibility: hidden !important;
    opacity: 0 !important;
}*/

/* Loading dots animation */
.loading-dots span {
    animation: coauthors-loading-dots 1.4s infinite;
    animation-fill-mode: both;
    display: inline-block;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes coauthors-loading-dots {
    0%, 80%, 100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}

/* Author box loading overlay */
.coauthors-authorbox-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.coauthors-authorbox-loading-overlay span {
    color: #999;
    font-style: italic;
}