.list-files-bordered {
  border-radius: 10px;
  border: 1px solid var(--color-primary);
}

.shared-file-icon-wrapper {
  vertical-align: middle;

  svg {
    width: 40px;
    height: 40px;
  }
}

.shared-file-infos-wrapper {
  flex: 1;
  min-width: 0;
  color: var(--color-bold-grey);
  font-size: 12px;
  max-width: 100%;

  h3 a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.shared-file-action-wrapper {
  vertical-align: middle;
  padding: 5px 15px;

  a,
  solid-link,
  solid-delete {
    padding: 5px;
    &::before {
      font-size: 16px;
    }
  }

  solid-delete {
    display: inline-block;
    width: 24px;
    position: relative;
    padding: 13px 5px;

    &::before {
      position: absolute;
      top: 5px;
      right: 5px;
      text-indent: 0;
    }

    button {
      position: absolute;
      right: 5px;
      text-indent: -999em;
      top: 2px;
      padding: 2px 9px;
    }
  }
}

.community-files-edit {
  [name="segment4"] {
    label {
      display: block;
    }
  }

  [name="document"] {
    label {
      display: block;
      padding-bottom: 5px;
    }

    input[type="text"] {
      display: none;
    }
  }
}

.community-files-add {
  [name="document"] {
    label {
      display: block;
      padding-bottom: 5px;
    }
    input[type="text"] {
      display: none;
    }
  }
}
