.md-footer__inner:not([hidden]) {
    display: none
}
.figure-custom-class {
    font-size: small; 
    font-weight: bold; 
    margin-left: 140px;
    color: black
}

#back-button-container {
    display: none; /* Hide the button container by default */
}

.back-button {
    padding: 10px 20px;
    background-color: #0078d7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.highlight-dynamic {
    padding: 0 2px;
    border-radius: 3px;
}

/* Light mode styling */
@media (prefers-color-scheme: light) {
    .highlight-dynamic {
        background-color: #fff59d; /* Light yellow */
        color: #000; /* Black text */
    }
}

/* Dark mode styling */
@media (prefers-color-scheme: dark) {
    .highlight-dynamic {
        background-color: #ffcc80; /* Soft orange */
        color: #000; /* Black text */
    }
}

/* Configuration Properties table styling - target by heading ID */
h2#configuration-properties + table {
    table-layout: fixed;
    width: 100%;
    font-size: 0.9rem;
}

h2#configuration-properties + table th:first-child,
h2#configuration-properties + table td:first-child {
    width: 35%;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.3;
    padding: 0.5rem 0.3rem;
}

h2#configuration-properties + table th:nth-child(2),
h2#configuration-properties + table td:nth-child(2) {
    width: 15%;
}

h2#configuration-properties + table th:nth-child(3),
h2#configuration-properties + table td:nth-child(3) {
    width: 35%;
}

h2#configuration-properties + table th:nth-child(4),
h2#configuration-properties + table td:nth-child(4) {
    width: 8%;
}

h2#configuration-properties + table th:nth-child(5),
h2#configuration-properties + table td:nth-child(5) {
    width: 7%;
}

/* Release notes: hidden plaintext for Material tables.filter / search (badges stay as images) */
.release-applicability-cell {
    position: relative;
}
.release-applicability-md-filter-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Release notes: filter bar */
.release-filters-container {
    margin-bottom: 0.75rem;
}
.release-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.release-filter-btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    position: relative;
}
/* Custom tooltip so alt text appears on hover (native title can be suppressed by theme) */
.release-filter-btn[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0.35rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
    font-weight: normal;
    white-space: nowrap;
    color: var(--md-default-bg-color, #fff);
    background: var(--md-default-fg-color, #333);
    border-radius: 4px;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.release-filter-btn[data-tooltip]:hover::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0.1rem;
    border: 5px solid transparent;
    border-top-color: var(--md-default-fg-color, #333);
    pointer-events: none;
    z-index: 101;
}

/* Release notes: collapsible year headers */
.release-year-header {
    font-weight: 600;
    cursor: pointer;
    background: var(--md-default-fg-color--lightest, #e8e8e8);
}
.release-year-header:hover {
    background: var(--md-default-fg-color--light, #ccc);
}
.release-year-icon {
    display: inline-block;
    margin-right: 0.25rem;
}

/* Release notes: EOL rows (past end of support) – light grey */
tr[data-release-row][data-eos-passed="true"] {
    background-color: var(--md-default-fg-color--lightest, #e8e8e8);
}
tr[data-release-row][data-eos-passed="true"] td {
    color: var(--md-default-fg-color--light, #666);
}

