/* Tab Loading States for PublicationProfile */

/* Hide tab content during loading */
.tabs-loading .tab-content .tab-pane:not(.show) {
    display: none !important;
}

/* Disable tab clicks during loading */
.tabs-loading .nav-link:not(.active) {
    pointer-events: none !important;
    opacity: 0.6;
}

/* Show loading overlay */
#tabContentLoadingOverlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#tabContentLoadingOverlay.hidden {
    display: none !important;
}

/* Enable tabs after loading */
.tabs-loaded .nav-link {
    pointer-events: auto !important;
    opacity: 1;
}

/* Individual tab enable/disable */
.nav-link.tabs-enabled {
    pointer-events: auto !important;
    opacity: 1;
}

.nav-link:not(.tabs-enabled):not(.active) {
    pointer-events: none !important;
    opacity: 0.6;
}
