/* Sidebar-friendly accordion */
.pma-accordion {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    font-family: Arial, sans-serif;
    border: 1px solid #ddd;
    box-sizing: border-box;
    margin: 0;
    padding: 6px;
    overflow-x: auto;
}

.pma-section {
    width: 100% !important;
    box-sizing: border-box;
    margin: 0 0 6px 0;
    padding: 0;
}

.pma-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    box-sizing: border-box;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
}

.pma-toggle, .pma-toggle-empty {
    width: 20px;
    flex-shrink: 0;
    font-weight: bold;
    cursor: pointer;
    margin: 0;
    padding: 0;
    line-height: 1.1;
}

.pma-toggle-empty {
    visibility: hidden;
}

.pma-header, .pma-link {
    display: inline-block;
    flex-grow: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px 6px;
    margin: 0;
    font-size: 14px;
    color: #000;
    text-decoration: none;
}

.pma-content, .pma-child {
    display: none;
    width: 100% !important;
    box-sizing: border-box;
    margin-top: 4px;
    padding-left: 24px;
}

.pma-item {
    display: block;
    margin: 2px 0;
}

.pma-item a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px 0;
    font-size: 13px;
    color: #000;
    text-decoration: none;
}

.pma-accordion, .pma-accordion * {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.pma-accordion ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.pma-header.current, .pma-link.current {
    font-weight: bold;
    color: #0056b3;
}
