.sgdl {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.sgdl__file-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sgdl__file-item,
.sgdl__empty {
  margin: 0;
  padding: 0;
  border-top: 1px solid #f1f5f9;
}

.sgdl__file-item:first-child,
.sgdl__empty:first-child {
  border-top: 0;
}

.sgdl__file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 3px;
  transition: background-color .12s ease;
}

.sgdl__file-item:hover,
.sgdl__file-item:focus-within {
  background: #f2f2f2;
}

.sgdl__file-link {
  display: inline-block;
  flex: 1 1 auto;
  min-width: 0;
  padding: 4px 0;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.sgdl__file-link:hover,
.sgdl__file-link:focus {
  text-decoration: none;
}

.sgdl__type-icon {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  line-height: 1;
}

.sgdl__type-icon svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.sgdl__folder-link {
  font-weight: 600;
}

.sgdl__empty {
  padding: 10px 8px;
}

.sgdl__muted {
  color: #6b7280;
}

.sgdl__error {
  list-style: none;
  padding: 10px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  border-radius: 8px;
  color: #991b1b;
}
