/* Bed file contents positioned above TOC */
.fixed-bed-files {
    background: var(--md-default-bg-color);
    border: 2px solid var(--md-primary-fg-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: var(--md-code-font);
    font-size: 12px;
}

/* Position the bed files in the secondary sidebar above TOC */
.md-sidebar--secondary .md-sidebar__scrollwrap {
    display: flex;
    flex-direction: column;
}

.md-sidebar--secondary .fixed-bed-files {
    order: -1;
}

/* Bed file section styling */
.fixed-bed-files h4 {
    margin: 0 0 8px 0;
    color: var(--md-primary-fg-color);
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid var(--md-primary-fg-color);
    padding-bottom: 4px;
}

.fixed-bed-files pre {
    background: var(--md-code-bg-color);
    border: 1px solid var(--md-default-fg-color--lightest);
    border-radius: 4px;
    padding: 8px;
    margin: 5px 0 15px 0;
    font-size: 11px;
    line-height: 1.3;
    color: var(--md-code-fg-color);
    overflow-x: auto;
}

.fixed-bed-files .file-section:last-child {
    margin-bottom: 0;
}

/* Hide on smaller screens */
@media screen and (max-width: 1220px) {
    .fixed-bed-files {
        display: none;
    }
}

.section-title {
    font-weight: bold;
    color: #ffffff !important;
}