.oerv-downloads-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.oerv-downloads-buttons, .oerv-downloads-subbuttons {
    display: grid;
    white-space: nowrap;
    gap: 4px;
}
.oerv-downloads-buttons {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.oerv-downloads-subbuttons {
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
}
.oerv-downloads-button, .oerv-downloads-subbutton {
    font-size: var(--global-font-size-small);
}
.oerv-downloads-button.active, .oerv-downloads-subbutton.active{
    background: var(--global-palette-btn-bg-hover);
}
.oerv-downloads-results {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}
.oerv-downloads-results table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    th {
        text-align: left;
    }
    tbody {
        font-size: var(--global-font-size-small);
        tr:nth-child(2n+0 of tr:not(.oerv-downloads-folder)) {
            background-color: var(--global-palette7);
        }
        tr:nth-child(2n+1 of tr:not(.oerv-downloads-folder)) {
            background-color: var(--global-palette9);
        }
        tr:not(.oerv-downloads-folder):hover {
            filter: brightness(0.9);
        }
        tr th{
            white-space: normal;
            word-break: break-all;
        }
        tr td{
            padding: 2px;
            a {
                display: flex;
                justify-content: center;
                align-items: center;
            }
        }
        tr td:first-child {
            white-space: normal;
            word-break: break-all;
            line-height: calc(1.1 * var(--global-font-size-small));
        }
        tr td:nth-child(2) {
            white-space: break-spaces;
            color: var(--global-palette6);
            font-size: calc(0.9 * var(--global-font-size-small));
        }
    }
}
.oerv-downloads-icon {
    stroke: var(--global-palette1);
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
    fill: none;
}
.oerv-downloads-icon:hover {
    stroke: var(--global-palette3);
}