.acf-browser {
    border: 1px solid #d9dce3;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    font-family: inherit;
}

.acf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid #eceff4;
}

.acf-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
}

.acf-search {
    max-width: 280px;
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ccd2dc;
    border-radius: 8px;
}

.acf-breadcrumbs {
    padding: 10px 16px;
    border-bottom: 1px solid #eceff4;
    font-size: 14px;
}

.acf-crumb {
    border: 0;
    background: transparent;
    padding: 2px 4px;
    cursor: pointer;
    color: #1f5fbf;
    font: inherit;
}

.acf-crumb:hover {
    text-decoration: underline;
}

.acf-crumb-sep {
    color: #777;
    margin: 0 3px;
}

.acf-status {
    padding: 18px 16px;
    color: #667085;
}

.acf-list {
    max-height: var(--acf-height, 520px);
    overflow: auto;
}

.acf-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 16px;
    border-top: 1px solid #f0f2f5;
}

.acf-row:first-child {
    border-top: 0;
}

.acf-file-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.acf-icon {
    flex: 0 0 auto;
    font-size: 20px;
}

.acf-file-text {
    min-width: 0;
}

.acf-file-name {
    font-weight: 600;
    word-break: break-word;
}

.acf-file-meta {
    margin-top: 3px;
    font-size: 13px;
    color: #667085;
}

.acf-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.acf-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid #1f5fbf;
    border-radius: 6px;
    background: #1f5fbf;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
}

.acf-action:hover,
.acf-action:focus {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
}

.acf-action-secondary {
    background: #fff;
    color: #1f5fbf;
}

.acf-action-secondary:hover,
.acf-action-secondary:focus {
    color: #1f5fbf;
}

@media (max-width: 640px) {
    .acf-header,
    .acf-row {
        align-items: stretch;
        flex-direction: column;
    }

    .acf-search {
        max-width: none;
    }

    .acf-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}
