/*!
 * @file localtoc_tabs_sync.css
 * @brief Styles for tab-aware localtoc link synchronization in Shibuya theme
 * @details Provides visual feedback for localtoc links that don't have corresponding
 *          anchors in the currently active tab (HAL multi-dice documentation).
 * @author STMicroelectronics
 * @copyright Copyright (c) 2026 STMicroelectronics.
 *            All rights reserved.
 *            This software is licensed under SLA0044 terms that can be found at:
 *            https://www.st.com/SLA0044
 *            or in the LICENSE.md file in the root directory of this software component.
 */

/* Style for links that don't have content available in the current tab */
.localtoc .localtoc-link-unavailable {
    /* Dim the link to indicate it's not available */
    opacity: 0.5;
    /* Add a subtle indicator */
    text-decoration: line-through;
    /* Use default cursor - link is still clickable to show popup message */
    cursor: pointer;
    /* Shibuya theme color variable for weak text */
    color: var(--sy-c-text-weak, rgba(0, 0, 0, 0.54));
}

/* Optional: Add a tooltip-like indicator on hover */
.localtoc .localtoc-link-unavailable::after {
    content: " (not available for this variant)";
    font-size: 0.85em;
    font-style: italic;
    opacity: 0;
    transition: opacity 0.2s;
}

.localtoc .localtoc-link-unavailable:hover::after {
    opacity: 1;
}
