/* Modernize Documentation UI */

/* 1. Active Menu Item Highlight */
.md-tabs__item--active .md-tabs__link {
    font-weight: 700;
    border-bottom: 2px solid currentcolor;
    transition: all 0.2s ease;
}

/* 2. Smooth Transitions */
a,
.md-button {
    transition: all 0.2s ease-in-out;
}

/* 3. Modern Scrollbars (WebKit) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--md-default-fg-color--lighter);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--md-default-fg-color--light);
}

/* 4. Admonition Tweaks */
.md-typeset .admonition,
.md-typeset details {
    border-radius: 4px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

/* 5. Code Block Polish */
.md-typeset pre>code {
    font-variant-ligatures: none;
}

/* 6. Table Polish */
/* Prevent wrapping of code identifiers in the first column of tables */
.md-typeset table td:first-child code {
    white-space: nowrap;
}