.pmpdrive-documents {
    display: grid;
    gap: .65rem;
}

.pmpdrive-toolbar {
    align-items: end;
    display: grid;
    gap: .5rem;
    grid-template-columns: minmax(14rem, 1fr) auto;
}

.pmpdrive-search-label {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.pmpdrive-search,
.pmpdrive-select {
    font-size: .78rem;
    min-height: 1.85rem;
    padding-bottom: .2rem;
    padding-top: .2rem;
}

.pmpdrive-sort-controls {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: flex-end;
}

.pmpdrive-control {
    display: grid;
    gap: .15rem;
    margin: 0;
}

.pmpdrive-control span {
    color: color-mix(in srgb, currentColor 64%, transparent);
    font-size: .72rem;
    font-weight: 650;
    line-height: 1;
}

.pmpdrive-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
}

.pmpdrive-filter-button {
    background: transparent;
    border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
    color: inherit;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.1;
    padding: .2rem .45rem;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease, transform .16s ease;
}

.pmpdrive-filter-button:hover,
.pmpdrive-filter-button:focus-visible,
.pmpdrive-filter-button.is-active {
    background: #0d6efd;
    border-color: #0d6efd;
    box-shadow: 0 .3rem .75rem rgba(13, 110, 253, .28);
    color: #fff;
    transform: translateY(-1px);
}

.pmpdrive-filter-button:focus-visible {
    outline: 2px solid color-mix(in srgb, #0d6efd 55%, #fff);
    outline-offset: 2px;
}

.pmpdrive-filter-button:active {
    box-shadow: 0 .15rem .35rem rgba(13, 110, 253, .22);
    transform: translateY(0);
}

.pmpdrive-folder {
    border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent);
    padding-bottom: .75rem;
}

.pmpdrive-folder:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pmpdrive-folder-title {
    align-items: center;
    display: flex;
    font-size: .98rem;
    font-weight: 700;
    gap: .45rem;
    letter-spacing: 0;
    margin: 0 0 .45rem;
}

.pmpdrive-lock {
    align-items: center;
    border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
    border-radius: 999px;
    color: color-mix(in srgb, currentColor 62%, transparent);
    display: inline-flex;
    font-size: .68rem;
    font-weight: 650;
    line-height: 1;
    padding: .16rem .42rem;
}

.pmpdrive-restricted-text {
    color: color-mix(in srgb, currentColor 62%, transparent);
    font-size: .82rem;
    line-height: 1.25;
    margin: -.2rem 0 .45rem;
}

.pmpdrive-folder-icon {
    background: #f2b84b;
    border-radius: .18rem .35rem .35rem .35rem;
    display: inline-block;
    height: 1rem;
    position: relative;
    width: 1.35rem;
}

.pmpdrive-folder-icon::before {
    background: #d99f2d;
    border-radius: .18rem .18rem 0 0;
    content: "";
    height: .28rem;
    left: .08rem;
    position: absolute;
    top: -.18rem;
    width: .55rem;
}

.pmpdrive-list {
    display: grid;
    gap: .35rem;
}

.pmpdrive-item {
    align-items: center;
    background: color-mix(in srgb, currentColor 4%, transparent);
    border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
    border-radius: .35rem;
    display: grid;
    gap: .5rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 2.45rem;
    padding: .38rem .5rem;
}

.pmpdrive-pdf-icon {
    align-items: center;
    background: #dc3545;
    border-radius: .25rem;
    color: #fff;
    display: inline-flex;
    font-size: .58rem;
    font-weight: 800;
    height: 1.55rem;
    justify-content: center;
    letter-spacing: 0;
    width: 1.55rem;
}

.pmpdrive-info {
    min-width: 0;
}

.pmpdrive-name {
    color: inherit;
    display: block;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.pmpdrive-name:hover,
.pmpdrive-name:focus {
    text-decoration: underline;
}

.pmpdrive-name.is-disabled {
    cursor: not-allowed;
    text-decoration: none;
}

.pmpdrive-date {
    color: color-mix(in srgb, currentColor 62%, transparent);
    display: block;
    font-size: .75rem;
    line-height: 1.1;
    margin-top: .05rem;
}

.pmpdrive-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .22rem;
    justify-content: flex-end;
}

.pmpdrive-action-button {
    border-radius: .25rem;
    font-size: .68rem;
    line-height: 1;
    min-height: 1.35rem;
    padding: .16rem .34rem;
}

.pmpdrive-action-button:disabled,
.pmpdrive-action-button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 1;
    pointer-events: auto;
}

.pmpdrive-folder.is-locked {
    color: #8a8f98;
    opacity: .6;
}

.pmpdrive-folder.is-locked .pmpdrive-item {
    background: #f7f8f9;
    border-color: #d9dde2;
    cursor: not-allowed;
}

.pmpdrive-folder.is-locked .pmpdrive-pdf-icon {
    background: #aeb4bd;
    color: #f8f9fa;
}

.pmpdrive-folder.is-locked .pmpdrive-name,
.pmpdrive-folder.is-locked .pmpdrive-date {
    color: #8a8f98;
}

.pmpdrive-folder.is-locked .pmpdrive-action-button {
    background: #e3e6ea;
    border-color: #cdd2d8;
    color: #818893;
}

.pmpdrive-folder.is-locked .pmpdrive-action-button:hover,
.pmpdrive-folder.is-locked .pmpdrive-action-button:focus,
.pmpdrive-folder.is-locked .pmpdrive-action-button:active {
    background: #e3e6ea;
    border-color: #cdd2d8;
    box-shadow: none;
    color: #818893;
}

.pmpdrive-empty,
.pmpdrive-no-results {
    color: color-mix(in srgb, currentColor 62%, transparent);
    font-size: .9rem;
    margin: .25rem 0 0;
}

@media (max-width: 575.98px) {
    .pmpdrive-toolbar {
        grid-template-columns: 1fr;
    }

    .pmpdrive-sort-controls {
        justify-content: flex-start;
    }

    .pmpdrive-item {
        align-items: start;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .pmpdrive-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-left: 2.05rem;
    }
}
